Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize cDAQ 9133 and USB 6210

Hi, I'm rather new to LabVIEW and NI hardware in general, and I have a few questions.

 

In my lab, I have a load cell attached to a USB-6210, and it uses up every analog input port and many of the digital IO ports. In addition to load cell measurements, I have some analog inputs, analog outputs, and counter inputs that I'd like to handle. I have a cDAQ 9133 with the following modules: NI 9215, NI 9263, NI 9211, NI 9402.

 

Ideally, I would like to have a VI that acquired synchronized data from my load cell and my various sensors and output it so that I can process it later. From what I've seen in this video: https://www.youtube.com/watch?v=g_8jiKuKeDI I would need to use two PFI lines to synchronize the clocks and start trigger. However, my DAQ unit only has one PFI line. Is it possible to synchronize these two DAQ units? Do I need different hardware? Different modules? Can I synchronize them in LabVIEW?

 

Thanks in advance. Also, I apologize if I posted this question in the wrong section.

0 Kudos
Message 1 of 6
(3,709 Views)

Looks like you have a lot going on your chassis.

 

I'd recommend you to start here: http://www.ni.com/tutorial/5376/en/

 

 

0 Kudos
Message 2 of 6
(3,678 Views)

Thanks for the link. I've looked through it, but I guess the issue I'm having now is that I don't even know how to get the two devices into the same VI. Because the cDAQ 9133 is a remote system, I cannot create a VI with both it and the USB 6210 in it. Does anyone know if it is possible to get around this issue?

0 Kudos
Message 3 of 6
(3,622 Views)

Is your cDAQ running Windows or Linux RT?

Is the 6210 connected to the cDAQ or to a separate host system?

0 Kudos
Message 4 of 6
(3,594 Views)

The cDAQ is running Linux RT. Both the 6210 and the 9133 are connected to a host computer via usb, but this can change if needed.

0 Kudos
Message 5 of 6
(3,589 Views)

You can synchronize multiple devices using a single PFI line by directly sharing the sample clock from one device to the other.  Check out the "Sample Clock Synchronization" section of this White Paper for more info on the theory.

 

Additionally, the "Analog Input - Synchronization" example in the NI Example Finder (Help>>Find Examples from LabVIEW) shows a good example of how to use multiple tasks/devices in a single VI.  Note that this example does uses Reference Clock sync (which requires 2 PFI lines) by default, so you'll need to update it for Sample Clock sync.

Cody A.
0 Kudos
Message 6 of 6
(3,562 Views)