Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to use Hardware timed meaurement in 6052

we are going in right direction but I am sorry I didnt mentioned either I am doing point by point acquisition or any other method .It is Point by Point acquistion because I have to do Running average of 10 samples (@5ks/s)by looking at each samples level.If all 10 samples are >20mV then it makes digital line "1" or change in relay position.
I am using labVIEW 7.0 ,6052E,SCXI-1000DC,SCXI-1121,SCXI-1160, (terminal blocks 1320,1324)
scxi 1121 for analog in
scxi 1160 for digital out (relay signal)
------------------------------------------------------------------------------
-So U provided option for RT OS
-can we do the same using interrupts. in Windows.
or any other best option
 
0 Kudos
Message 11 of 12
(1,100 Views)
Hi Haider,

It sounds like if you are actually trying to do point by point analysis, then you will need to use an RT OS or something like CompactRIO (uses FPGAs), both of these solutions will definitely add some complexity to your system, but should be necessary if you are actually controlling a time-critical application.  To get the rates that you are looking at you will probably need to upgrade to a PXI-RT system.

I think that in this situation the best option for you may be to contact one of our sales associates, tell them what it is that you are trying to do, and then they can work with you to try to develop the system that is most appropriate for your use case.

If you could tolerate a 20 ms delay between iterations on your time critical loop, then you might be able to stay with your current system (sample at 5 kS/s and read 100 samples at a time).  However, rates much faster than that will suffer from fairly significan jitter, so you will need to look at an RT system.

You can contact a sales representative via the following avenues:

Option 1: Call me now! [more info]
Connect instantly with your Technical Representative.


Option 2: (800) 531-5066
Option 3: orders@ni.com

Regards,
0 Kudos
Message 12 of 12
(1,089 Views)