05-27-2008 12:50 PM
05-28-2008 05:43 PM
Set (or Clear) Remote Enable
Low-level bus management function
sre [bool]<CR>
Use sre to turn the Remote Enable signal on and off. In some cases, the first I/O or high-level bus management function you call sets remote enable automatically.
If the argument bool is 1, the GPIB-RS232/485/422 asserts the Remote Enable (REN*) signal. If the argument bool is 0, the GPIB-RS232/485/422 unasserts REN*.
Many GPIB devices have a remote program mode and a local program mode. It is usually necessary to place devices in remote mode before programming them from the GPIB. A device enters the remote mode when the REN* line is asserted and the device receives its listen address.
Use cmd to send a device its listen address after using sre. Use loc to return the device to local program mode.
If you call sre with an argument and the GPIB-RS232/485/422 is not System Controller, the ESAC error is recorded.
If you call sre without an argument, the GPIB-RS232/485/422 returns its current remote status: 1 = remote, 0 = local.