From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Synchonisation of multipe different I/O modules inside a CompactDAQ Chassis

Hello,

 

I´m currently using various different I/O-modules (e.g. NI9229, NI9203) inside the cDAQ-9184 chassis.

For setting it up and creating tasks im using the NI MAX software. These tasks are then used in DASYLab 13.0.

 

The problem im experiencing is a constant time delay between signals from different I/O-modules. No matter what sample-rate type I´m using, there seems to be an issue with the synronisation between those modules. From my understandings, the chassis should synchronise the modules via internal clocks but with different tests I got a constant delay of 1.6ms between the same rising or falling edge, measured from different I/O-modules at the same time.

 

Is there something I got wrong or should the chassis indeed synchonise the signals on its own?

 

Thanks in advance!

T.Meyer

0 Kudos
Message 1 of 3
(1,777 Views)

Hi,

Did you make any synchronization? 

 

here you can find the way how to  Simultaneously Start Multiple Modules Using a cDAQ Chassis in SignalExpress 

https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAbcSAG&l=en-US

bhovhann
0 Kudos
Message 2 of 3
(1,685 Views)

Hi,

 

since the cDAQ-9184 manual notices its capability of "up to 7 hardware-timed analog I/O, digital I/O, or counter/timer operations simultaneously" I chose to work with a Multidevice Task mentioned in your link. Maybe that was a wrong decision since it also recommends to not use it for different types of modules (not sure if that is relevant for 2 different AIs that I´m using). Since it´s one task there is no way to synchronise the signals afterwards in DasyLab.

 

Using a different task for every module causes immense delays up to 2sec. while I wasn´t able to enable an External Trigger in NI Max (solution 1 in your link, every option in the dropdown menu is grayed out). It seems that this solution also only mentions Digital I/Os while I´m only using Analog Inputs. A synchonisation via DasyLab wasn´t possible either, due to "different timebases" of the two tasks.

 

Solution 3 isn´t available with the chassis I´m using.

 

Those are the reasons I chose to put both modules into one task and use the OnboardClock as the internal sample rate. No other synchonisation because (I thought) the chassis should do exactly that via its internal clock. But this leads to my constant 1.6ms delay between the to signals.

0 Kudos
Message 3 of 3
(1,669 Views)