Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

IMAQ 1394 and DAQ

I try to record some images with IMAQ 1394 and at the same time to acquire some data from a 6062E DAQ. I use a buffered data acquisition with a code similar to this one used in "Cont Acq&Chart (buffered)" but I have some trouble to retrieve the data (NaN values!).

Could you help me ?
Thanks
0 Kudos
Message 1 of 3
(3,191 Views)
Midge,

That's very strange that you would be receiving Not-a-Number as data from your acquisition. I would first start by turning off the IMAQ acquisition and just try to run the "ContAcq&Chart(buffered).vi" example unmodified. With the unmodified example your data should be fine and you should not be receiving NaN reuslts. Correct?

If so, then you should compare your modified buffered acquisition code with the working example to determine what has changed.

Regards,
Justin Britten
0 Kudos
Message 2 of 3
(3,191 Views)
This could be a thread issue. NI-DAQ 6.x is a single thread driver. If that thread happens to be shared with IMAQ, there could be some starvation. You should be able to change your VI execution properties so that the DAQ VIs run in a separate DAQ thread. NI-IMAQ is a multi-thread driver, as is DAQmx (DAQ 7). If your DAQ device is an E series or MIO board, you should try upgrading to DAQmx. (It shouldn't cost anything, if you have LabVIEW 7 Express).

KyleV
0 Kudos
Message 3 of 3
(3,191 Views)