Chapter 6, COMPUTER OPERATION
6-24
n status
0 All lines configured as outputs
1 D0 = input, D1 - D7 = outputs
2 D1 = input, D0 and D2 - D7 = outputs
4 D2 = input, D0 - D1 and D3 - D7 = outputs
8 D3 = input, D0 - D2 and D4 - D7 = outputs
16 D4 = input, D0 - D3 and D5 - D7 = outputs
32 D5 = input, D0 - D4 and D6 - D7 = outputs
64 D6 = input, D0 - D5 and D7 = outputs
128 D7 = input, D0 - D6 outputs
255 All lines configured as inputs
BYTE [n] Digital port output control
The value of n, in the range 0 to 255, determines the bits to be output on those lines
of the rear panel digital port that are configured as outputs. Hence, for example, if
PORTDIR = 255 and BYTE = 0, all outputs are low, and when BYTE = 255, all are
high.
READBYTE Read digital port input
The response to the READBYTE command is an integer between 0 and 255
representing the binary value of all eight lines of the rear panel digital port. Hence,
for example, if PORTDIR = 0 and the response to READBYTE is 255, then all lines
are high, and if the response to READBYTE is 0, then all lines are low. Note that
because the command does not differentiate between whether a line is configured as
an input or output, it can be used as a single command to determine the present status
of all eight lines, both inputs and outputs, of the port.
6.7.09 Auxiliary Inputs
ADC[.] n Read auxiliary analog-to-digital inputs
The response for ADC1 to ADC4 (n = 1 to 4 respectively) in fixed point mode is an
integer in the range -11000 to +11000, corresponding to voltages from -11.000 V to
+11.000 V, and in floating point mode it is in volts.
TADC [n] Auxiliary analog-to-digital input trigger mode
The value of n sets the trigger modes for the auxiliary ADC inputs according to the
following table:
n Trigger Mode
0 Internal (1 kHz)
1 External - apply trigger to ADC TRIG IN connector
2 Burst ADC1 (5 µs per point, only ADC1 is converted)
3 Burst ADC1 & ADC2
6.7.10 Output Data Curve Buffer
CMODE [n] Curve buffer mode
The value of n sets the curve buffer acquisition mode in accordance with the
following table:
n mode
0 Standard
1 Fast