ArcPad Preferences File Schema
RANGEFINDER Element
See Also  Send comments on this topic.
ArcPad Preferences File Schema > ArcPad Element > PREFERENCES Element : RANGEFINDER Element

Glossary Item Box

Description

Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.

Diagram

COMPORT Element Sequence RANGEFINDER Element

Overview

RANGEFINDER
Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.
autoactivate optional Restriction of xs:string
Flag that determines whether the rangefinder is activated automatically when a map is opened.
capturebutton optional Restriction of xs:string
Specifies the button on the rangefinder device that triggers a measurement.
observerheight optional xs:double
The height of the rangefinder device.
observerreference optional Restriction of xs:string
Specifies if the rangefinder measurement is a foresight (from rangefinder to target) or backsight (from target to rangefinder).
playalert optional Restriction of xs:string
Flag that determines whether the rangefinder alert is played.
protocol optional Restriction of xs:string
The Rangefinder protocol to use.
Sequence
COMPORT
Used to define serial port settings for the AUX or GPS port in ArcPadPrefs.apx.

Attributes

NameTypeUseDefaultFixedDescription
autoactivateRestriction of xs:stringoptionalfalse Flag that determines whether the rangefinder is activated automatically when a map is opened.
capturebuttonRestriction of xs:stringoptionalany Specifies the button on the rangefinder device that triggers a measurement.
observerheightxs:doubleoptional0.0 The height of the rangefinder device.
observerreferenceRestriction of xs:stringoptionalforesight Specifies if the rangefinder measurement is a foresight (from rangefinder to target) or backsight (from target to rangefinder).
playalertRestriction of xs:stringoptionaltrue Flag that determines whether the rangefinder alert is played.
protocolRestriction of xs:stringoptional  The Rangefinder protocol to use.

Examples

Source

<xs:element name="RANGEFINDER" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation>Used to specify Rangefinder preferences and script subroutines to call when Rangefinder events occur.</xs:documentation>
  </xs:annotation>
  <xs:complexType>
    <xs:sequence>
      <xs:element ref="COMPORT" />
    </xs:sequence>
    <xs:attribute default="false" name="autoactivate">
      <xs:annotation>
        <xs:documentation>Flag that determines whether the rangefinder is activated automatically when a map is opened.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="any" name="capturebutton">
      <xs:annotation>
        <xs:documentation>Specifies the button on the rangefinder device that triggers a measurement.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="integer" />
          <xs:enumeration value="any" />
          <xs:enumeration value="none" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="0.0" name="observerheight" type="xs:double">
      <xs:annotation>
        <xs:documentation>The height of the rangefinder device.</xs:documentation>
      </xs:annotation>
    </xs:attribute>
    <xs:attribute default="foresight" name="observerreference">
      <xs:annotation>
        <xs:documentation>Specifies if the rangefinder measurement is a foresight (from rangefinder to target) or backsight (from target to rangefinder).</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="backsight" />
          <xs:enumeration value="foresight" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute default="true" name="playalert">
      <xs:annotation>
        <xs:documentation>Flag that determines whether the rangefinder alert is played.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="true" />
          <xs:enumeration value="false" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
    <xs:attribute name="protocol">
      <xs:annotation>
        <xs:documentation>The Rangefinder protocol to use.</xs:documentation>
      </xs:annotation>
      <xs:simpleType>
        <xs:restriction base="xs:string">
          <xs:enumeration value="@LAT" />
          <xs:enumeration value="@LCC" />
          <xs:enumeration value="@LTI" />
          <xs:enumeration value="@LDI" />
          <xs:enumeration value="@LLV" />
          <xs:enumeration value="@LMD" />
        </xs:restriction>
      </xs:simpleType>
    </xs:attribute>
  </xs:complexType>
</xs:element>

See Also

© 2012 All Rights Reserved.