3-40
3
3.8.3.3 Outputting Binary Data (4863 Only)
The 4863's BINary format outputs 8-bit bytes to the 4863's configured
output ports and generates a Output Data Strobe when all ports that are
configured as outputs have been updated. The BINary data format works
with transparent data in the Dual or Secondary address mode. The output
message size must be a multiple of the number of configured output bytes
and must be terminated with an EOI on the last character. Data rates can be
> 50 Kbs. The following example configures two ports as outputs and
outputs four 16-bit words:
Setup:
CONF:IN (@ 1:6)
'sets all ports as inputs
CONF:OUT (@ 1,2)
'sets two output ports
FORM:LIST:BIN
SYST:COMM:GPIB:ADDR:MODE DUAL
'enables two primary addresses
Sending 8 data bytes to the upper primary address:
23102301
'data ends with EOI on last byte
3.8.3.4 Locking the Setup Parameters
All of the digital interface configuration parameters can be locked to
prevent accidental change by the end user. These lockable parameters are
noted by a # symbol in Tables 1-4 and 1-5. Locked parameters cannot be
queried or changed while locked. Any command that addresses a locked
parameter is not executed, the Command Error bit in the Event Status
Register is asserted and the ERR LED is lit. The lock function is saved by
the *SAV 0 command.
An example is:
e.g.
CAL:LOCK ON
'blocks unauthorized changes
*SAV 0
While lock is ON, the user can change and save any non-locked parameter
such as the GPIB address or a serial baud rate.