06-01-2007 07:04 AM
06-01-2007 09:06 AM
09-06-2007 01:55 PM
09-06-2007
04:36 PM
- last edited on
04-09-2025
05:15 PM
by
Content Cleaner
Hi sternj-
In order to configure the device for continuous operation, you'll need to set the AI_Continuous bit from the AI_Mode_1 register in the STC. With this setting any SC_TC events (i.e. the event that stops the acqusition in a finite configuration) will be ignored, and the NumberOfScans setting is largely irrelevant.
There's more info in the STC Technical Reference manual, namely on pages 62 and 78, though the entire AITM section is a good read. You might also consider referring to the M Series examples for the MHDDK. From M Series ai.cpp, the function aiNumberOfSamples() might be of use as an example of the continuous mode setting. M Series aiex3.cpp shows that function in the context of a hardware-timed AI operation.
Thanks-
09-06-2007 04:49 PM