FSE Instrument Interfaces
1065.6016.12 8.19 E-15
RSDLLibonl
The function switches the instrument to the 'online' or 'offline' state. When switching to ‘offline’ the
interface is enabled and the device handle made invalid. The next call of RSDLLibfind sets up the
communication again (only with Windows NT controller).
VB format: Function RSDLLibonl (ByVal ud%, ByVal v%, ibsta%, iberr%,
ibcntl&) As Integer
C format: void FAR PASCAL RSDLLibonl( short ud, short v, short far
*ibsta, short far *iberr, unsigned long far *ibcntl)
C format (Unix): short RSDLLibonl( short ud, short v, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameter: ud Device handle.
v Status of instrument
0 - local
1 - remote
Example: RSDLLibonl(ud, 0, ibsta, iberr, ibcntl)
RSDLLTestSRQ
The function checks the status of the SRQ bit.
VB format: Function RSDLLTestSrq (ByVal ud%, Result%, ibsta%, iberr%,
ibcntl&) As Integer
C format: void FAR PASCAL 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)
Parameter: 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, instrument has output a service request
Example: RSDLLTestSrq (ud, result%, ibsta, iberr, ibcntl)
The function corresponds to the function RSDLLWaitSrq but with the difference that RSDLLTestSRQ
returns immediately the current status of the SRQ bit whereas RSDLLWaitSrq waits for an SRQ to
occur.