
Contents - Maintenance and Instrument Interfaces
FSE
1065.6016.12
8.14
E-15
Description of Interface Functions
Note: The description of the UNIX format is only relevant to instruments with Windows NT controller.
RSDLLibfind()
The function provides a handle for access to the device with the name
udName
.
VB format:
Function RSDLLibfind (ByVal udName$, ibsta%, iberr%, ibcntl&)
As Integer
C-format:
short FAR PASCAL RSDLLibfind( char far *udName, short far
*ibsta, short far *iberr, unsigned long far *ibcntl)
C format (Unix):
short RSDLLibfind( char *udName, short *ibsta, short *iberr,
unsigned long *ibcntl)
Parameter:
udName
IP address of device
Example:
ud =
RSDLLibfind ("89.10.38.97", ibsta, iberr, ibcntl)
The function must be called before all other interface functions.
The function supplies a handle as a return value. The handle must be specified in all functions for
accessing the instrument. If no instrument with the name
udName
is found, the handle will take on a
negative value.
The local link on the instrument is established with the name
’@local’
. For setting up a link via a
network, on the other hand, the IP address of the instrument must be given (eg
’89.1.1.200’
).
RSDLLibwrt
The function sends data to the instrument with the handle
ud
.
VB format:
Function RSDLLibwrt (ByVal ud%, ByVal Wrt$, ibsta%, iberr%,
ibcntl&) As Integer
C format:
short FAR PASCAL RSDLLibwrt( short ud, char far *Wrt, short
far *ibsta, short far *iberr, unsigned long far *ibcntl )
C format (Unix):
short RSDLLibwrt( short ud, char *Wrt, short *ibsta, short
*iberr, unsigned long *ibcntl )
Parameter:
ud
Device handle
Wrt
String sent to the device.
Example:
RSDLLibwrt(ud, "SENS:FREQ:STAR?", ibsta, iberr, ibcntl)
The function allows setting and query commands to be sent to the measuring instruments. The function
RSDLLibeot()
is used for defining whether the data are interpreted as a complete command.
Содержание 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: ......