R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Annexes
Interfaces and Connectors
Operating Manual 1145.1084.12 – 30 1144
RSDLLibsre
This function sets the device to the 'LOCAL' or 'REMOTE' state.
Function RSDLLibsre (ByVal ud%, ByVal v%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibsre( short ud, short v, short far *ibsta, short far *iberr, unsigned long far *ibcntl)
short RSDLLibsre( short ud, short v, short *ibsta, short *iberr, unsigned long *ibcntl)
ud // Device handle
v // State of device (0 - local or 1 - remote)
RSDLLibsre (ud, 0, ibsta, iberr, ibcntl)
RSDLLibloc
This function temporarily switches the device to the 'LOCAL' state.
Function RSDLLibloc (ByVal ud%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibloc( short ud, short far *ibsta, short far *iberr, unsigned long far *ibcntl)
short RSDLLibloc( short ud, short *ibsta, short *iberr, unsigned long *ibcntl)
RSDLLibloc (ud, ibsta, iberr, ibcntl)
After switchover to LOCAL state, the instrument can be manually operated via the GUI. On the next
access to the instrument by means of one of the functions of the library the instrument is switched again to
the REMOTE state.
RSDLLibeot
This function enables or disables the END message after write operations.
Function RSDLLibeot (ByVal ud%, ByVal v%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibsre( short ud, short v, short far *ibsta, short far *iberr, unsigned long far *ibcntl)
short RSDLLibsre( short ud, short v, short *ibsta, short *iberr, unsigned long *ibcntl)
ud // Device handle
v // State of END message (0 - no END message or 1 - send END message)
RSDLLibeot (ud, 1, ibsta, iberr, ibcntl)
If the END message is disabled, the data of a command can be sent with several successive calls of write
functions. The END message must be enabled again before sending the last data block.
RSDLLibrsp
This function performs a serial poll and provides the status byte of the device.
Function RSDLLibrsp(ByVal ud%, spr%, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibrsp( short ud, char far* spr, short far *ibsta, short far *iberr, unsigned long far *ibcntl)