4.6.2. Form
 
G
ART-2000® allows the free layout definition of measurement-, coordinate- and station protocols as well as calculation protocols. For this purpose a form translator is integrated into GART-2000® Viewer that allows the translation of individual form files. The form translator is started with the menu Extras > Form.
 
During the installation procedure of GART-2000® CE a standard ASCII form file FORM.FMT and a translated binary file FORM.BIN are installed in the vpconfig directory.
 
The translation process in
GART-2000® Viewer creates a binary file out of the ASCII form file with the same name and the extension *.BIN. Normally the form translator of GART-2000® Viewer is not needed frequently, because the form files don’t need to be changed so often.
 
The following lines define the layout of the corresponding protocol. The lines between DO and END are printed the way they can be seen in the form file. The first sign of every line is not printed, but serves for the control of printout functions:
 

  Lines, which start with a blank are, only printed at the beginning of a new form (here "Coordinate list" and the underlines).
@ The @ sign (ASCII 64) indicates that this line is printed at the top of every new page.
~ The title which stands above every table is defined by a ~ (ASCII 126). In our example the table title shows the coordinate system as well as the column titles such as point number, marker type, point code, east, north, … . The table title is also printed at the top of every new page.
¿ An upside down question mark (ASCII 168) shows that after the end of the form a new page follows.
¦ A "pipe" sign (ASCII 124) stands in front of lines that define the layout of a table entry. In our example the entries in the coordinate list are split up into two lines.

 
At the end of a form definition stands the keyword END. In the form file FORM.FMT further form definitions for other lists and forms follow.

 
Within a form two special signs determine the layout and location of the entries:
 

$ A dollar sign stands for an alphanumeric sign, e.g. a letter or a number. The maximum length of the string is determined by the number of the dollar signs. Strings are always left orientated. In our example, ten digits are reserved for the point number.
# The number sign stands for integer or float numbers. The point defines the number of decimals. In our example, GART-2000® CE would reserve two digits for the page number, whereas for the coordinates twelve digits and three decimals are reserved.

 
The parameters between WITH and DO are written in the respective order into the fields.
 
If the form file was changed it needs to be translated with the menu Extras > Form.

 
<TABLE OF CONTENTS>