Download ProDAQ 3416 User Manual

Transcript
ProDAQ 3416 Function Card User Manual
3416-XX-UM
Possible values are:
bu3416_GROUP_BY_CHANNEL
bu3416_GROUP_BY_SCAN
0
1
Group data by channel
Group data by scans
For example:
If you scan channels A through C and Number of Scans is 5, then the
possible fill modes are:
Grouped by channel:
A1 A2 A3 A4 A5 B1 B2 B3 B4 B5 C1 C2 C3 C4 C5
\----------/
\----------/
\----------/
or
Grouped by scan:
A1 B1 C1 A2 B2 C2 A3 B3 C3 A4 B4 C4 A5 B5 C5
\----/
\----/
\----/
\----/
\----/
If you are to pass the array to a graph, you should acquire the data
grouped by channel.
If you are to pass the array to a strip chart, you should acquire the
data grouped by scan.
waveforms
Variable Type
ViReal64[]
The output buffer containing the samples (in Volts) from the
specified channels. This buffer should be allocated by application
before the function call with appropriate size to hold all data.
Samples in this buffer are arranged according to "Fill Mode"
parameter".
errors
Variable Type
ViInt16 (passed by reference)
This parameter contains information about any error happened during
Data Acquisition process. The value is a bitmask of the following
values:
bu3416_DA_OUTRANGE_ERR
bu3416_DA_DECIM_ERR
bu3416_DA_ARITH_ERR
bu3416_DA_DDSUD_ERR
bu3416_DA_MCLK_ERR
bu3416_DA_SCAN_ERR
bu3416_DA_FIFO_OV_ERR
bu3416_DA_FIFO_UF_ERR
0x0001
0x0002
0x0004
0x0008
0x0010
0x0020
0x0040
0x0080
Cumulative Out Of Range error;
Decimation error;
Arithmetic error;
DDS Update Signal error;
MCLK Clock Frequency error;
Scan Error;
FIFO Overflow error;
FIFO Underflow error;
NOTE:
For error bu3416_DA_OUTRANGE_ERR please use function
bu3416_getDAQStatus() to get more details about error happened on
channel.
Return Value
Displays the return status of the function call. If the function was
successful, it will return a status of VI_SUCCESS, otherwise it will
return an error code. Passing the error code into the function
"bu3416_error_message", will return a string describing the error.
Copyright,
2014 Bustec Production Ltd.
Page 67 of 171