
KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-37
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
DevClearList
Description
This command clears multiple devices. If the address is the constant
NOADDR
, the
DCL message
is sent to all devices.
Syntax
Microsoft C/C++ and Borland C++
void DevClearList (int board_desc,
const Addr4882_t addressList[])
Visual Basic
call DevClearList (ByVal ud As Integer,
addressList ( ) As Integer)
Parameters
board_desc
: board ID
addressList
: the list of the device addresses ended by
NOADDR
; the devices that
need to be cleared
Error Codes
EARG, EBUS, ECIC, EDVR, EOIP, ENEB
EnableLocal
Description
This command sends a
Go To Local (GTL)
GPIB message to multiple devices. This
sets multiple devices in local mode, allowing local operation. If only the constant in
addrlist
is
NOADDR
, the
Remote Enable (REN) GPIB line
is set to disable.
Syntax
Microsoft C/C++ and Borland C++
void EnableLocal (int board_desc,
const Addr4882_t addressList[])
Visual Basic
call EnableLocal (ByVal ud As Integer,
addressList ( ) As Integer)
Parameters
Board_desc
: board ID
addressList
: the list of the device addresses ended by
NOADDR
; the devices are
waiting to return to local mode
Error Codes
EARG, EBUS, ECIC, EDVR, EOIP, ENEB, ESAC
EnableRemote
Description
This command sets the
Remote Enable (REN) line
to enable, which places
addressList
devices into a listen-active state. This allows devices to be programmed
remotely (remote GPIB programmable).
Syntax
Microsoft C/C++ and Borland C++
void EnableRemote (int board_desc,
const Addr4882_t addressList[])
Visual Basic
call EnableRemote (ByVal ud As Integer,
addressList ( ) As Integer)