![Rohde & Schwarz R&S FSP Series Operating Manual Download Page 331](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsp-series/rands-fsp-series_operating-manual_1477864331.webp)
Operating Manual 1164.4556.12 - 06
4.259
R&S FSP
Instrument Functions
RSIB Interface Functions
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 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 ...