EasyManua.ls Logo

Agilent Technologies E5071C - Page 1057

Agilent Technologies E5071C
2685 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
E5071C
1284
actual
Description The number of data bytes actually read out (output)
Data type Long integer type
For information on the variable (Status) and the variable (addr), refer to
Variable.
Each functional part of EnterSiclLanArrayReal64 is described below.
(1) Retrieves the data header.
(2) Stores the number of data bytes into the size variable in the header
part.
(3) Retrieves the formatted data array for trace 1 in channel 1 and stores
it into the databuf variable.
(4) Retrieves the message terminator at the end of the data.
EnterSiclLanArrayReal64
Function EnterSiclLanArrayReal64(addr As Integer, databuf() As Double)
As Long
Dim Status As Integer
Dim actualcnt As Long
Dim buf As String * 8
Dim size As Long
On Error GoTo ErrHandler
'''Read header info of "#6NNNNNN"
Status = iread(addr, buf, 8, I_TERM_MAXCNT, actualcnt) '.................(1)
size = Val(Mid$(buf, 3, 6)) '.................(2)
'''Read data
Status = iread(addr, databuf, size, I_TERM_MAXCNT, actualcnt) '.................(3)
'''Read ending LF
Status = iread(addr, buf, 1, I_TERM_MAXCNT, actualcnt) '.................(4)
EnterSiclLanArrayReal64 = size / 8
Exit Function

Table of Contents