Agilent Technologies E5071C Manual page 1057

Hide thumbs Also See for E5071C:
Table of Contents

Advertisement

E5071C
Description
Data 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
1284
actual
The number of data bytes actually read out (output)
Long integer type

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents