Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization of two S-serie card and while loop

Hello,
 
I'd like to acquire signals from two different S-serie card. The PCI-6115 is the master card and the PCI-6143 the slave one. I have also a RTSI cable.
I tried the.vi without the while loop and it works well. Is there a problem with the triggering or with the "Daq-mx read.vi" when using finite samples.
I tried also the .vi called "Multi-Device Synch-Analog Input-Cont Acquisition.vi" in the NI Example finder and it works. Therefore, I need finite sample in my application.
 
Thank you very much.
0 Kudos
Message 1 of 2
(2,709 Views)
Hi Damien,
 
from your description is hard to recognize, so I ask you at first, do you want to do something like Retrigger?
Because when you want to acquire "finite Samples" you don´t need a while loop and then the problem comes from NI-DAQmx when you want to read a second time!
Perhaps you should program something like a state machine!
 
1. Initialize Program
2. Configure Acquisition
3. Acquire Finite Samples
4. Analyze or Filter
5. Save to disk
6. End Program or go back to Configure Acquisition
 
This is much better than a huge Sequence Structure. Have a look at the Template Browser.
 
And: you have two times the Dev1 for Master and Slave in your program. I think this is wrong.
 
Regards
Alex Rudolph
NI Switzerland
Message 2 of 2
(2,697 Views)