Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to generate a pulse train (pulse width is 200µs ) of 60Hz signal using 6527 board

<meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><meta name="GENERATOR" content="OpenOffice.org 2.0 (Linux)"><meta name="AUTHOR" content="Brenda Bai"><meta name="CREATED" content="20061103;8503100"><meta name="CHANGED" content="16010101;0">

Dear All
I am trying to get a pulse train ( pulse width is 200µs ) 0f 6oHz and output through 6527 digital output port. I use LabView graphical language to generate this signal and display it from waveform graph. But when I measure the signal from 6527 output port, the pulse width and period are much larger than what I expected. Can anybody tell me why? Thanks.

0 Kudos
Message 1 of 2
(3,171 Views)
Hey Brenda,

So you're trying to emit a 200us pulse every .01666 seconds (60Hz)?  It would be ideal to use a counter to get accurate timing, but the 6527 doesn't have any counters on board, so you'll have to do it with software timing.  It's not going to be easy or as accurate without hardware timing.  If you have an external clock you could use that, but without one you'll have to use a combination of while loops and programatic delays between on-demand one sample outputs.  It won't be pretty, and you'll have a lot of trouble getting an accurate 200us pulse.  Any system delay in Windows can affect this result.

I'm sorry I can't offer you a better solution, but I hope this helps a little.

Good luck!

Elijah Kerry
NI Director, Software Community
0 Kudos
Message 2 of 2
(3,142 Views)