Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Real-time timed loop

Hi, 

I used real-time timed loop to get acceleration data from NI 9234 (cRIO) and loop timing source is 'scan engine'. 

The scan period is 1ms. 

But when I checked the saved data, the period was not 1ms, it was 0.004~0.005s. 

What is the problem?

 

Thank you. 

0 Kudos
Message 1 of 3
(695 Views)

That IO module cannot have its sample rate set to an arbitrary value, but it is configurable.See the data rates section in this:

https://www.ni.com/pdf/manuals/374238a_02.pdf

 

You would need to set the timed loop to match the sample rate you choose. But you may also need to use FPGA rather than scan engine.

 

Consultant Control Engineer
www-isc-ltd.com
0 Kudos
Message 2 of 3
(661 Views)

Thank you!!

0 Kudos
Message 3 of 3
(645 Views)