LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

while loop execution time in microseconds

Hi, do you know if I could make a while loop that executes in microseconds scale. I´m doing an aplication usind a cDAQ 9172 whit 9263 modules, and I need to process one sample by cicle. Also I read in the hardware manual a update time about 5us for the chassis so I think it supports microseconds timing but the software (LABVIEW 8.2) doesn´t. Help please!.
0 Kudos
Message 1 of 3
(4,060 Views)
I think Labview will only measure in 1 millisecond resolution.  Loops can run faster, but you cannot measure less than 1 mS.  If you need to measure in microseconds, you need to get Labview Real Time and use a Real Time OS.
- tbob

Inventor of the WORM Global
0 Kudos
Message 2 of 3
(4,053 Views)
Hi,
      I Didn' check you DAQ, but it probably allow you to read sample in µs without a real time system, check in DAQmx, and configure the channel for what you want...It use a buffer, and you'll be able to read many samples each iteration...Nevertheless, you only can read your data each iteration... A good way to do, depending of your neediness, is to use more than one loop and pass data between loop by using queue...maybe check this link...

http://zone.ni.com/devzone/cda/tut/p/id/6425
http://zone.ni.com/devzone/cda/epd/p/id/3717

I don't know if this help...you can ask other questions...

Fakstory

0 Kudos
Message 3 of 3
(4,033 Views)