Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

can 'Hardware timed single point 'sample mode with 'wait for next sample VI' in DAQmx provide real time control?

hi

i am working on concept of realtime control and pc based control using LV2012 with PCI 6221 and cFP.i just wanna know can ' 'Hardware timed single point 'sample mode with 'wait for next sample VI'in DAQmx provide real time control?it is given in NI's whitepaper that these functions/VI s are used for deterministic tasks on real time platform.if it is so then what is the need for real time platforms like cFP for real time control.

kindly clear the ambiguity...

 

vks

0 Kudos
Message 1 of 2
(5,631 Views)

Because Windows is not a deterministic OS.  The OS likes to steal clock cycles for various things like update the display, let other services run, etc.  You cannnot guarantee that your loop will run at the rate you told it to.

 

A Real Time OS is different.  It will allow you loops to run at the rate they need to with very little jitter.

 

I have measured jitter on Windows to be in the tens of milliseconds.  The RT (like cFP) are supposed to have a jitter in the microseconds.  Jitter is a bad thing when it comes to control algorithms, so you need the determinism of an RT system.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(5,575 Views)