Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I synchronize an IMAQ board with a DAQ board?

I've got a PCI-1424 frame-grabber and a DAQ AT-MIO 16E-10. I'd want to acquire an image and at the same time a sample on one of the analog channels of the DAQ.
How can I do? (I need help for both HW configuration and Labview solution).
I tried to launch the example "IMAQ Sequence with analog input" but it gives me the error message "ERROR 10455 NO DMA CHANNELS ARE AVAILABLE FOR USE".
Thank you for your kind help!
0 Kudos
Message 1 of 7
(5,071 Views)
You may be able to use an RTSI line to tell the IMAQ board to trigger. I have just had a similiar problem with a digital output and a frame snap. You can use the low level IMAQ signal VI's to define an RTSI line as a trigger. Then when you take a sample also trip the RTSI line and that will trigger the IMAQ acquisition. There is an example of this at the following address.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/8cb7936f65c8b8ec86256869005cde42?OpenDocument
Hope this helps.

SGRAFF
0 Kudos
Message 2 of 7
(5,071 Views)
This will depend on if you want to use IMAQ to trigger DAQ at each frame or Trigger IMAQ off each DAQ reading.
To trigger the DAQ reading at the beginning of each frame, you can route the Frame Start or any of the sync signals across RTSI so the pulse is generated on the RTSI bus and can be read over the RTSI bus by the DAQ board. You could use the IMAQ trigger signal as the Scan Clock.
If you want to trigger IMAQ over RTSI, you could send a pulse from the DAQ board and read this in on the IMAQ RTSI line that is setup with the IMAQ Tigger Configure vi.
I hope this helps!
Best Regards,
Chris D
NI Applications Engineer
0 Kudos
Message 3 of 7
(5,071 Views)
Hi,

I would like to trigger IMAQ over RTSI with trigger signals generated by DAQ. How to send pulse from the DAQ board and read this in on the IMAQ RTSI line. I use NI PCI-6110 DAQ and NI PCI-1428 IMAQ. Is it possible to do this with NI-DAQmx instead of Traditional DAQ?

Thanks,
Aarthi
0 Kudos
Message 4 of 7
(4,826 Views)

Aarthi,

This is definitely possible in DAQmx and actually much easier to code.  The link below is to an EPD on ni.com that shows how to use a RTSI trigger from an available DAQ device to trigger an image acquisition.  The DAQmx Route Signal function is used to route the DAQmx signal to one of the RTSI lines, and then the IMAQ Configure Trigger uses the RTSI line as the trigger source.  Hope this helps. 

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=FD748D1E23344BA3E0340003BA7CCD71&p_...

Jason N

Message 5 of 7
(4,787 Views)
Jason,

This is exactly what I needed. Thank you very much.

Aarthi
0 Kudos
Message 6 of 7
(4,727 Views)

Hello , i need sync between Frame grabber and DAQ (use triggers) , i need to take photo and in same time take daq Samples , It looks very efficient code, I have Frame grabber  NI PCIe-1433 and Ni USB 6341 DAQ , so what is the adjust that i need to do to use with  these components?

 

0 Kudos
Message 7 of 7
(3,656 Views)