R&S ESU Series Operating Manual page 391

Emi test receiver
Table of Contents

Advertisement

R&S ESU
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.
VB format:
C format:
C format (UNIX):
Parameters:
Example:
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:
C format:
C format (UNIX):
Parameters:
Example:
4.360
Function RSDLLilrd (ByVal ud%, ByVal Rd$,
ByVal Cnt&, ibsta%, iberr%, ibcntl&) As
Integer
short WINAPI RSDLLilrd( short ud, char far
*Rd, unsigned long Cnt, short far *ibsta,
short far *iberr, unsigned long far *ibcntl
)
short RSDLLilrd( short ud, char *Rd,
unsigned long Cnt, short *ibsta, short
*iberr, unsigned long *ibcntl )
Device handle
ud
Maximum number of bytes copied from
cnt
the DLL into the target string Rd.
RSDLLilrd (ud, RD, 100, ibsta, iberr,
ibcntl)
Function RSDLLibrdf (ByVal ud%, ByVal
file$, ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibrd( short ud, char far
*file, short far *ibsta, short far *iberr,
unsigned long far *ibcntl )
short RSDLLibrd( short ud, char *file, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Device handle
ud
File to which the read data is written.
file
RSDLLibrdf (ud, "c:\db.sav", ibsta, iberr,
ibcntl)
Instrument Functions
RSIB Interface Functions
Operating Manual 1302.6163.12 - 03

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents