Operating Manual 1302.6163.12 - 03 4.363
R&S ESU Instrument Functions
RSIB Interface Functions
RSDLLibonl
This function switches the device to 'online' or 'offline' mode. When it is switched to
‘offline’ mode, the interface is released and the device handle becomes invalid. By
calling RSDLLibfind again, the communication is set up again.
RSDLLTestSRQ
This function checks the status of the SRQ bit.
This function corresponds to the function RSDLLWaitSrq. The only difference is
that RSDLLTestSRQ immediately returns the current status of the SRQ bit, whereas
RSDLLWaitSrq waits for an SRQ to occur.
VB format:
Function RSDLLibonl (ByVal ud%, ByVal v%,
ibsta%, iberr%, ibcntl&) As Integer
C format:
void WINAPI RSDLLibonl( short ud, short v,
short far *ibsta, short far *iberr,
unsigned long far *ibcntl)
C format:
short RSDLLibonl( short ud, short v, short
*ibsta, short *iberr, unsigned long
*ibcntl)
Parameters:
ud Device handle
v Device state
0 - local
1 - remote
Example:
RSDLLibonl(ud, 0, ibsta, iberr, ibcntl)
VB format:
Function RSDLLTestSrq (ByVal ud%, Result%,
ibsta%, iberr%, ibcntl&) As Integer
C format:
void WINAPI RSDLLTestSrq( short ud, short
far *result, short far *ibsta, short far
*iberr, unsigned long far *ibcntl)
C format (UNIX):
short RSDLLTestSrq( short ud, short
*result, short *ibsta, short *iberr,
unsigned long *ibcntl)
Parameters:
ud Device handle
result Reference to an integer value in which
the library returns the status of the
SRQ bit
0 - no SRQ
1 - SRQ active, device requests ser-
vice
Example:
RSDLLTestSrq (ud, result%, ibsta, iberr,
ibcntl)