EasyManua.ls Logo

Rohde & Schwarz EMI Test ReceiverESCI - Description of Interface Functions

Rohde & Schwarz EMI Test ReceiverESCI
495 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 ESCI RSIB Interface Functions
1166.6004.12 4.341 E-1
Description of Interface Functions
RSDLLibfind()
The function provides a handle for access to the device with the name udName.
VB format: Function RSDLLibfind (ByVal udName$, ibsta%, iberr%, ibcntl&)
As Integer
C format: short WINAPI RSDLLibfind( char far *udName, short far *ibsta,
short far *iberr, unsigned long far *ibcntl)
C format (UNIX): short RSDLLibfind( char *udName, short *ibsta, short *iberr,
unsigned long *ibcntl)
Parameters: udName IP address of device
Example: ud = RSDLLibfind ("89.10.38.97", ibsta, iberr, ibcntl)
The function must be called prior to all other functions of the interface.
As return value, the function provides a handle that must be indicated in all functions for access to the
device. If the device with the name udName is not found, the handle has a negative value.
RSDLLibwrt
This function sends data to the device with the handle ud.
VB format: Function RSDLLibwrt (ByVal ud%, ByVal Wrt$, ibsta%, iberr%,
ibcntl&) As Integer
C format: short WINAPI RSDLLibwrt( short ud, char far *Wrt, short far
*ibsta, short far *iberr, unsigned long far *ibcntl )
C format (UNIX): short RSDLLibwrt( short ud, char *Wrt, short *ibsta, short
*iberr, unsigned long *ibcntl )
Parameters: ud Device handle
Wrt String sent to the device.
Example: RSDLLibwrt(ud, "SENS:FREQ:STAR?", ibsta, iberr, ibcntl)
This function allows setting and query commands to be sent to the measuring instruments. Whether the
data is interpreted as a complete command can be set using the function RSDLLibeot().
RSDLLilwrt
This function sends Cnt bytes to a device with the handle ud.
VB format: Function RSDLLilwrt (ByVal ud%, ByVal Wrt$, ByVal Cnt&,
ibsta%, iberr%, ibcntl&) As Integer
C format: short WINAPI RSDLLilwrt( short ud, char far *Wrt,
unsigned long Cnt, short far *ibsta, short far *iberr,
unsigned long far *ibcntl)
C format (UNIX): short RSDLLilwrt( short ud, char *Wrt, unsigned long Cnt,
short *ibsta, short *iberr, unsigned long *ibcntl)
Parameters: ud Device handle
Wrt String sent to the GPIB parser.
Cnt Number of bytes sent to the device.
Example: RSDLLilwrt (ud, '......', 100, ibsta, iberr, ibcntl)
Like RSDLLibwrt() this function sends data to a device. The only difference is that binary data can be
sent as well. The length of the data is not determined by a zero-terminated string, but by the indication of
Cnt bytes. If the data is to be terminated with EOS (0Ah), the EOS byte must be appended to the string.

Table of Contents

Related product manuals