
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)
Содержание 1065.6000.20
Страница 3: ......
Страница 5: ......
Страница 17: ......
Страница 57: ...Contents Description of Commands FSE 1065 6016 12 I 6 4 E 16...
Страница 379: ...Contents Programming Examples FSE 1065 6016 12 I 7 2 E 1...
Страница 391: ......
Страница 393: ...Contents Maintenance and Instrument Interfaces FSE 1065 6016 12 I 8 2 E 15...
Страница 419: ......
Страница 421: ...Contents Error Messages FSE 1065 6016 12 I 9 2 E 1...
Страница 429: ......