R&S ESU
Instrument Functions
RSIB Interface Functions
4.366
Operating Manual 1302.6163.12 - 03
In order to enable the trace data to be directly read into a float array, a special func-
tion declaration must be created.
Declare Function RSDLLilrdTraceReal Lib "rsib32.dll" Alias "RSDLLilrd" (ByVal
ud%, Rd As Single, ByVal Cnt&, ibsta%, iberr%, ibcntl&) As Integer
Example
Dim ibsta As Integer
' Status variable
Dim iberr As Integer
' Error variable
Dim ibcntl As Long
' Count variable
Dim ud As Integer
' Handle for measuring instrument
Dim Result As String
' Buffer for simple results
Dim Digits As Byte
' Number of digits of length indication
Dim TraceBytes As Long
' Length of trace data in bytes
Dim TraceData(625) As Single
' Buffer for floating point Binary data
' Set up connection to instrument
ud = RSDLLibfind("89.10.38.97", ibsta, iberr, ibcntl)
' Query trace data in real format
Call RSDLLibwrt(ud, "FORM:DATA REAL,32", ibsta, iberr, ibcntl)
Call RSDLLibwrt(ud, "TRACE? TRACE1", ibsta, iberr, ibcntl)
' Read number of digits of length indication
Result = Space$(20)
Call RSDLLilrd(ud, Result, 2, ibsta, iberr, ibcntl)
Digits = Val(Mid$(Result, 2, 1))
' Read length indication
Result = Space$(20)
Call RSDLLilrd(ud, Result, Digits, ibsta, iberr, ibcntl)
TraceBytes = Val(Left$(Result, Digits))
Prefix for
binary data
Number of digits of
the following length
indication
Length of data, e.g.
501 pixels
4 bytes/pixel
#
2004
4
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 ...