Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating a timed DC voltage

Dear all,

               I would like to generate a DC voltage to drive a PZT actuator to move a mirror few microns, but need to increase voltage for every 40ms (say initially 1V after 40ms would like to generate 2V) . I came across an example of generating analog DC voltage. I have attached here the example vi.

 

Please kindly help me. Thanks in advance.

 

Visu

0 Kudos
Message 1 of 2
(2,746 Views)

Hello Visu,

 

If you have a pre-defined set of values that you need to output, you can just define an array and write on a for loop timed for 40 ms on each iteration. If you are going to drive it on demand, you just need a while loop and change a numeric control.

 

Voltage - On Demand Output Finite.png

 

Voltage - On Demand Output Finite.png

Regards,
Daniel REDS
RF Systems Engineer

Help us grow.
If a post solves your question, mark it as The Solution.
If a post helps, give Kudos to it.
0 Kudos
Message 2 of 2
(2,728 Views)