EasyManua.ls Logo

Rohde & Schwarz ZVL series - Page 612

Rohde & Schwarz ZVL series
624 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
R&S ZVL Interfaces and Connectors
Rear Panel Connectors
Operating Manual 1303.6580.32-05 597
C format
(Unix)
short RSDLLibrd( short ud, char *Rd, short *ibsta, short *iberr,
unsigned long *ibcntl )
Parameters
ud // Device handle
Rd // String into which the read data is copied
Example
RSDLLibrd (ud, Rd, ibsta, iberr, ibcntl)
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 generated before. 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
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)
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 into the target 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 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 )

Table of Contents

Related product manuals