System Commands
The System commands provide for checking errors, and communicating
with the Signal Conditioning Plug-ons.
AVGRDGS <
enable
> <
n_readings
>
0060
16
This command sets the number of readings to be averaged for each reading
stored in the FIFO or CVT.
<
enable
>
is 1 for enabled, 0 for disabled. It
takes n scan triggers to obtain the n_readings to average. No channel
should be repeated in the scan list. Valid values for
<
n_readings
>
are 2, 4,
8, 16, 32, 64, 128, and 256.
ERRFLAGS?
2020
16
This command returns the contents of the Error Flag Word in the VXI
Query Response Register. The Error Flag Word provides additional
information about the previously executed command.
Note
Any other command will update/add the contents of the Error Flag Word.
Error flag bits accumulate in the Error Flag Word until an
ERRFLAGS?
query is processed.
ERRFLAGS?
resets all flag bits to zero.
The following error flags are defined:
Bit
Description
0
DSP-Unrecognized command code.
1
DSP-Parameter out of range.
2
DSP-Flash rom erase failure.
3
DSP-Programming voltage not present.
4
DSP-Invalid SCP gain value.
5
DSP-Invalid *CAL? constant or checksum. *CAL? required.
6
DSP-Could not cal some channels.
7
DSP-Re-Zero of ADC failed.
8
DSP-Invalid Tare CAL constant or checksum.
9
DSP-Invalid Factory CAL constant or checksum.
10
DSP-DAC adjustment went to limit.
11
DSP Status— Do *CAL?.
12
DSP-Overvoltage on input.
13
DSP-Reserved error condition.
14
DSP-ADC hardware failure.
15
DSP-Reserved error condition.
Bits in the Error Flag Word are asserted when high.
358 Register-Based Programming
Appendix D
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com