Function
Performs transfer of command (LLO) that disables the transition to local mode by switch on device of slave device.
(Disables all slave devices)
Format
Ret = GpibSendLocalLockout ( Id )
Parameter
Id [ VB.NET: Short ][ C, C++: short ][ C#: short ]
Specifies DevID or EqpID.
Whichever it specifies, operation does not change.
Return Value
Ret [ VB.NET: Integer ][ C, C++: long ][ C#: int ]
0 |
Normality completion |
10001 |
Invalid ID was specified |
10002 |
Driver can not be called |
12940 |
Asynchronous function is running now |
22923 |
When device is used as master (controller), functions for slave (non-controller) are executed |
22941 |
Forcibly terminated by GpibStopAsync |
22942 |
Terminates by forcible termination key |
22944 |
TimeOut |
22945 |
No connected device (GPIB error) |
22947 |
Being used in other process |
Initial Value
None
Remarks
To cancel LLO for specified device, please transmit GTL command to device you want to cancel with GpibChangeLocal function.
To cancel all devices, please disable REN with GpibChangeREN function.
Example
Transmits LLO command.
C |
Ret = GpibSendLocalLockout ( Id ); |
See Also
GpibChangeLocal | GpibChangeREN