Appendix 2. Programming Examples - Planar R54 Programming Manual

Vector reflectometer; programming com/dcom
Table of Contents

Advertisement

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, PLANAR R54x2, 00000001, 2.0/ 1.1
Dim app As Object
Sub Example1()
Set app = CreateObject("R54x2.Application")
ID = app.Name
MsgBox ("Information string read out: " + ID)
End Sub

Appendix 2. Programming Examples

221

Advertisement

Table of Contents
loading

Table of Contents