User manual
MAN0051-01 30 JUN 2000 PAGE 21
CH. 3
In addition to the Visual C++™ Demo program, a 32-Bit Visual Basic™ Diagnostic Demo program has
also been written by Horner APG. This program was written in Visual Basic™ 32-Bit Version 4.0. The
purpose of the program is to demonstrate how Visual Basic™ can be used with the PIF in a practical
application. The Visual Basic™ source code is included with the demonstration software. Visual Basic™
32-Bit Version 4.0 is needed to open the source code file. The Visual Basic™ demo is very much the
same in functionality and in appearance as the Visual C++™ demo. The options on the startup screens
are very much the same. The “Rack”, “Slot”, “Read”, “Write”, “Module Info”, “Run”, “Stop”, and “Data
Update Mode” all are nearly identical to the Visual C++™ demo (See Figure 3.3).
Figure 3.3 - Visual Basic™ Screen
One feature that the Visual C++™ does not have is a "Benchmark Test." The Benchmark test allows the
user to determine the scan times of certain cards located on a rack. This is accomplished by selecting
the rack number and slot number of the desired module and clicking on “Test” under the “Benchmark”
heading. The following screen will appear (Figure 3.4).
Figure 3.4 - Benchmark screen
Read
Stop Write
Run
Slot
Test
Module Info
Rack
Exit
Set Port
0
1
0
R
ack Not Found
Module Access PLC Control
R
ack Status
Status
D
ata Update Mode
Select Module
PIF Address
Module Value
Benchmark
Auto Read Update