FSE Instrument Interfaces
1065.6016.12 8.17 E-15
RSDLLibtmo
The function defines the timeout for an instrument. The default value for the timeout is 5 seconds.
VB format: Function RSDLLibtmo (ByVal ud%, ByVal tmo%, ibsta%, iberr%,
ibcntl&) As Integer
C format: void FAR PASCAL 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 Time in seconds
Example: RSDLLibtmo (ud, 10, ibsta, iberr, ibcntl)
Timeout can occur in the following cases:
• Waiting for an SRQ with the function RSDLLWaitSrq().
• Waiting for an acknowledgment for data sent to an instrument with RSDLLibwrt() or
RSDLLilwrt().
• Waiting for a reply to a data request made with function RSDLLibrd() or RSDLLilrd().
RSDLLibsre
The function switches the instrument to LOCAL or REMOTE mode.
VB format: Function RSDLLibsre (ByVal ud%, ByVal v%, ibsta%, iberr%,
ibcntl&) As Integer
C format: void FAR PASCAL 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 Instrument status
0 - local
1 - remote
Example: RSDLLibsre (ud, 0, ibsta, iberr, ibcntl)