Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing to a file while synchronizing

I am acquiring analog input on two DAQ boards via synchronizing them through RTSI cable. I have PCI 6115 (Dev 1) as master and 6143 (Dev 2) board as slave.
I would like to write the data from both DAQ boards to a file. I have been able to configure a VI to read AI simultaneously from the DAQ boards but I am not able to write the data a file. I am building array of data from each board and combining them in to one big array and writing the same to a file. For some reason only the data from Dev 1 are written to the file.
I am attaching the VI (Multi-Device-AI-Synch.vi).

Can anyone tell me as why this is happening and probable solutions?

Regards,
Dinesh Bansal
0 Kudos
Message 1 of 3
(2,922 Views)

Hi,

Could not open your VI since a lower version of labVIEW is installed on my system.

Howerer, did you check if you are getting data in the Read function of Device 2 in the first place?? plot it on a graph/ chart and verify it

Since you say no data is being written, probably your read function is generating an error for Device 2. So check the error terminal of that function

Or the last propability would be that, you are appending both the data from device 2 to that from device 1 and probably you are not getting them in seperate columns/ rows as desired.

So check for that condition too Smiley Wink

0 Kudos
Message 2 of 3
(2,915 Views)
I think I have solved the problem. It had to do with the indexing of the array from Dev2.
I will attach the VI so that any other user with similar problem can use it.

Dinesh
0 Kudos
Message 3 of 3
(2,909 Views)