Create an analog variable

Create an analog variable in
Project view
. Analog variables include units of measurement and ranges.
  1. In
    Project view
    , select the folder or object to contain the variable.
  2. In the
    Project view
    toolbar, select
    Add
    Add new
    and then select
    Analog variable
    .
  3. (optional) To change the variable data type, in
    Properties
    , next to the variable name, select the existing data type and then select another data type.
    TIP: If you do not see the required option, select
    Show all
    . To define an array, select
    Array
    and then enter the array dimensions.
  4. In
    Properties
    , enter a value for the variable or create a dynamic link.
    For more information about dynamic links, see Create dynamic links.
  5. (optional) To set the unit of measurement, next to the variable value, select the existing unit of measurement and then select another unit of measurement.
    TIP: The default unit of measurement for analog variable values is
    <None>
    , which means no unit of measurement.
  6. Under
    EURange
    , complete:
    • Low limit
      . The low limit of the variable value
    • High limit
      . The upper limit of the variable value.
    • Constrain
      . If
      True
      , constrains the values for the variable to the low and high limits.
Provide Feedback
Have questions or feedback about this documentation? Please submit your feedback here.