KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-47
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
Syntax
Microsoft C/C++ and Borland C++
void TestSys (int board_desc, Addr4882_t *addrlist,
short resultList[])
Visual Basic
call TestSys (ByVal ud As Integer,
addrlist ( ) As Integer, resultList ( ) As Integer)
Parameters
board_desc
: board ID
addrlist
: the list of the device addresses ended by
NOADDR
resultList
: the list of the self test results; each test item corresponds to each address
listed in
addrlist
Error Codes
EABO, EARG, EBUS, EDVR, ECIC, EOIP, ENEB, ENOL
Trigger
Description
This command sends
the Group Execute Trigger (GET) GPIB message
to a device.
If the address is constant
NOADDR
, the
GET
messages are sent to the devices that
are currently listen-active on the GPIB bus.
Syntax
Microsoft C/C++ and Borland C++
void Trigger (int board_desc, Addr4882_t address)
Visual Basic
call Trigger (ByVal ud As Integer,
ByVal address As Integer)
Parameters
board_desc
: board ID
address
: the device address; the device to be triggered
Error Codes
EARG, EBUS, EDVR, ECIC, EOIP, ENEB
TriggerList
Description
This command sends the
Group Execute Trigger (GET) GPIB message
to multiple
devices. If there is only constant
NOADDR
in the
addrlist
, no device is addressed
and the
GET
message is sent to the devices that are currently listen-active on the
GPIB bus.
Syntax
Microsoft C/C++ and Borland C++
void TriggerList (int board_desc,
const Addr4882_t addressList[])
Visual Basic
call TriggerList (ByVal ud As Integer,
addressList ( ) As Integer)
Parameters
board_desc
: board ID
addressList
: the list of the device addresses ended by
NOADDR
Error Codes
EARG, EBUS, EDVR, ECIC, EOIP, ENEB