Specifications
ZVx Interfaces
1043.0009.50 A.15 E-8
RSDLLibrd()
The function reads data from the device with the handle ud into the string Rd.
VB format: Function RSDLLibrd (ByVal ud%, ByVal Rd$, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI 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 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 )
Parameter: 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.