Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How to I Produce Serial Data Stream Using DIO Channel

I would like to output to a "serial to parallel" circuit (74HC194 (Universal Shift Register IC)circuit) for the purposes of increasing my digital I/O off of my DAQPad-6020E. Does anybody have an example of outputting a data stream (both a clock and a "data out" stream)? All I would need is a clock edge after every output bit, but since I am new to producing vi's, I was hoping that someone would be able to give an example of an approach to take.
The closest thread I found on the message board was a request to produce a PWM signal. My signal does not have to be that precise since I will be latching every new data bit with an independent clock edge.
Thanks to anyone out there considering this problem.
ThisRock
0 Kudos
Message 1 of 2
(3,064 Views)
Hello,

Because the DAQPad-6020E does not have hardware timed DIO, you will be forced to output software timed digital data. Are you using LabVIEW 7.1? If so, one approach would be to generate an output counter pulse and use that to time a Timed Loop in LabVIEW. That way, for every output pulse of the counter, the timed loop would iterate. If you place your digital write VIs in that loop, you will output a digital value for every rising/falling edge of the counter output.

Does this answer your question? If not, please give a little more detail about the Universal Shift Register IC and what it would require from your DO lines.

Regards,
Sean C.
Message 2 of 2
(3,056 Views)