
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)
Содержание 1129.7246.03
Страница 1: ...R S ESU EMI Test Receiver Operating Manual 1302 6163 12 03 Test Measurement Operating Manual ...
Страница 25: ......
Страница 27: ...R S ESU Putting into Operation 1 2 Operating Manual 1302 6163 12 03 ...
Страница 29: ...R S ESU Getting Started 2 2 Operating Manual 1302 6163 12 03 ...
Страница 31: ...R S ESU Manual Operation 3 2 Operating Manual 1302 6163 12 03 ...
Страница 349: ...R S ESU Instrument Functions Basic Settings 4 318 Operating Manual 1302 6163 12 03 ...
Страница 405: ...R S ESU Instrument Functions User Port 4 374 Operating Manual 1302 6163 12 03 ...
Страница 439: ...R S ESU Remote Control Basics Status Reporting System 5 34 Operating Manual 1302 6163 12 03 ...
Страница 821: ...R S ESU Remote Control Programming Examples More Complex Programming Examples 7 32 Operating Manual 1302 6163 12 03 ...
Страница 841: ...R S ESU Error Messages Device Specific Messages 9 10 Operating Manual 1302 6163 12 03 ...
Страница 854: ...Operating Manual 1302 6163 12 03 10 13 R S ESU ...
Страница 855: ...R S ESU 10 14 Operating Manual 1302 6163 12 03 ...