LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Using 6534 PCI card w/ DAQmx in CVI

Hello all,

I am trying to use the 6534 PCI card to read in digital values for my application. What I need to be able to do is use two triggers, one as a byteReady signal and the other as a framesync signal. The bytes that come in represent the high and low byte of a 16 bit value and the framesync signal will notify me that all the data for that frame has been sent and to start the next frame's data reads. I must read the data a byte at a time because it comes off of an ADC in that fashion. The number of bytes that must be read is a finite value so if I am going about this in the wrong way, please show me the light. Does anyone know of a way to use two triggers for this type of data acquisiton? Or is there a way to set up a trigger as a callback in LW/CVI so that I could use the framesync signal to enter into a loop to read the digital data with the byteReady signal as a single trigger? thanks
0 Kudos
Message 1 of 2
(2,825 Views)
One of the asynchronous handshaking protocols described in the 653x User Manual should work for this application. All the protocols use two lines (ACK and REQ) to coordinate data transfer.

There are 5 protocols available for the card; however only one of them (8255 Emulation) is currently available using the DAQmx driver. If this protocol is less appropriate than one of the others, could you consider programming in the Traditional NI-DAQ driver?
David Staab, CLA
Staff Systems Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,804 Views)