LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DAQmx with library call synchronization

Hi,

 

I need to synchronize data collection between two sources: voltages via a DAQ (NI-USB-6453) and wavelength measurements from wavemeter device (WS6). The wavemeter measurements can only be read into LabVIEW through a library call node which runs C code to request one data point.

 

I can synchronize the two sources using a loop that reads one set of voltages and one wavelength on each iteration, storing the results in an array. This process is very slow, however (~10 Hz), and I think better performance could be achieved if the library call was triggered through DAQmx or some other means.

 

Any thoughts on how to configure a simultaneously read from the two sources would be greatly appreciated!

0 Kudos
Message 1 of 2
(132 Views)

Hi Ro,

 


@roconnor wrote:

I think better performance could be achieved if the library call was triggered through DAQmx or some other means.

 

Any thoughts on how to configure a simultaneously read from the two sources would be greatly appreciated!


Instead of "triggering the library" you should "trigger the device"!

Is there a way to trigger the device itself? (Mind to share information on your 2nd measuement device?)

 

If that device doesn't support external trigger signals then all you can do is using that "loop" approach as you use now…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(81 Views)