![Rohde & Schwarz 1065.6000.20 Operating Manual Download Page 409](http://html1.mh-extra.com/html/rohde-and-schwarz/1065-6000-20/1065-6000-20_operating-manual_1477758409.webp)
Contents - Maintenance and Instrument Interfaces
FSE
1065.6016.12
8.16
E-15
RSDLLibrd()
The function reads data from the instrument into the string
Rd
with the handle
ud
.
VB format:
Function RSDLLibrd (ByVal ud%, ByVal Rd$, ibsta%, iberr%,
ibcntl&) As Integer
C format:
short FAR PASCAL 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 )
Parameter:
ud
Device handle
Rd
String into which the read data are copied.
Example:
RSDLLibrd (ud, Rd, ibsta, iberr, ibcntl)
This function fetches replies of the IEC/IEEE-bus parser in response to a query command.
For this, a string of sufficient length must be generated when programming in Visual Basic. This can be
accomplished in the definition of the string or with the command
Space$()
.
Generation of a string of the length 100:
-
Dim Rd as String * 100
-
Dim Rd as String
Rd = Space$(100)
RSDLLilrd
The function reads
Cnt
bytes from the instrument with the handle
ud
.
VB format:
Function RSDLLilrd (ByVal ud%, ByVal Rd$, ByVal Cnt&, ibsta%,
iberr%, ibcntl&) As Integer
C format:
short FAR PASCAL RSDLLilrd( short ud, char far *Rd, unsigned
long Cnt, short far *ibsta, short far *iberr, unsigned long
far *ibcntl )
Parameter:
ud
Device handle
cnt
Maximum number of bytes copied to target string
Rd
by the
DLL.
Example:
RSDLLilrd (ud, RD, 100, ibsta, iberr, ibcntl)
The function reads data from an instrument same as function
RSDLLibrd()
but with the difference that
here the maximum number of bytes is allowed to be copied to target string
Rd
to be defined with
Cnt
.
Writing beyond a string can thus be prevented with this function. The number of bytes cut off is lost.
RSDLLibrdf()
Reads data from the instrument into the file
file
with the handle
ud
.
VB format:
Function RSDLLibrdf (ByVal ud%, ByVal file$, ibsta%, iberr%,
ibcntl&) As Integer
C format:
short FAR PASCAL RSDLLibrdf( 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 )
Parameter:
ud
Device handle
file
File into which the read data are written.
Example:
RSDLLibrdf (ud, c:\db.sav, ibsta, iberr, ibcntl)
This function serves to read replies of the IEC/IEEE-bus parser that are larger than 64 KB. The file
name may include the drive and path.
Summary of Contents for 1065.6000.20
Page 3: ......
Page 5: ......
Page 17: ......
Page 57: ...Contents Description of Commands FSE 1065 6016 12 I 6 4 E 16...
Page 379: ...Contents Programming Examples FSE 1065 6016 12 I 7 2 E 1...
Page 391: ......
Page 393: ...Contents Maintenance and Instrument Interfaces FSE 1065 6016 12 I 8 2 E 15...
Page 419: ......
Page 421: ...Contents Error Messages FSE 1065 6016 12 I 9 2 E 1...
Page 429: ......