PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchronize multiple PXIe-6358 modules in a 18 slot PXIE-1095 chassis with a PXIe-6672 Timing and synchronization module

Hello, I'm trying to setup an 18 slot NI-DAQ chassis with 12 PXIe-6358 modules and a PXIe-6672 Timing and synchronization module. I wish to synchronously output and input analog signals from all different PXIe-6358 modules. The Timing module is inserted in the correct timing and synchronization slot according to all the documents which I have gone through. As a test, for example, I want to sent out a square wave from PXISlot2/ao0 and receive this on PXISlot2/ai0:1, PXISlot2/ai8, PXI1Slot5/ai0 and PXI1Slot15/ai0. I don't have LabView and use the nidaqmx python library as I prefer to use this in terms of scalability and applicability with other code. I really can't find a way to sample synchronously over all the slots/cards, or let alone route and use the PXI_Star for example. Synchronously sampling on one slot module for both output and input is not a problem. How do I setup the synchronization in the best way over all I/O cards and their respective ni.tasks, using the Timing and Synchronization module? It seems to me that this should be possible and straightforward with nidaqmx in python. All suggestions are welcome. Thank you in advance!

0 Kudos
Message 1 of 3
(798 Views)

You can refer to nidaqmx-python/examples/ai_multi_task_pxie_ref_clk.py at master to synchronize multiple devices and tasks.

Unfortunately, nimi-python doesn't include support for the NI-Sync API (niSync support · Issue #981 · ni/nimi-python). You cannot use PXIe-6672 with Python. However, PXI_Trig provides an adequate skew of 80ns. If you want the 500ns skew of PXIe_DStar from PXIe-6672, you need to use C or .NET.

 

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
Message 2 of 3
(778 Views)

Thank you for the quick and clear answer. For now, I will try to use the solution with the PXI_Trig. This should be sufficient for the application. In order to be able to use our full hardware setup, I might look into combining/embedding C or .NET code with Python in the future. Thank you very much!

0 Kudos
Message 3 of 3
(734 Views)