LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronization - Master and Slave tasks

For syncrhonisation (via hardware) of two modlues; one 4330 and 6361, shall I create one master task for the 4330 and then syncrhinise it with the 6361 module? Or create multiple channels say 5 from 4330 and 5 from 6361 and then specify one channel from 4330 to be the master and all the rest modules from 4330 and 6361 to be slave tasks?

 

Thanks, 

0 Kudos
Message 1 of 4
(4,177 Views)

Hi Pepis21, 

 

What is it exactly that you wish to achieve. Your solution would be decided depending on what you wish to acquire. The former option should work too. 

 

Here is a white paper on syncrhonization that I thought might be worth sharing: https://www.ni.com/en/support/documentation/supplemental/10/synchronization-explained.html

 

Regards,

Shazil M.
CLAD
Applications Engineer
National Instruments UK & Ireland
0 Kudos
Message 2 of 4
(4,082 Views)

I don't know if this is compatible with your 6361, but it's worth a look.

 

Multi-Device Synchronization - Continuous Analog Input with Multiple Rates using PXIe-433x

https://forums.ni.com/t5/NI-DAQmx-Examples/Multi-Device-Synchronization-Continuous-Analog-Input-with...

 

The sync vis used in the example are located here:

C:\Program Files (x86)\National Instruments\LabVIEW 201X\examples\DAQmx\_Utility

 

steve

----------------------------------------------------------------------------------------------------------------
Founding (and only) member of AUITA - the Anti UI Thread Association.
----------------------------------------------------------------------------------------------------------------
0 Kudos
Message 3 of 4
(4,078 Views)

I have checked the 6361 for syncrhonisation and it can syncrhonise the sensors:

 

https://www.ni.com/en-us/shop/model/pxie-6361.html

 

If you schroll down in the specifications' summary, it says:

 

Triggering: digital and analog

Syncrhonisation Bus (RTSI): Yes 

 

What I am trying to achieve is to consider master and slave tasks and share sample clock and digital start trigger to syncrhonise the sensors. I guess that we need to share the sample clock across all of the tasks, then do the same with digital start edge and then create a sequence structure to ensure that the slave tasks start before the master tasks.

 

Pepis21

0 Kudos
Message 4 of 4
(4,045 Views)