R&S ESCI RSIB Interface Functions
1166.6004.12 4.345 E-1
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.
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)
RSDLLTestSRQ
This function checks the status of the SRQ bit.
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 service
Example: RSDLLTestSrq (ud, result%, ibsta, iberr, ibcntl)
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.