Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

E series/ M series synchronized AO/AI using counter from E series card

Hello,
I need to use a 6115 e series and 6711 card for synchronized analog input and output. I'm using labview 8.2 and DAQmx. I was hoping to execute my program by using the counters from the 6115 board as sources for the sample clocks and start triggers in both the 6115 (ai and ao) and 6711 (ao). Are you allowed to use a single counter as a trigger and sample clock for multiple devices and channels? When I try to do this my program gives me an error, telling me the resource is already in use by another route.

What source should I use in the timing and trigger nodes to acess these counters? I notice some examples using the "get terminal name with device prefix.vi" to get the terminal ctr0InternalOutput, but it also seems like dev1/ctr0 is automatically routed to dev1/PFI0.

I would appreciate any help! Thanks,
-Nick
0 Kudos
Message 1 of 2
(3,125 Views)
Hello Nick,

If you are using a PXI board or have a RTSI cable attached to your 2 boards you can use the attached VI. It is a modification of the example VIs. The two extra steps it performs to synchronize the two devices is:

- synchronize the internal timebases
- use a start trigger on both devices to synchronize data generation and acquisition

Hope this helps!

Abhinav T.
Applications Engineer
National Instruments
Abhinav T.
Applications Engineering
National Instruments India

LabVIEW Introduction Course - Six Hours
Getting Started with NI-DAQmx
Measurement Fundamentals
0 Kudos
Message 2 of 2
(3,106 Views)