![background image](http://html1.mh-extra.com/html/rands/esu-series/esu-series_operating-manual_3138875391.webp)
R&S ESU
Instrument Functions
RSIB Interface Functions
4.360
Operating Manual 1302.6163.12 - 03
This function fetches the responses of the GPIB parser to a query.
In the case of Visual Basic programming, a string of sufficient length must be gener-
ated beforehand. This can be done during the definition of the string or using the
command
Space$()
.
Generation of a string of the length 100:
–
Dim Rd as String * 100
–
Dim Rd as String
Rd = Space$(100)
RSDLLilrd
This function reads
Cnt
bytes from the device with the handle
ud
.
Like the function
RSDLLibrd()
, this function reads data from a device. The only
difference is that in this case the maximum number of bytes to be copied to the tar-
get string
Rd
can be indicated by means of
Cnt
. This function prevents writing
beyond the end of the string.
RSDLLibrdf()
Reads data from the device with the handle
ud
into the
file
file .
VB format:
Function RSDLLilrd (ByVal ud%, ByVal Rd$,
ByVal Cnt&, ibsta%, iberr%, ibcntl&) As
Integer
C format:
short WINAPI RSDLLilrd( short ud, char far
*Rd, unsigned long Cnt, short far *ibsta,
short far *iberr, unsigned long far *ibcntl
)
C format (UNIX):
short RSDLLilrd( short ud, char *Rd,
unsigned long Cnt, short *ibsta, short
*iberr, unsigned long *ibcntl )
Parameters:
ud
Device handle
cnt
Maximum number of bytes copied from
the DLL into the target string
Rd
.
Example:
RSDLLilrd (ud, RD, 100, ibsta, iberr,
ibcntl)
VB format:
Function RSDLLibrdf (ByVal ud%, ByVal
file$, ibsta%, iberr%, ibcntl&) As Integer
C format:
short WINAPI RSDLLibrd( short ud, char far
*file, short far *ibsta, short far *iberr,
unsigned long far *ibcntl )
C format (UNIX):
short RSDLLibrd( short ud, char *file, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Parameters:
ud
Device handle
file
File to which the read data is written.
Example:
RSDLLibrdf (ud, "c:\db.sav", ibsta, iberr,
ibcntl)
Содержание ESU Series
Страница 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...