3 saving dvc files, 4 restoring dvc files, 5 loading pgm and mem files – High Country Tek DVC80 User Manual

Page 26: 6 selecting or changing your project type, Saving dvc files, Restoring dvc files, Loading pgm and mem files, Selecting or changing your project type

Advertising
background image

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

Page | 26

3.3

Saving DVC Files

To save your project click on the File menu item in the Programming Tool project window and then select the
Save menu item. This saves the project file under the current filename. To save your project with a different
name click on File and select “Save as” on the menu selection. Type a new filename and save your new .dvc
project file.

Note: If you select an existing project name, the existing file will be deleted and replaced with the new DVC
project file. Also, if the open project has changed and you choose to exit the Programming Tool, you will be
prompted to save your project.

3.4 Restoring

DVC

Files

Every time the Programming Tool saves a projectname.dvc project file, a backup file is made of the previous
projectname.dvc file. The Programming Tool does this by changing the projectname.dvc file extension to
projectname.bak before creating a new projectname.dvc file. When Restore BAK file is selected from the File
menu, the Programming Tool automatically loads the last backup made, if one exists, for the current open
project. The restore feature allows users one level of undoing changes.

3.5

Loading PGM and MEM files

After a DVC project has been successfully compiled, it is ready to be loaded into the DVC master control
module. During compilation the Programming Tool creates two files named projectname.pgm and
projectname.mem. One additional file named projectname.inf is created if a DVC70 module is included in your
DVC project and used when you extract data from the DVC70 module. The .pgm and .mem files contain the
users’ application code in an executable format. The .pgm file contains the compiled application code and is
referenced by the Program Loader Monitor when you load the application into the DVC5/7/10. The .mem file
contains the memory information that specifies the configuration for all of the system inputs and outputs and is
loaded along with the .pgm file by the Program Loader Monitor

Note: .mem files contain all of the DVC physical information. If changes are made to the DVC configuration
with the Program Loader Monitor, you can update the DVC program with the new configuration data by doing
the following. Using the Program Loader Monitor, save a new .mem file by clicking on "Export to File". Using
the Programming Tool, open your project and click "File" and select "Load Mem File". Select the .mem file and
click Open. The program will automatically update all of the DVC physical information.

3.6

Selecting or Changing Your Project Type

Using the Project Menu of the Project window you can select from amongst four project types. These are:
DVC5
DVC5/J1939
DVC7
DVC10

When you first execute the Programming Tool a DVC10 empty project is assumed. When you change any
project from a DVC10 to a DVC5, DVC5/J1939 or DVC7 type, the Programming Tool will warn you about any
incompatibilities. Remember, the DVC5 does not support expansion modules whereas the DVC7 and DVC10
do.

When you open an existing project file, the system will know what type of Project the file represents from data
stored in the .dvc file. Converting a DVC5 project file to a DVC10 is as simple as opening the DVC5 project and
selecting the Project Menu -> DVC10 item. Any code or I/O configurations you specified for the DVC5 will work
unchanged on the DVC10. Converting a DVC10 project to a DVC5 type is done the same way but the system
will warn you if expansion modules in your original DVC10 project are not supported. Converting a DVC7

Advertising
This manual is related to the following products: