Agilent Technologies B1500A Service Manual Page 216

  • Download
  • Add to my manuals
  • Print
  • Page
    / 598
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 215
3-38 Agilent B1500A/B1505A Programming Guide, Edition 11
Programming Examples
Quasi Pulsed Spot Measurements
Measurement
Result Example
BVceo (V), Status
7.759, CCV
Data save completed.
Do you want to perform measurement again?
Dim data1 As String = session.ReadString(17) ’33
Dim status As String = Left(data1, 3)
data1 = Mid(data1, 4, 12)
Dim meas As Double = Val(data1)
data(j, i) = Chr(13) & Chr(10) & meas & ", " & status
session.WriteString("DZ" & vbLf) ’39
save_data(fname, title, value, data, nop1, nop2, session, t)
Exit Sub
Check_err: ’43
session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256)
MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "")
End Sub
Line Description
33 to 37 Reads the returned data and stores it into the data1 string variable. Finally, stores the
measured data into the data array.
39 to 41 Applies 0 V from all channels. And transfers the data stored in the data variable to the
save_data subprogram (see Table 3-1). And the subprogram will save the data into a
CSV file specified by the fname variable and displays the data on a message box.
43 to 45 Displays a message box to show an error message if the error is detected.
Page view 215
1 2 ... 211 212 213 214 215 216 217 218 219 220 221 ... 597 598

Comments to this Manuals

No comments