High Country Tek DVC80 User Manual

Page 63

Advertising
background image

P/N: 021-00154, Rev. A.6 - updated for V4.7 Tools

Page | 63

Virtual Display configuring and use in debugging
String Utilization

The Binary Counter program is designed to have the Dig_1, Dig_2 and Dig_3 DVC5/10 LEDs count in binary
from 0 to 7 (all LEDs on). The counter increments once every 2 seconds in slow mode and once every 200ms
in fast mode. The mode changes from slow to fast or fast to slow when the count reaches 7.

The Virtual Display is a Program Loader Monitor facility of the DVC5/10 and enables you to display program
variables as your program executes to aid program debugging.

Now you will be guided through the programming of the DVC to achieve the desired behavior. Load the
Programming Tool and proceed.

The first thing to do is to add a Virtual Display and Logic Sequence icon to your project. Right mouse click in the
project window and select the two items one at a time.

Next configure the Virtual Display by double clicking on the Virtual
Display icon in the project window. The window shown appears
without the Screen1 icon. Right click in the Virtual Display window
and select “Add Screen”. Now double click on the Screen1 icon to
open the Virtual Display setup window.



Enter the data displayed into the Virtual Display
Setup window fields including renaming the
screen from Screen1 to Display. These fields are
used to format the screen display’s output. Note
the Test Display on the right. It displays what
your actual Virtual Display window will look like
when your application executes.








Next configure the 3 digital inputs that comprise the counter.
Double click the DVC5/10 icon in the project window and select the
Dig_ 1-3 input buttons one at a time and set the Software Toggle
field to Toggle as shown for Dig_1. Setting a digital input to toggle
mode allows us to set its state (on or off) programmatically.






Next, double click on the Logic0 icon in the project window. This
will bring up a blank window where we will add bubbles and
specify the bubble transition conditions. First change the Name

Advertising
This manual is related to the following products: