;----------------------------------------------------------------------------- ; SCR_EDIT.SOD - screen object description of a PC-screen with two ; screens. ; ; Created: .06.1995 ; Last modification: 26.12.2005 ; ; F o r m a t of the screen object description .SOD file ; =========== -------------------------------------------- ; ; The type of a screen object ist indicated by a keyword in conjunction ; with a pair or more coordinates. There are 9 different types of objects ; available: ; ; The first numeric parameter represents the Y-coordinate ; followed by the second numeric parameter representing the ; X-coordinate of the screen object. ; ; UPLC - position of the upper left corner, ; LORC - position of the lower right corner of the display, ; ; WINDOW - window on the display, ; CSTR - constant string (read only), ; STR - variable string, ; INT - integer variable, ; FLOAT - float variable, ; DATE - formatted date, ; TIME - formatted time. ; ; Comments can be inserted anywhere in this textfile. A comment must be ; preceeded by a semicolon. ; ; This SOD-file is an example for an i/o-description of several variables ; via a PC screen in textmode with a resolution of 25x80. ;----------------------------------------------------------------------------- UPLC 0 0 ; Coordinates of the upper left corner LORC 24 79 ; Coordinates of the lower right corner WINDOW 0 0 24 79 ; window <-> first screen 1 30 CSTR "H a u p t m e n u e" ; Constant text 2 30 CSTR "===================" ; dito 3 2 CSTR "Runtime:" ; Constant text 03 14 INT 7 %run_h% ; integer named 'run_h' 5 2 CSTR "Messung" ; 05 14 INT 7 %smpl_num% ; integer named 'observ' 8 30 STR %message% 10 ; Pointer to a string named 'message', ; Format: 10 characters, left aligned 8 2 CSTR "Luftdruck" ; Constant string 8 14 FLOAT 7 3 %pressure% ; float variable named 'pressure' 8 23 CSTR "mbar" ; Unit of pressure 9 2 CSTR "Temperatur" 9 14 FLOAT 7 1 %Temp% ; float variable named 'temp' 9 23 CSTR "øC" ; Unit of temperature 10 2 CSTR "Dichte" ; Constant string 10 14 FLOAT 7 2 %density% ; float variable named 'density' 10 23 CSTR "g/m^3" ; Unit of density 14 2 STR %menu_msg% 16 22 2 STR %quit_but% 10 ; Button to quit 23 0 CSTR "Screen" 23 7 INT 2 %Page% ; integer named 'Page' 23 56 DATE "FR" ; Date with french language support 23 72 TIME "HH:MM:SS" ; Formatted time 23 20 CSTR "Gehe zu Parameter " ;-------------------------------- WINDOW 0 0 24 79 ; window <-> second screen 1 25 CSTR "E x t r e m a l w e r t e" ; constant text 2 25 CSTR "-------------------------" 0 0 DATE "ES" ; Date with spanish language support 6 18 CSTR "Parameter Minimum Maximum" 7 18 CSTR "-----------------------------------" 8 18 CSTR "Luftdruck" ; Some names of 9 18 CSTR "Temperatur" ; physical variables 10 18 CSTR "Dichte" 8 50 CSTR "mbar" ; According units... 9 50 CSTR "øC" 10 50 CSTR "g/m^3" 8 32 FLOAT 7 1 %min_P% ; Minimum of pressure 8 41 FLOAT 7 1 %max_P% ; Maximum of pressure 9 32 FLOAT 8 2 %min_T% ; Minimum of temperature 9 41 FLOAT 8 2 %max_T% ; Maximum of temperature 10 32 FLOAT 7 1 %min_D% ; Minimum of density 10 41 FLOAT 7 1 %max_D% ; Maximum of density 22 2 STR %back_msg% 12 23 0 CSTR "Screen" 23 7 INT 2 %Page% ; integer named 'Page' 0 72 TIME "HH:MM:SS" ; Formatted time