LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI USB-6008 DAQ question

I have run into a bit of a problem, or at least I think its a problem. I am using a USB-6008 Daq and LabVIEW 8 fyi.
 
I am building a program which will output a voltage for a set amount of time, and then no output for a set amount of time, and then output again, so on and so forth. Is the "while loop" with a "Wait until next ms" combo the best route to go for this?
 
With the current setup, I am using an external multimeter to measure the current/voltage during these times. However, it seems as if the current/voltage never shut off. Am I perhaps doing something wrong?
 
Thanks in advance!
 
p.s. I have attached a picture of what I am working with so far.
0 Kudos
Message 1 of 3
(2,921 Views)
Look at your program again. It is working just as you wrote it. You want the output to go to zero, but where in the program do you tell the output to go to zero? As a test make a boolean LED turn on and off. Then it is the same principle for your output signal.
0 Kudos
Message 2 of 3
(2,902 Views)
Here is an example I just made that should help you out.
0 Kudos
Message 3 of 3
(2,889 Views)