323
Appendix 2. Programming Examples
Example 1. Instrument Information String Readout
The following program reads out and displays on the screen the instrument
information string – the Name property of the COM object. The string contains the
following fields:
Manufacturer, Model, Serial Number, Software Version/Firmware Version
For example:
Copper Mountain Technologies, TR5048, 00000001, 15.4.0/2.0
Dim app As Object
Sub Example1()
Set app = CreateObject("TRVNA.Application")
ID = app.Name
MsgBox ("Information string read out: " + ID)
End Sub