LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization of two DAQ Assistant USB-6003

Hi all, I'm creating a VI which is supposed to use two boards USB-6003 to take some measurements. The first one is reading a voltage from two lasers which measure distance, the second one reads a voltage too, from a load cell. I need to take these measurement at a relatively high rate (50k) for a total amount of sampes of 5k. I set the two express VIs of the DAQ assistants ant they work well, but since now they are completely uncoupled, the two measurements are not synchronised. How can I modify the program (or the DAQ assistant settings) in order to reach this task?

 

Thank you all!

0 Kudos
Message 1 of 4
(3,251 Views)

Hi efer,

 

you could use the PFI of your USB6003 as start trigger for the analog input tasks.

All you need to do is wiring the same trigger signal to both USB6003 boxes…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(3,238 Views)

Hi GerdW,

 

Thank you for your fast response, I have little experience on LabVIEW so pleae forgive me if I ask for some more information. In particular, what should I change from the point of view of the VI? Should I also change something in the DAQ Assistant set-up window?

 

Thank you again

0 Kudos
Message 3 of 4
(3,226 Views)

Hi efer,

 

you may try to fiddle with those triggering settings in the DAQAssistent…

 

I strongly advise to use plain DAQmx functions as explained here and in all those example VIs coming with LabVIEW!

 

What's the point in converting a boolean value into an enum with two items "True" and "False"?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 4
(3,215 Views)