EasyManua.ls Logo

R&S ESU Series - Page 390

R&S ESU Series
855 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operating Manual 1302.6163.12 - 03 4.359
R&S ESU Instrument Functions
RSIB Interface Functions
Like RSDLLibwrt() this function sends data to a device. The only difference is that
binary data can be sent as well. The length of the data is not determined by a zero-
terminated string, but by the indication of Cnt bytes. If the data is to be terminated
with EOS (0Ah), the EOS byte must be appended to the string.
RSDLLibwrtf
This function sends the contents of a file$ file to the device with the handle ud.
This function allows setting and query commands to be sent to the measuring instru-
ments. Whether the data is interpreted as a complete command can be set using the
function RSDLLibeot().
RSDLLibrd()
The function reads data from the device with the handle ud into the string Rd.
C format (UNIX):
short RSDLLilwrt( short ud, char *Wrt,
unsigned long Cnt, short *ibsta, short
*iberr, unsigned long *ibcntl)
Parameters:
ud Device handle
Wrt String sent to the GPIB parser.
Cnt Number of bytes sent to the device.
Example:
RSDLLilwrt (ud, '......', 100, ibsta,
iberr, ibcntl)
VB format:
Function RSDLLibwrtf (ByVal ud%, ByVal
file$, ibsta%, iberr%, ibcntl&) As Integer
C format:
short WINAPI 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
)
Parameters:
ud Device handle
file File whose contents is sent to the
device.
Example:
RSDLLibwrtf(ud, "C:\db.sav", ibsta, iberr,
ibcntl)
VB format:
Function RSDLLibrd (ByVal ud%, ByVal Rd$,
ibsta%, iberr%, ibcntl&) As Integer
C format:
short WINAPI RSDLLibrd( short ud, char far
*Rd, short far *ibsta, short far *iberr,
unsigned long far *ibcntl )
C format (UNIX):
short RSDLLibrd( short ud, char *Rd, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Parameters:
ud Device handle
Rd String to which the read data is copied.
Example:
RSDLLibrd (ud, Rd, ibsta, iberr, ibcntl)

Table of Contents

Related product manuals