
R&S FSP
Instrument Functions
RSIB Interface Functions
4.252
Operating Manual 1164.4556.12 - 06
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.
RSDLLibwrtf
This function sends the contents of a
file$
file to the device with the handle
ud
.
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()
.
RSDLLibrd()
The function reads data from the device with the handle
ud
into the string
Rd
.
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)
VB format:
Function RSDLLibwrtf (ByVal ud%, ByVal
file$, 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
file
File whose contents is sent to the
device.
Example:
RSDLLibwrtf(ud, "C:\db.sav", ibsta, iberr,
ibcntl)
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
)
Parameters:
ud
Device handle
Rd
String to which the read data is copied.
Example:
RSDLLibrd (ud, Rd, ibsta, iberr, ibcntl)
Summary of Contents for R&S FSP Series
Page 1: ...R S FSP Spectrum Analyzer Operating Manual 1164 4556 12 06 Test Measurement Operating Manual ...
Page 24: ...R S FSP Putting into Operation 1 2 Operating Manual 1164 4556 12 06 ...
Page 72: ...R S FSP Manual Operation 3 2 Operating Manual 1164 4556 12 06 ...
Page 793: ...R S FSP Index Operating Manual 1164 4556 12 06 4 11 ...
Page 794: ...R S FSP 4 12 Operating Manual 1164 4556 12 06 ...
Page 795: ...Operating Manual 1164 4556 12 06 4 13 R S FSP ...
Page 796: ...R S FSP 4 14 Operating Manual 1164 4556 12 06 ...