ICS ELECTRONICS 4863 Manual page 102

Table of Contents

Advertisement

In Figure 3-3, bytes 4 and 5 are used to output 12 bits of data to a D-to-A
converter. The data output is two bytes of low true bits with a low true pulse
to load the data into the D-to-A convert's latch. HEX characters will be used
to transfer the data as they are easy to program and debug. No handshaking
is required. The example configure and format commands are:
e.g.
CONFigure:OUTput (@ 4,5)
CONFigure:OUTput:POL 0
CONFigure:OUT:HAND OFF
CONFigure:STR 0
FORMat:LISTen HEX
3.8.2.3 Outputting Data Strings
The output data string for the above commands is four HEX characters
terminated with linefeed character or with EOI asserted on the last charac-
ter. The data can be sent with the SOURce:DATA command if the 4863 is
set for a single primary address or if the lower primary or secondary address
is used. If dual addresses are used, the output data string can be sent to the
upper primary or secondary addresses without a command. Use the GPIB
Controller's Output or Send commands to send the commands of data
strings. Some output examples are:
e.g.
Output(dev, "SOURce:DATA 12FC") 'sends 4 HEX characters
To send data transparently without a command, first put the unit in the dual
or secondary address mode, then send data to the second or upper address.
e.g.
Output(dev, "SYST:COMM:GPIB:ADDR:MODE DUAL")
Output(dev+1, "12FC")
or
Output(dev, "SYST:COMM:GPIB:ADDR:MODE SEC")
Output(dev+sec01, "12FC")
In the examples, some of the commands may be the same as the factory
default settings. They are shown for completeness. Include all of the
configuration parameters in the configuration code in case a different value
was stored in the 4863's Flash.
'selects bytes 4 and 5
'low true input data
'no output handshaking
'sets low going data
strobe
'selects HEX coded data
to 4863's single primary
address
'Dual Primary address
example
'Secondary address
example
3-35
3

Advertisement

Table of Contents
loading

This manual is also suitable for:

2363

Table of Contents