Agilent B2200 User’s Guide, Edition 2
4-17
Programming
Programming Examples
Table 4-7
Label Definition and Data Save Example
Imports Agilent.TMFramework
Imports Agilent.TMFramework.InstrumentIO
Module Module1
Sub Main()
Dim B2200 As New DirectIO("GPIB0::22::INSTR")
B2200.WriteLine("*RST")
B2200.WriteLine(":ROUT:FUNC ACON")
Console.WriteLine("Starts labeling." & Chr(10))
B2200.WriteLine(":SYST:DISP:STR 'Updating memory 1 data.'")
B2200.WriteLine(":ROUT:SYMB:PORT 1,'SMU1 '")
'10
B2200.WriteLine(":ROUT:SYMB:PORT 2,'SMU2 '")
B2200.WriteLine(":ROUT:SYMB:PORT 3,'SMU3 '")
B2200.WriteLine(":ROUT:SYMB:PORT 4,'UNUSED'")
B2200.WriteLine(":ROUT:SYMB:PORT 5,'SMU4-F'")
B2200.WriteLine(":ROUT:SYMB:PORT 6,'SMU4-S'")
B2200.WriteLine(":ROUT:SYMB:PORT 7,'SMU5-F'")
B2200.WriteLine(":ROUT:SYMB:PORT 8,'SMU5-S'")
B2200.WriteLine(":ROUT:SYMB:PORT 9,'OPEN '")
B2200.WriteLine(":ROUT:SYMB:PORT 10,'BIAS '")
B2200.WriteLine(":ROUT:SYMB:PORT 11,'OPEN '")
B2200.WriteLine(":ROUT:SYMB:PORT 12,'GROUND'")
B2200.WriteLine(":ROUT:SYMB:PORT 13,'CMU-H '")
B2200.WriteLine(":ROUT:SYMB:PORT 14,'CMU-L '")
B2200.WriteLine(":ROUT:SYMB:CHAN ALL,1,'BULK '")
B2200.WriteLine(":ROUT:SYMB:CHAN ALL,2,'SOURCE'")
B2200.WriteLine(":ROUT:SYMB:CHAN ALL,3,'GATE '")
B2200.WriteLine(":ROUT:SYMB:CHAN ALL,4,'DRAIN '")
B2200.WriteLine(":ROUT:SYMB:CHAN ALL,5,'GROUND'")
'28
B2200.WriteLine(":SYST:MEMO:SAVE 1")
B2200.WriteLine(":SYST:MEMO:COMM 1,'Port label info '")
B2200.WriteLine(":SYST:DISP:STR 'Memory 1 data was updated.'")
B2200.Close()
Console.WriteLine("Labeling completed." & Chr(10))
End Sub
'34
End Module
Line
Description
9, 31
Displays message on the LCD.
10 to 28
Defines labels for the inputs 1 to 14 and the outputs 1 to 5.
29
Saves the switch module setup including the labels into the internal memory 1.
30
Defines the comment “Port label info” for the memory 1.
Summary of Contents for B2200A
Page 17: ...1 Introduction ...
Page 21: ...Agilent B2200 User s Guide Edition 2 1 5 Introduction Front Panel Figure 1 1 Front Panel View ...
Page 23: ...Agilent B2200 User s Guide Edition 2 1 7 Introduction Rear Panel Figure 1 2 Rear Panel View ...
Page 34: ...1 18 Agilent B2200 User s Guide Edition 2 Introduction Accessories and Options ...
Page 35: ...2 Installation ...
Page 60: ...2 26 Agilent B2200 User s Guide Edition 2 Installation Maintenance ...
Page 61: ...3 Front Panel Operation ...
Page 99: ...4 Programming ...
Page 127: ...5 SCPI Command Reference ...
Page 187: ...6 VXI plug play Driver ...
Page 220: ...6 34 Agilent B2200 User s Guide Edition 2 VXI plug play Driver Driver Functions ...
Page 221: ...7 Error Messages ...