EasyManua.ls Logo

Keysight 34972A - Page 257

Keysight 34972A
353 pages
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...
Application Programs 6
Keysight 34970A/34972A User’s Guide 257
For I = 1 To numberMeasurements
SendSCPI "DATA:REMOVE? 1" ’ Request 1 reading from memory
Cells(I + 3, 1) = I ’ The reading number
Cells(I + 3, 2) = Val(getScpi()) ’ The reading value
Do ’ Wait for instrument to put another reading in memory
SendSCPI "DATA:POINTS?" ’ Get the number of readings stored
points = Val(getScpi())
Loop Until points >= 1 Or I >= numberMeasurements
Next I
ClosePort ’ Close communications on GPIB
End Sub

Table of Contents

Related product manuals