Stop, Syscontroller, Talk – Measurement Computing Personal488 rev.3.0 For DOS & Windows 3.Xi User Manual
Page 364

III. COMMAND REFERENCES - 15. Command References
15B. Driver488/SUB, W31, W95, & WNT
Personal488 User’s Manual, Rev. 3.0
III-349
Stop
SYNTAX
int pascal Stop(DevHandleT devHandle);
devHandle
refers to either an interface or an external device. If
devHandle
refers to an external device, the
Stop
command acts on the hardware interface
to which the external device is attached.
RETURNS
-1 if error
MODE
Any
BUS STATES
ATN (Controller)
None (Peripheral)
SEE ALSO
Enter, Output, Buffered
EXAMPLE
errorcode = Stop(ieee);
The
Stop
command halts any asynchronous transfer that may be in progress. If the transfer has
completed already, then
Stop
has no effect. The actual number of characters transferred is available
from the
Buffered
command.
SysController
Driver488/SUB and Driver488/W31 only
SYNTAX
int pascal SysController(DevHandleT devHandle, bool flag);
devHandle
refers to either an interface or an external device. If
devHandle
refers to an external device, the
SysController
command acts on the
hardware interface to which the external device is attached.
flag
specifies whether or not Driver488 is to be System Controller. If
flag
is
ON
, then Driver488 becomes System Controller. If
flag
is
OFF
, then
Driver488 ceases to be System Controller.
RETURNS
-1 if error
MODE
Any
BUS STATE
IFC, *IFC (flag TRUE)
None (flag FALSE)
SEE ALSO
Abort, Reset
EXAMPLES
errorcode = SysController(ieee,ON);
The
SysController
command specifies whether or not the IEEE 488 interface card is to be the
System Controller. The System Controller has ultimate control of the IEEE 488 bus, and there may be
only one System Controller on a bus. If Driver488 is a Peripheral (that is, not System Controller), it
may still take control of bus transactions if the Active Controller passes control to Driver488.
Driver488 may then control the bus and, when it is done, pass control back to the System Controller or
other computer, which then becomes the Active Controller.
Talk
SYNTAX
int pascal Talk(DevHandleT devHandle, char pri, char sec);
devHandle
refers to either an interface or an external device. If
devHandle
refers to an external device, the
Talk
command acts on the associated
interface.
pri
and
sec
specify the primary and secondary addresses of the device which is
to be addressed to Talk.