R&S ESU Series Operating Manual page 390

Emi test receiver
Table of Contents

Advertisement

R&S ESU
C format (UNIX):
Parameters:
Example:
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.
VB format:
C format:
C format (UNIX):
Parameters:
Example:
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.
VB format:
C format:
C format (UNIX):
Parameters:
Example:
Operating Manual 1302.6163.12 - 03
short RSDLLilwrt( short ud, char *Wrt,
unsigned long Cnt, short *ibsta, short
*iberr, unsigned long *ibcntl)
Device handle
ud
String sent to the GPIB parser.
Wrt
Number of bytes sent to the device.
Cnt
RSDLLilwrt (ud, '......', 100, ibsta,
iberr, ibcntl)
Function RSDLLibwrtf (ByVal ud%, ByVal
file$, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibwrt( short ud, char far
*Wrt, short far *ibsta, short far *iberr,
unsigned long far *ibcntl )
short RSDLLibwrt( short ud, char *Wrt, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Device handle
ud
File whose contents is sent to the
file
device.
RSDLLibwrtf(ud, "C:\db.sav", ibsta, iberr,
ibcntl)
Function RSDLLibrd (ByVal ud%, ByVal Rd$,
ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibrd( short ud, char far
*Rd, short far *ibsta, short far *iberr,
unsigned long far *ibcntl )
short RSDLLibrd( short ud, char *Rd, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Device handle
ud
String to which the read data is copied.
Rd
RSDLLibrd (ud, Rd, ibsta, iberr, ibcntl)
Instrument Functions
RSIB Interface Functions
4.359

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents