![background image](http://html1.mh-extra.com/html/keithley/kpci-488-lpa/kpci-488-lpa_user-manual_3940953071.webp)
KPCI-488LPA-900-01 Rev. A / December 2008
Return to
2-45
Model KPCI-488LPA GPIB Controller Interface Card User’s Manual
Section 2: NI Command Compatible Functions
SendIFC
Description
This command sends the
Interface Clear command
to reset GPIB.
SendIFC
is used
to be a part of GPIB initialization. The function forces the interface to
Controller-in-
Charge
of GPIB. At the same time, the function ensures that the devices connected
with it are not addressed and that the interface calls of the devices are in idle status.
Syntax
Microsoft C/C++ and Borland C++
void SendIFC (int board_desc)
Visual Basic
call SendIFC (ByVal ud As Integer)
Parameters
board_desc
: board ID
Error Codes
ENEB, ESAC, EDVR, EOIP
SendLLO
Description
This command sends the
Local Lockout (LLO) message
to all devices. While the
LLO is to be effective, only the
Controller-In-Charge
can change device states by
sending appropriate GPIB messages.
SendLLO
is reserved for use in uncommon
local/remote situations. Under typical situations,
SetRWLS
is used to place a device
in remote with lockout.
Syntax
Microsoft C/C++ and Borland C++
void SendLLO (int board_desc)
Visual Basic
call SendLLO (ByVal ud As Integer)
Parameters
board_desc
: board ID
Error Codes
EBUS, ECIC, ENEB, ESAC, EDVR, EOIP
SendSetup
Description
This command configures the device to receive data. SendSetup sets the devices
listed in addressList as listeners and sets the interface
talk-active
. After the
SendSetup
call,
SendDataBytes
sends data from the interface to the devices. While
multiple
SendDataBytes
calls are used for transferring data, the address setting
capability of
SendSetup
is especially useful, since each device does not tneed to be
addressed while each data block is transferred.
Syntax
Microsoft C/C++ and Borland C++
void SendSetup (int board_desc,
const Addr4882_t addressList[])
Visual Basic
call SendSetup (ByVal ud As Integer,
addrs ( ) As Integer)
Parameters
board_desc
: board ID
addressList
: the list of the devices ended by
NOADDR
Error Codes
EABO, EARG, EBUS, ECIC, EDVR, EOIP, ENEB