Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I take data simultaneously from a PCI-GPIB card and an IMAQ PCI-1409 card?

I have a PCI-GPIB card and an IMAQ PCI-1409 card in the same computer. The IMAQ card is triggered by an external trigger. I want to take data from both cards at the same time when the IMAQ card receives its trigger. This data needs to be taken in as close to real time as possible because each sample from the two is to be compared. I was thinking of some sort of threaded solution, in which I would read from both cards at the same time when I saw the trigger. Is what I want to do feasible? Could someone suggest a better solution to the problem? Thanks in advance to all that answer.
0 Kudos
Message 1 of 2
(2,834 Views)
You could perform this operation in seperate threads that would execute when the IMAQ board is triggered and get a reading from the GPIB device that was relatively at the same time. However, because you have to send a command to the GPIB device and then wait for it to respond, the accuracy depends not only on the software latency of your computer but all to speed at which your instrument can respond. The best solution would be if you could trigger your GPIB instrument along with the the IMAQ.

Regards,

JR A.
Application Engineer
National Instruments
0 Kudos
Message 2 of 2
(2,834 Views)