R&S ESCI RSIB Interface Functions
1166.6004.12 4.343 E-1
RSDLLibrdf()
Reads data from the device with the handle ud into the file file.
VB format: Function RSDLLibrdf (ByVal ud%, ByVal file$, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLibrd( short ud, char far *file, short far
*ibsta, short far *iberr, unsigned long far *ibcntl )
C format (UNIX): short RSDLLibrd( short ud, char *file, short *ibsta, short
*iberr, unsigned long *ibcntl )
Parameters: ud Device handle
file File to which the read data is written.
Example: RSDLLibrdf (ud, "c:\db.sav", ibsta, iberr, ibcntl)
The file name may as well include a drive or path specification.
RSDLLibtmo
This function defines the timeout for a device. The default value for the timeout is set to 5 seconds.
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 Timeout in seconds
Example: RSDLLibtmo (ud, 10, ibsta, iberr, ibcntl)
RSDLLibsre
This function sets the device to the 'LOCAL' or 'REMOTE' state.
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)