(form "00252" (size 48  23)
   (heading "DATA RECORDER CONFIGURATION")
  (label (position 1 2) (foreground (user_option "form_text_highlight")) 
         (text "Communications"))
  (label (position 5 3) (text "I/O Port"))
  (field "port" (position 18  3) (display_length  10) (input allowed)
    (translate none) (null disallowed) (max_length 40)
  )
  (label (position 5 4) (text "Baud rate"))
  (field "baud" (position 18  4) (display_length  10) (input allowed)
    (value_in "0" "50" "75" "110" "134" "150" "200" "300" "600" "1200" "1800" "2400" 
              "4800" "9600" "19200" "38400" "57600" "115200")
    (default "9600") (null disallowed) (max_length 6)
  )
  (label (position 5 5) (text "Parity"))
  (field "parity" (position 18  5) (display_length  10) (input allowed)
    (value_in "none" "odd" "even") (default "none")
    (translate lower) (null disallowed) (max_length 4)
  )
  (label (position 5 6) (text "Data bits"))
  (field "data" (position 18  6) (display_length  10) (input allowed)
    (value_in "8" "7") (default "8")
    (translate upper) (null disallowed) (max_length 1)
  )
  (label (position 5 7) (text "Stop bits"))
  (field "stop" (position 18  7) (display_length  10) (input allowed)
    (value_in "1" "2") (default "1")
    (translate upper) (null disallowed) (max_length 1)
  )
  (label (position 5 8) (text "Flow control"))
  (field "flow" (position 18  8) (display_length  10) (input allowed)
    (value_in "hardware" "software" "none") (default "hardware")
    (translate lower) (null disallowed) (max_length 10)
  )
  (label (position 5 9) (text "I/O time out"))
  (field "timeout" (position 18  9) (display_length  10) (input allowed)
    (low_bound 0) (high_bound 59) (default "0")
    (translate lower) (null disallowed) (max_length 2)
  )
  (label (position  1 10) (foreground (user_option "form_text_highlight"))
      (text "Co-ordinate transformation"))
  (label (position  5 11) (text "Datum shift    X"))
  (field "xshift" (position 18 11) (display_length  4) (input allowed)
    (default "0") (null disallowed) (max_length 10) (format real_8)
  )
  (label (position 26 11) (text "Y"))
  (field "yshift" (position 28 11) (display_length  4) (input allowed)
    (default "0") (null disallowed) (max_length 10) (format real_8)
  )
  (label (position 36 11) (text "Z"))
  (field "zshift" (position 38 11) (display_length  4) (input allowed)
    (default "0") (null disallowed) (max_length 10) (format real_8)
  )
  (label (position  5 12) (text "Scale factor   X"))
  (field "xscale" (position 18 12) (display_length  4) (input allowed)
    (default "1") (null disallowed) (max_length 10) (format real_8)
  )
  (label (position 26 12) (text "Y"))
  (field "yscale" (position 28 12) (display_length  4) (input allowed)
    (default "0") (null disallowed) (max_length 10) (format real_8)
  )
  (label (position 36 12) (text "Z"))
  (field "zscale" (position 38 12) (display_length  4) (input allowed)
    (default "0") (null disallowed) (max_length 10) (format real_8)
  )

 (field "angle_acc" (position 9 14) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

 (field "dist_acc" (position 22 14) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

 (field "dist_ppm" (position 40 14) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

 (field "inst_height_acc" (position 9 15) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

 (field "inst_centring_acc" (position 22 15) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

 (field "targ_height_acc" (position 9 16) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

 (field "targ_centring_acc" (position 22 16) (display_length 5) (input allowed)
    (default "0") (low_bound 0) (null disallowed) (max_length 10) (format real_8)
  )

  (field "topcon_fc6_string_option_label" 
    (position 2  17) 
    (display_length  25) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "String number index")
    (browser none)
    (default "String number index")
  )

  (field "topcon_fc6_string_option" (position 10 17) (display_length 3) (input allowed)
    (max_length 3)
    (format integer_4)
    (value_in exclusive "3" "4")
    (null disallowed) 
    (help "SRV_TOPCON_FC6_STRING_NUMBER_INDEX_TIP")
   )

  (field "topcon_fc6_end_of_file_option_label" 
    (position 2  18) 
    (display_length  35) 
    (foreground (user_option "form_foreground"))
    (background (user_option "form_background"))
    (input disallowed)
    (value_in "Write end of file character to upload file?")
    (browser none)
    (default "Write end of file character to upload file?")
  )

  (field "topcon_fc6_end_of_file_option" (position 10 18) (display_length 1) (input allowed)
    (max_length 1)
    (value_in exclusive "Y" "N")
    (null disallowed)
    (translate upper)
    (help "SRV_TOPCON_FC6_END_OF_FILE_TIP")
  )

  (default_buttons)
)
