![Rohde & Schwarz 1065.6000.20 Operating Manual Download Page 410](http://html1.mh-extra.com/html/rohde-and-schwarz/1065-6000-20/1065-6000-20_operating-manual_1477758410.webp)
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)
Summary of Contents for 1065.6000.20
Page 3: ......
Page 5: ......
Page 17: ......
Page 57: ...Contents Description of Commands FSE 1065 6016 12 I 6 4 E 16...
Page 379: ...Contents Programming Examples FSE 1065 6016 12 I 7 2 E 1...
Page 391: ......
Page 393: ...Contents Maintenance and Instrument Interfaces FSE 1065 6016 12 I 8 2 E 15...
Page 419: ......
Page 421: ...Contents Error Messages FSE 1065 6016 12 I 9 2 E 1...
Page 429: ......