18
QTERM-IV/P40 User's Manual
Beijer Electronics Fax 801-466-8792 Web www.beijerelectronicsinc.com Phone 801-466-8770
terminal, you will need an interface unit. See Chapter 1 for
more information.
When you first run QSETUP, you will see an introductory
screen that shows the version number. This version must
match the version of the QDATA file you are going to load.
See the Versions section below for more information.
The next screen will give you a choice of COM ports, if
your PC has more than one. Select the port to which you
have connected your terminal.
3.2.1
Loading a QDATA File
To load a QDATA file from disk into the QTERM, select
the Load QDATA menu item. You will be asked for the file
name. Enter the file name, along with the extension, then
press the Enter key.
QSETUP will now open the specified file, scan it for errors,
and, if none are found, load it into the QTERM. This will
take about 10 seconds.
If any errors are found, QSETUP will display an error mes-
sage indicating the problem. Use your editor to fix the
problem, then try to load it again.
3.2.2
Loading a QCODE File
Also included on your distribution disk is a file called
QCODE.V21. This is the actually microprocessor code for
running the QTERM. If the code in the QTERM somehow
gets corrupted, you can load this file into the terminal to get
it running again.
If you suspect your terminal has corrupted code, call Beijer
Electronics for technical assistance in reloading the
QCODE file.
3.2.3
Retrieving a QDATA File
If you select the third menu item on the QSETUP menu
screen, you will be asked for a file name into which
QSETUP will put the retrieved QDATA information. Spec-
ify a file name that does not exist.
QSETUP will retrieve the QDATA information from your
terminal and put it into a disk file. This file is similar to the
default files supplied with your terminal, except for two
changes:
•
The retrieved file will have no comments in it.
•
The retrieved file will have exactly one identifier per
line, so it will have many more lines than the default
QDATA file (which puts several identifiers on one
line in the key sections).
Since neither of these affects the parameter content of the
retrieved QDATA file, this retrieved file can be down-
loaded into any QTERM without modification.
3.3
Basic QDATA File Concepts
Identifiers. The QDATA file contains “identifiers” used by
QSETUP to determine how to configure the QTERM.
These identifiers appear in two formats:
[....] and <....>
The most important rule about editing the QDATA file is:
NEVER DELETE OR EDIT ANY OF THE IDENTIFI-
ERS, AND NEVER CHANGE THEIR ORDER!
You will edit the values assigned to the identifiers, but you
may not edit the identifiers, delete the identifiers or change
the order in which they appear.
Versions. You must use the same version of the QDATA
file and the QSETUP program as the version of code in
your QTERM.
•
Your QDATA version is noted in the file name exten-
sion (i.e. QDATA40.V21 is version 2.1) and is the
first identifier in the QDATA file.
•
The QSETUP version is displayed on the first screen
when you start the QSETUP program.
•
The version of software in your QTERM is displayed
if you hold down any key and apply power.
If you find that you have different QDATA, QSETUP and
QTERM code versions, contact Beijer Electronics for
updated software and instructions. Do not attempt to use
different versions of these items together; you will probably
corrupt the QTERM operational code.
QDATA File Size. The QDATA file which you edit can be
as large as you want. When QSETUP sends the QDATA
information to the QTERM, it only sends actual parameters
and key strings. The maximum amount of information from
the QDATA file which can be stored by the QTERM is
about 20 kbytes, which should be enough for even the most
memory demanding applications.
The default QDATA files generate about 300 bytes of infor-
mation, so you can add over 19 kbytes of data to key strings
before you exceed the 20 kbyte limit. QSETUP will tell you
if there is too much data to be stored by the QTERM.