HTBasic Help
×
Menu
Index

LOCAL Statement

 
The LOCAL statement returns specified IEEE-488 devices to their local (front panel) state. You specify either a device selector or an I/O Path. This statement is only supported by the IEEE-488 interface. For example:
 
LOCAL 728
 
If a primary device address is specified, a Go To Local (GTL) message is sent to all listeners and LOCAL LOCKOUT is not canceled. If only an interface select code is specified, all devices on the bus are returned to the local state and LOCAL LOCKOUT is canceled.
 
If a primary device address is specified and the computer is the active controller, the bus activity is: ATN, MTA, UNL, LAG, GTL.
 
If the computer is not the active controller but is the system controller and just an interface select code is specified, the REN line is set false. If it is also the active controller, the ATN and REN lines are both set false.
 
When the computer is not the system controller but is the active controller, the bus activity for an Interface Select Code is to set the ATN line and send a GTL message. When it is not the active controller, an error is generated.