session.WriteString("DZ" & vbLf)
save_data(fname, title, value, data, nop1, nop2, session, t)
Exit Sub
Check_err:
session.WriteString("EMG? " & err & vbLf) : msg = session.ReadString(256)
MsgBox("Instrument error: " & err & Chr(10) & msg, vbOKOnly, "")
Exit Sub
Check_nop:
MsgBox("No. of data: " & rep & " (not " & nop1 * 3 & ")", vbOKOnly, "")
End Sub
Line
70 to 72
Applies 0 V from all channels. And transfers the data stored in the data variable to the
save_data subprogram (see
CSV file specified by the fname variable and displays the data on a message box.
75 to 76
Displays a message box to show an error message if the error is detected.
80
Displays a message box to show an error message if the number of returned data is not
correct.
Measurement
Result Example
Programming Examples
Staircase Sweep with Pulsed Bias Measurements
Table
Ib (mA), Vc (V), Ic (mA), Time (sec), Status
3, 0, -0.39, 0.14938, NCI
3, 0.5, 5.28, 0.16938, NCI
3, 1, 5.39, 0.18938, NCI
3, 1.5, 5.48, 0.20938, NCI
3, 2, 5.57, 0.22938, NCI
3, 2.5, 5.66, 0.24938, NCI
3, 3, 5.78, 0.26938, NCI
3, 3.5, 5.97, 0.28938, NCI
3, 4, 6.305, 0.30938, NCI
3, 4.5, 6.89, 0.32938, NCI
3, 5, 7.97, 0.34938, NCI
5, 0, -0.98, 0.12291, NCI
5, 0.5, 9.685, 0.14291, NCI
5, 1, 9.845, 0.16291, NCI
5, 1.5, 9.985, 0.18291, NCI
5, 2, 10.12, 0.20291, NCI
5, 2.5, 10.26, 0.22291, NCI
5, 3, 10.455, 0.24291, NCI
5, 3.5, 10.78, 0.26291, NCI
5, 4, 11.37, 0.28291, NCI
5, 4.5, 12.46, 0.30291, NCI
5, 5, 14.47, 0.32291, NCI
7, 0, -1.59, 0.12552, NCI
7, 0.5, 13.795, 0.14552, NCI
7, 1, 14.005, 0.16552, NCI
7, 1.5, 14.18, 0.18552, NCI
7, 2, 14.345, 0.20552, NCI
7, 2.5, 14.53, 0.22552, NCI
7, 3, 14.785, 0.24552, NCI
7, 3.5, 15.22, 0.26552, NCI
7, 4, 16.045, 0.28552, NCI
7, 4.5, 17.56, 0.30552, NCI
7, 5, 20.365, 0.32552, NCI
Data save completed.
Do you want to perform measurement again?
3- 36
Keysight E5260/E5270 Programming Guide, Edition 4
Description
3-1). And the subprogram will save the data into a
'70
'75
'80