FSE Instrument Interfaces
1065.6016.12 8.15 E-15
RSDLLilwrt
The function sends Cnt bytes to the instrument with the handle ud.
VB format: Function RSDLLilwrt (ByVal ud%, ByVal Wrt$, ByVal Cnt&,
ibsta%, iberr%, ibcntl&) As Integer
C format: short FAR PASCAL RSDLLilwrt( short ud, char far *Wrt,
unsigned long Cnt, short far *ibsta, short far *iberr,
unsigned long far *ibcntl)
C format (Unix): short RSDLLilwrt( short ud, char *Wrt, unsigned long Cnt,
short *ibsta, short *iberr, unsigned long *ibcntl)
Parameter: ud Device handle
Wrt String sent to the IEC/IEEE-bus parser.
Cnt Number of bytes sent to the instrument.
Example: RSDLLilwrt (ud, ’......’, 100, ibsta, iberr, ibcntl)
This function sends data to an instrument same as function RSDLLibwrt() but with the difference that
binary data, too, can be sent. The length of the data is determined not by a zero-terminated string but by
the definition of Cnt bytes. If the data are to be terminated with EOS (0Ah), the EOS byte must be
appended to the string.
RSDLLibwrtf
The function sends the contents of a file to the instrument with the handle ud.
VB format: Function RSDLLibwrtf (ByVal ud%, ByVal file$, 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 RSDLLibwrtf( short ud, char *Wrt, short *ibsta, short
*iberr, unsigned long *ibcntl )
Parameter: ud Device handle
file File whose contents are sent to the instrument.
Example: RSDLLibrdf(ud, "C:\db.sav", 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.