Load Edge Series
Remote Control 97
8.11 USB sample program
A sample program using Excel Visual Basic is explained. Refer to relevant document for
detailed about the Visual Basic.
Sample program
Read the firmware version of this product and display it on a worksheet.
Fig. 8-11-1 Design window of Excel Visual Basic
Private Sub CommandButton1_Click( ) „An event created when you click Command
Button1
El1.CmdSend "V" ‘send GPIB command to read version
Dim ret
El1.CmdRcv ret ‘Receive data from this product
Sheet1.Cells(1, 1) = ret ‘write the version information in cell A1
End Sub
The firmware version of this product is displayed on the excel worksheet as shown below.
Fig. 8-11-2 Worksheet prepared after the sample program is executed.