Copyright 2003 GOODWILL INSTRUMENT CO., LTD.
Example in Visual Basic
The example as below will first create a window “Form1” and text box. Then send the commands to query the software information, set
center frequency at 1000MHz, get the trace data and display the returns in the text box. Pushing the “Test” button will start the operation.
This example use RS232 as interface. Refer to the code below to see the RS232 parameters.
Code:
VERSION 5.00
Object = "{648A5603-2C6E-101B-82B6-000000000014}#1.1#0"; "MSCOMM32.OCX"
Begin VB.Form Form1
Caption = "Form1"
ClientHeight = 3525
ClientLeft = 60
ClientTop = 345
ClientWidth = 6675
LinkTopic = "Form1"
ScaleHeight = 3525
ScaleWidth = 6675
Commentaires sur ces manuels