06-28-2006 08:59 AM
06-28-2006 05:29 PM - edited 06-28-2006 05:29 PM
The usual method for continuous acquisition is the so called double-buffering: you define a buffer on the system to store acquisition data to; this buffer is ideally divided in two halves: while the system is collecting measures and filling the second half you can retrieve the first half and handle it / store to disk. next the system comes back to fill the first half and you store on disk measures filed in the second half. This system can be repeated indefinitely, provided the buffer is dimensioned so that when a half is filled your operations on the other half are already terminated so that there is no risk of overwriting data.
Now, actual implementation of ths schema depends on the language you are using; in any case, when you install DAQ software a lot of examples are downloaded on disk in samples\daq or samnles\daqmx folders: you can study those samples or even use them as a framework for your own application.
Message Edited by Roberto Bozzolo on 06-29-2006 12:31 AM
06-30-2006 07:30 AM
06-30-2006 07:42 AM