Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Potentiometer
John Fields
Hello,
I'd like to simulate a 500 ohm pot by using a voltage divider: (View using a fixed-pitch font) CW | [Ra] | +---COM | [Rb] | CCW and stepping Ra from 499 ohms to 1 ohm in one ohm steps while simultaneously stepping Rb from one ohm to 499 ohms in one ohm steps. I tried .STEP PARAM {Rx} 1 499 1 for the ascending resistance, and that works, but for the descending: .STEP PARAM {Rx} 499 1 -1 doesn't work. Matter of fact, it gives me the same result as the ascending! Help, please? -- JF |
Ganesan
I tried
toggle quoted message
Show quoted text
.step param r1 490 10 -10 and R2 set to {500 - {r1}} output seems to be all-right... cheers AG On 9/14/2011 12:06 PM, John Fields wrote:
|
It seems obvious to me that the results are the same.
toggle quoted message
Show quoted text
I think that in order to achove what you have in mind Ra should be {Rx} and Rb should be {500-Rx} You need only one .step and you do not need braces in the .step John Fields wrote:
|
John Fields
On Wed, 14 Sep 2011 12:06:39 -0500, you wrote:
Hello,--- Ganesan, E.A.Neonakis: Thanks, it worked. :-) -- JF |
to navigate to use esc to dismiss