Справочник Пользователя для National Instruments Welding System 321645c-01

Скачать
Страница из 554
Chapter 2
Function Reference — SCAN_Start
©
 National Instruments Corporation
2-309
NI-DAQ FRM for PC Compatibles
SCAN_Start
Format
status = SCAN_Start (deviceNumber, buffer, count, sampTimebase, sampInterval,
scanTimebase, scanInterval)
Purpose
Initiates a multiple-channel scanned data acquisition operation, with or without interval 
scanning, and stores its input in an array (MIO, AI, and DSA devices only).
Parameters
Input 
Output 
Parameter Discussion
buffer is an integer array. buffer must have a length equal to or greater than count. For 
DSA devices, buffer should be an array of i32. These devices return the data in a 32-bit 
format in which the data bits are in the most significant bits.
count is the number of samples to be acquired (that is, the number of A/D conversions to be 
performed). For double-buffered acquisitions, count specifies the size of the buffer, and 
count must be an even number.
Range:
3 through 2
32
 – 1 (except the E Series).
Name
Type
Description
deviceNumber
i16
assigned by configuration utility
buffer
i16
assigned by configuration utility
count
u32
number of samples
sampTimebase
i16
resolution used for the sample-interval counter
sampInterval
u16
length of the sample interval
scanTimebase
i16
resolution for the scan-interval counter
scanInterval
u16
length of the scan interval
Name
Type
Description
buffer
i16
assigned by configuration utility