LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Assign a sample rate to each channel (or at least each NI module)

I would like to assign each channel (or at least each module) deriving from different modules (using AIForceBridge, AITemp, AIVoltage, ...) different sample rates.


Is it possile?
Without creating other SampleClocks?
How (please send me a picture to understand immediately)?
Is it efficient?
Other approaches?

 

RobotC08_0-1628079274105.png

 

0 Kudos
Message 1 of 6
(1,916 Views)

Hello Robot,

 

no, that's not possible. One task -> one sample clock.

 

Only solution: several AI-tasks would allow for several sample clocks. Creating several AI-tasks that depends on the DAQ-HW you are using.

 

Regards, Jens

Kudos are welcome...
0 Kudos
Message 2 of 6
(1,902 Views)

Is synchronism guaranteed? How can I efficiently manage the waveforms (graph them and write them to a file? Can the various tasks with the relative Timing Clock all end up on an Analog 1D Wfm NChan NSamp? Can you give me a graphic example on how to manage the post multi-DAQmx Timing?

0 Kudos
Message 3 of 6
(1,896 Views)

Please elaborate on the model of instruments you have and what kind of signals do they acquire and stuff.

 

There are many ways of synchronization for DAQ hardware, if each hardware is running at a different sampling rate, synchronization will become complex.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 6
(1,871 Views)

At the moment I need to synchronize 1 AI Voltage, 1 AI Temp and 1 AI Force Bridge. Now they are connected to the same Sample Clock. Anyone can help me?

0 Kudos
Message 5 of 6
(1,842 Views)

If they are connected to the same task and share the sample clock, they are perfectly synchronized.

 

The easiest way would be to use the highest required sample clock, for any channels that require a slower sample rate, you could just log every other sample or similar resampling technique to satisfy your needs.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 6 of 6
(1,836 Views)