LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reversing the voltage source

hello,

below is the program i am working on,which sources the voltage from 1vto -1v.

i want to reverse it(i.e. -1v to 1v)

please help me where should i do the modification without much hassle.

thanks

 

0 Kudos
Message 1 of 3
(2,107 Views)

Hi jyot,

 

below is the program i am working on

Clean up. Really.

 

which sources the voltage from 1vto -1v. i want to reverse it(i.e. -1v to 1v)

Just swap the values for "initial voltage" and "final voltage" and negate the difference…

(Hint: Use the Ramp function to create an array of voltage setpoints and autoindex it with your FOR loop. No need to do calculation in the loop.)

Btw. SI unit for voltages is a capital V.

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,092 Views)

@GerdW wrote:

Hi jyot,

 

below is the program i am working on

Clean up. Really.

 

which sources the voltage from 1vto -1v. i want to reverse it(i.e. -1v to 1v)

Just swap the values for "initial voltage" and "final voltage" and negate the difference…

(Hint: Use the Ramp function to create an array of voltage setpoints and autoindex it with your FOR loop. No need to do calculation in the loop.)

Btw. SI unit for voltages is a capital V.


As long as we're on the topic of formatting with SI units, the value should be separated from the unit with a space.  e.g., 1.5 MHz.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 3 of 3
(2,057 Views)