RSIB Interface Functions R&S ESCI
1166.6004.12 4.344 E-1
RSDLLibloc
This function temporarily switches the device to the 'LOCAL' state.
VB format: Function RSDLLibloc (ByVal ud%, ibsta%, iberr%, ibcntl&) As
Integer
C format: void WINAPI RSDLLibloc( short ud, short far *ibsta, short far
*iberr, unsigned long far *ibcntl)
C format (UNIX): short RSDLLibloc( short ud, short *ibsta, short *iberr,
unsigned long *ibcntl)
Parameter: ud Device handle
Example: RSDLLibloc (ud, ibsta, iberr, ibcntl)
After switchover to LOCAL state, the instrument can be manually operated via the front panel. 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.
VB format: Function RSDLLibeot (ByVal ud%, ByVal v%, ibsta%, iberr%,
ibcntl&) As Integer
C format: void WINAPI RSDLLibsre( short ud, short v, short far *ibsta,
short far *iberr, unsigned long far *ibcntl)
C format (UNIX): short RSDLLibsre( short ud, short v, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameters: ud Device handle
v 0 - no END message
1 – send END message
Example: 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.
VB format: Function RSDLLibrsp(ByVal ud%, spr%, ibsta%, iberr%, ibcntl&)
As Integer
C format: void WINAPI RSDLLibrsp( short ud, char far* spr, short far
*ibsta, short far *iberr, unsigned long far *ibcntl)
C format (UNIX): short RSDLLibrsp( short ud, char *spr, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameters: ud Device handle
spr Pointer to status byte
Example: RSDLLibrsp(ud, spr, ibsta, iberr, ibcntl)