Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

I can send a continuous voltage but how can send it with a variable duration

I am trying to send a pulse to drive a motor.  There is a pulse option in labwindows but its only TTL and I need a variable voltage.  I can send the voltage that I want but it is continuous and not a pulse.  I tried to do the for loop and the delay time but it didn't work.  I think it is because there are two different callbacks for the parameters voltage and time since the input values is controlled on the panel.

I hope you can help.

Thank You,
Jemellie Galang
0 Kudos
Message 1 of 2
(2,914 Views)

Hi,

Before helping you with this issue I need to know some information, since you will need an analog output to generate a variable pulse, does your card has one? Which card do you have? Are you running you own code are you starting from one of our shipped example? And if you do which one?

If you are trying to generate a variable pulse in Lab Windows I would take a look at the shipped examples: NI-DAQmx Shipping Examples in LabWindows/CVI and open “ContGen-IntClk.prj”

Let me know if it helps

Jaime Hoffiz
National Instruments
Product Expert
0 Kudos
Message 2 of 2
(2,894 Views)