Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

how to generate 200us of 60Hz pulse train using USB 6259

Hi
 
I am new to LabView. I have LabView 8.2 and DAQmx 8.3, and I want to generate a 200us (rising time is 15ns) of 60Hz pulse train using USB 6259 for my testing work ASAP. I tried to run an example Write Dig Chan-Ext Clk.vi, but I got an error (error code:200560). I also tried to modify another example Write Dig Chan.vi, but when I chang the constant data to a Simulated Signal.vi(square), I can not find proper DAMmx write.vi  to mach the data type coming from Simulated Signal.vi. Can you gave me an example that I can follow to finish my application. Thanks.  
0 Kudos
Message 1 of 2
(3,286 Views)

I’m not sure I understand your application.  What do you mean by “generate a 200us (rising time is 15ns) of 60Hz pulse train”?  Do you want to generate a 60Hz pulse train or a pulse train with period measurements of 200us (microseconds) per cycle?

 

If you’re just generating a square wave, I’d recommend using counters to perform this function, especially since your M Series board supports them.  There are a lot of excellent counter examples in the LabVIEW Help. 

 

However, if you need to use a digital line, you can find a lot of signal generation VI’s (rather than using the Simulate Signal Express VI) in the following Functions palette on the block diagram:

Signal Processing >> Signal Generation

 

Hope this helps!

 

Ed W.

0 Kudos
Message 2 of 2
(3,264 Views)