04-17-2004 01:47 AM
04-19-2004
12:04 PM
- last edited on
06-25-2024
10:03 PM
by
Content Cleaner
If you're doing buffered acquisition, you do not want to set your VI to run in time critical mode. For VI's running at time critical priority that are doing DAQ, refer to the example program that ships with LabVIEW called Real-Time PID Control. This VI creates a zero length buffer and then uses AI Single Scan to read 1 point/channel at a time with hardware-timing. The zero length buffer causes your time critical VI to sleep while waiting for new data, which then provides time for normal priority VI's to run in the background. These normal priority VI's would be used to handle communication back to the host computer.
If buffered DAQ is all you need, there is no need to run the VI as time critical. A buffered acquisition is deterministic already.
Regards,
Kristi H
Applications Engineer
National Instruments
04-20-2004 07:25 PM
04-22-2004 12:20 AM
05-15-2004 08:56 PM