2Description Of Interface Functions - Rohde & Schwarz R&S FSP Series Operating Manual

Spectrum analyzer
Table of Contents

Advertisement

R&S FSP
4.12.1.2
Description of Interface Functions
RSDLLibfind()
The function provides a handle for access to the device with the name udName.
VB format:
C format:
C format (UNIX):
Parameters:
Example:
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 han-
dle has a negative value.
RSDLLibwrt
This function sends data to the device with the handle ud.
VB format:
C format:
C format (UNIX):
Parameters:
Example:
This function allows setting and query commands to be sent to the measuring instru-
ments. 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:
C format:
Operating Manual 1164.4556.12 - 06
Function RSDLLibfind (ByVal udName$, ibsta%,
iberr%, ibcntl&) As Integer
short WINAPI RSDLLibfind( char far *udName,
short far *ibsta, short far *iberr, unsigned
long far *ibcntl)
short RSDLLibfind( char *udName, short
*ibsta, short *iberr, unsigned long *ibcntl)
IP address of device
udName
ud = RSDLLibfind ("89.10.38.97", ibsta,
iberr, ibcntl)
Function RSDLLibwrt (ByVal ud%, ByVal Wrt$,
ibsta%, iberr%, ibcntl&) As Integer
short WINAPI RSDLLibwrt( short ud, char far
*Wrt, short far *ibsta, short far *iberr,
unsigned long far *ibcntl )
short RSDLLibwrt( short ud, char *Wrt, short
*ibsta, short *iberr, unsigned long *ibcntl
)
Device handle
ud
String sent to the device.
Wrt
RSDLLibwrt(ud, "SENS:FREQ:STAR?", ibsta,
iberr, ibcntl)
Function RSDLLilwrt (ByVal ud%, ByVal Wrt$,
ByVal Cnt&, ibsta%, iberr%, ibcntl&) As
Integer
short WINAPI RSDLLilwrt( short ud, char far
*Wrt, unsigned long Cnt, short far *ibsta,
short far *iberr, unsigned long far *ibcntl)
Instrument Functions
RSIB Interface Functions
4.251

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents