R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Annexes
Interfaces and Connectors
Operating Manual 1145.1084.12 – 30 1145
short RSDLLibrsp( short ud, char *spr, short *ibsta, short *iberr, unsigned long *ibcntl)
ud // Device handle
spr // Pointer to status byte
RSDLLibrsp(ud, spr, ibsta, iberr, ibcntl)
RSDLLibclr
Sends the command SDC (Device Clear) to the instrument.
Function RSDLLibclr(ByVal ud%, spr%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibclr( short ud, short far *ibsta, short far *iberr, unsigned long far *ibcntl)
short RSDLLibclr( short ud, short *ibsta, short *iberr, unsigned long *ibcntl)
RSDLLibclr(ud, ibsta, iberr, ibcntl)
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.
Function RSDLLibonl (ByVal ud%, ByVal v%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibonl( short ud, short v, short far *ibsta, short far *iberr, unsigned long far *ibcntl)
short RSDLLibonl( short ud, short v, short *ibsta, short *iberr, unsigned long *ibcntl)
ud // Device handle
v // State of device (0 - local or 1 - remote)
RSDLLibonl(ud, 0, ibsta, iberr, ibcntl)
RSDLLTestSRQ
This function checks the status of the SRQ bit.
Function RSDLLTestSrq (ByVal ud%, Result%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLTestSrq( short ud, short far *result, short far *ibsta, short far *iberr, unsigned long far *ibcntl)
short RSDLLTestSrq( short ud, short *result, short *ibsta, short *iberr, unsigned long *ibcntl)
ud // Device handle
result // Reference to an integer value in which the library returns the status of the SRQ bit (0 - no SRQ, or 1 -
SRQ active, device requests service)
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.