Operating Manual 1302.6163.12 - 03
4.365
R&S ESU
Instrument Functions
RSIB Interface Functions
Different types of processor architecture store data in different byte sequences. For
example, Intel processors store data in the reverse order of Motorola processors.
Comparison of byte sequences:
4.14.2
Programming via the RSIB Protocol
4.14.2.1
Visual Basic
Programming tips
Access to the functions of the RSIB.DLL
To create Visual Basic control applications, the file RSIB.BAS must be added to a
project for 16-bit Basic programs and the file RSIB32.BAS for 32-bit Basic programs
(D:\R_S\INSTR\RSIB) so that the functions of the RSIB.DLL or RSIB32.DLL can be
accessed.
Generating a response buffer
Prior to calling the functions
RSDLLibrd()
and
RSDLLilrd(),
a string of suffi-
cient length must be generated. This is possible either by defining the string or using
the command
Space$()
.
Generating a string of the length 100:
–
Dim Response as String * 100
–
Dim Response as String
Response = Space$(100)
If a response is to be output as a string from the measuring instrument, the
appended blanks can be removed using the Visual Basic Function RTrim().
Example:
Response = Space$(100)
Call RSDLLibrd(ud, Response, ibsta, iberr, ibcntl)
Response = RTrim(Response)
' Output of Response
Reading out trace data in real format
Using the function declarations in the file RSIB.BAS or RSIB32.BAS the responses
of the device can be assigned to one string only. If the data are to be read into an
array with float values, the header and the useful data must be read out with sepa-
rate function calls.
Example of a header
Byte sequence
Use in
Display in memory
Description
Big Endian
Motorola processors,
network standard
Most significant byte at
least significant address
The
most significant
byte is at the left end
of the word.
Little Endian
Intel processors
Least significant byte at
least significant address
The
most significant
byte is at the right
end of the word.
Summary of Contents for 1129.7246.03
Page 1: ...R S ESU EMI Test Receiver Operating Manual 1302 6163 12 03 Test Measurement Operating Manual ...
Page 25: ......
Page 27: ...R S ESU Putting into Operation 1 2 Operating Manual 1302 6163 12 03 ...
Page 29: ...R S ESU Getting Started 2 2 Operating Manual 1302 6163 12 03 ...
Page 31: ...R S ESU Manual Operation 3 2 Operating Manual 1302 6163 12 03 ...
Page 349: ...R S ESU Instrument Functions Basic Settings 4 318 Operating Manual 1302 6163 12 03 ...
Page 405: ...R S ESU Instrument Functions User Port 4 374 Operating Manual 1302 6163 12 03 ...
Page 439: ...R S ESU Remote Control Basics Status Reporting System 5 34 Operating Manual 1302 6163 12 03 ...
Page 841: ...R S ESU Error Messages Device Specific Messages 9 10 Operating Manual 1302 6163 12 03 ...
Page 854: ...Operating Manual 1302 6163 12 03 10 13 R S ESU ...
Page 855: ...R S ESU 10 14 Operating Manual 1302 6163 12 03 ...