Rear Panel Connectors R&S
®
ZVA/ZVB/ZVT
1145.1084.12 8.16 E-3
file File into 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: short 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 )
Parameter: 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: short 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)
Parameter: ud Device handle
v State of device
0 - local
1 - remote
Example: RSDLLibsre (ud, 0, ibsta, iberr, ibcntl)
RSDLLibloc
This function temporarily switches the device to the 'LOCAL' state.
VB format: Function RSDLLibloc (ByVal ud%, ibsta%, iberr%, ibcntl&) As Integer
C format: short 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