National Instruments Welding System 321645c-01 사용자 설명서

다운로드
페이지 554
Chapter 2
Function Reference — SCAN_Sequence_Demux
NI-DAQ FRM for PC Compatibles
2-300
©
 National Instruments Corporation
SCAN_Sequence_Demux
Format
status = SCAN_Sequence_Demux (numChans, chanVector, bufferSize, buffer,
samplesPerSequence, scanSequenceVector,
samplesPerChannelVector)
Purpose
Rearranges the data produced by a multi-rate acquisition so that all the data from each channel 
is stored in adjacent elements of your buffer.
Parameters
Input
Input/Output
Output
Parameter Discussion
numChans is the number of entries in the chanVector and samplesPerChannelVector 
arrays.
Name
Type
Description
numChans
i16
the number of channels
chanVector
[i16]
the channel list
bufferSize
u32
the number of samples the buffer holds
samplesPerSequence
i16
the number of samples in a scan 
sequence
scanSequenceVector
[i16]
contains the scan sequence
Name
Type
Description
buffer
[i16]
the acquired samples
Name
Type
Description
samplesPerChannelVector 
[u32]
the number of samples for each channel