-
I'm trying to send a VOUT command out(ch,v), but with a 0-5V output inverse to the Event value, where v (voltage out) = 5-E (Event Value). In case anyone is wondering what my application is, I need to control a 2-wire DC motor, which can not be driven with PWM. The voltage controlled dc-dc regulator board I'm using as an interface (between Phidgets OUT1000 and the device) has 0-5V control input inversely proportional to the output. If this does not work, I'm going to have to figure out how to filter PWM output of a DCC1002, in order to get to acceptable ripple for the motor. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Works for me using the current Artisan v2.4.4. Set the slider to min=0, max=5 and use VOUT Command action with Command "out(0,5-{})" (offset=0, factor=1). Put the slider to 5 and the output is 0V, put the slider to 0 and the output is 5V. The command processing of sliders is the same as for buttons. Same code is used. |
Beta Was this translation helpful? Give feedback.
Works for me using the current Artisan v2.4.4. Set the slider to min=0, max=5 and use VOUT Command action with Command "out(0,5-{})" (offset=0, factor=1). Put the slider to 5 and the output is 0V, put the slider to 0 and the output is 5V. The command processing of sliders is the same as for buttons. Same code is used.