LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PWM on USB 6008

I want to generate 50 Hz PWM wave on USB 6008.
How can i do it?
Elad
 
0 Kudos
Message 1 of 4
(3,650 Views)
To create a pulse train output with the USB-6008/9, you will have to write a series of high and low values to one of the digital lines.  The digital lines on the USB-6008/9 are all software timed, so you will have to control the timing in software (LabVIEW presumably) in a loop with a wait function.  Take a look at the digital output examples in LabVIEW.  Go to Help>>Find Examples, then navigate to Hardware Input and Output>>DAQmx>>Digital Generation, then perhaps an example like "Write Dig Chan.vi".
Hope this helps.
-Alan A.
0 Kudos
Message 2 of 4
(3,621 Views)

Does not USB-6008 have two (2) AOs? How about using them to create the pulse trains (like on the PCI MIO boards)?

Could you please let us know how it works out?

Thanks!

0 Kudos
Message 3 of 4
(3,585 Views)
Hello,
According to the USB-600x Data Sheet, the maximum analog output update rate is 150Hz, and it is all software timed.  So, you could use this to create a pulse train output, but it wouldn't be very fast, and only as accurate (in time) as your OS will allow. 
-Alan A.
0 Kudos
Message 4 of 4
(3,558 Views)