Operating Manual 1302.6163.12 - 03 4.361
R&S ESU Instrument Functions
RSIB Interface Functions
The file name may as well include a drive or path specification.
RSDLLibtmo
This function defines the time-out for a device. The default value for the time-out is
set to 5 seconds.
RSDLLibsre
This function sets the device to the 'LOCAL' or 'REMOTE' state.
RSDLLibloc
This function temporarily switches the device to the 'LOCAL' state.
VB format:
Function RSDLLibtmo (ByVal ud%, ByVal tmo%,
ibsta%, iberr%, ibcntl&) As Integer
C format:
void WINAPI RSDLLibtmo( short ud, short tmo,
short far *ibsta, short far *iberr, unsigned
long far *ibcntl )
C format (UNIX):
short RSDLLibtmo( short ud, short tmo, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Parameters:
ud Device handle
tmo Time-out in seconds
Example:
RSDLLibtmo (ud, 10, ibsta, iberr, ibcntl)
VB format:
Function RSDLLibsre (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 State of device
0 - local
1 - remote
Example:
RSDLLibsre (ud, 0, ibsta, iberr, ibcntl)
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)