National Instruments GPIB-MAC User Manual page 94

Table of Contents

Advertisement

November 1985
Trigger Selected Device(s) *
Bus Management function
trg
Syntax:
You use
Purpose:
instructions for each GPIB device explain when you
should trigger them and what effect the trigger has.
The argument alist is a list of addrs separated
Remarks:
by commas or spaces. addrs are device addresses that
specify the GPIB addresses you wish to trigger.
A device address consists of a primary address and an
optional secondary address. The secondary address is
separated from the primary address by a plus sign (+).
Only the lower five bits of each address are significant.
These bits may be in the range from 0 through 30 for
both the primary and the secondary address. Therefore,
the binary value 01100010 (decimal 98) is interpreted as
decimal 2.
The following examples all specify a primary address of
0 and a secondary address of 2. The listen address is
32, the talk address is 64, and the secondary address is 2
or 98, which are equivalent.
If you call trg without an argument, the EARG error is
posted.
If this is the fust function you call that requires GPIB
controller capability, and you have not disabled System
Controller capabiltity with rsc, the GPIB-MAC sends
Interface Clear (IX) to make itself CIC. It also asserts
Remote Enable.
83
SECTION FOUR - FUNCTIONS
trg
to trigger the specified devices. The

Advertisement

Table of Contents
loading

Table of Contents