07-30-2006 05:10 PM
07-31-2006
02:42 AM
- last edited on
11-26-2025
09:02 AM
by
Content Cleaner
TJW,
i think your question is based on a misunderstanding of the basic functionality of AI at a PC-based measurement system. This is quite common, so please don't take this personal ![]()
Well, if you want to acquire analog signal with a PC-based measurement system, you have to choose between two modes of acquisition:
a) single point
b) finite/continuous
As you can see, b) includes two (different) measurement methods, but they have one in common: both are buffered. But let's first take a look into a):
When a measurement is set to single point acquisition, you will retrieve one sample by interrupt, handle it and after that retrieve a new one. Since this is based on interrupts, your acquisitionrate is absolutly defined by your performance of the system. Commonly, rates of 1-15kHz are possible. There is only ONE purpose where you will NEED single point: controls like PLC.
If you want higher rates for your acquisition, you have to choose a buffered method. In your case, since you have a determined measuring time, you would choose finite. In a buffered measurement, the data is sampled with a sample clock and then transferred to the buffer. The buffer-size equals the number of samples for the finite acquistion or has a default size for continuous acquisition.
Regarding the size of the buffer, you would have to choose a number of samples which equals your rate multiplied by time. In your case, this would be 70 kHz * 120 s = 8,400,000 samples. This will be one channel, so your complete data will take 8,400,000 * 4 * 8 Byte = 268.8 MByte. This is quite large, especially if the data is copied for your analysis perharps several times. But it is possible... If you don't want to have such a large array of data at once in your memory, you have to choose continuous acquisition and retrieve data during measurementtime and analyse "at runtime"..
Hope this helps,
Norbert B.
NI Germany
Message Edited by Norbert B on 07-31-2006 02:44 AM
07-31-2006 05:10 AM
07-31-2006 07:17 AM
07-31-2006 07:42 AM
08-04-2006 06:40 AM