beautypg.com

Sendllo, Sendllo -23 – Measurement Computing GPIB-488 User Manual

Page 91

background image

Chapter 4

GPIB 488.2 Library Reference

GPIB-488

4-23

Programming Reference Manual

SendLLO

Sends Local Lockout (LLO) message to all GPIB devices.

Syntax

C

SendLLO(int board)

Parameters

board

is an integer which identifies the GPIB board to be used for this operation. In most

applications, this value is 0.

Returns

ibsta

will contain a 16-bit status word as described in Appendix B,

IBSTA

.

iberr

will contain an error code, if an error occurred.

Usage Notes

When this routine is executed, the specified GPIB board sends the GPIB Local Lockout
(LLO) message to all devices. This means that once they have been addressed as listeners, the
devices respond only to messages sent over the GPIB by the Controller. (In other words, they
can not be locally programmed from front panel controls.) Only the Controller can return
them to a local programming state.

Example

In this example, GPIB board 0 sends a Local Lockout to its connected GPIB devices.

C

SendLLO (0);