Configures the alarm settings of a shared variable.

You first must enable alarming for a shared variable before you can configure alarm settings. You enable alarming by setting the enable? input in the Configure Alarming (Shared Variable, Enable Alarming) VI to TRUE. You must manually select the polymorphic instance to use.
Note You can configure alarm settings of network-published shared variables only.

Use the pull-down menu to select an instance of this VI.


icon

Inputs/Outputs

  • cgenclassrntag.png variable reference in

    variable reference in specifies a reference number for a shared variable. Use the Create Shared Variable VI to create a refnum for a shared variable.

  • ccclst.png bit array alarm settings

    bit array alarm settings specifies the alarm settings for the bit array shared variable.

  • cbool.png enable? (F)

    enable? specifies whether LabVIEW enables the alarm of the shared variable. The default is FALSE.

  • cstr.png name

    name specifies the name of the alarm.

  • cu32.png invert

    invert specifies which bits evoke an alarm on high, 1, and which bits evoke an alarm on low, 0. Enter the value 1 if you want that bit to evoke an alarm when low. In bitwise terminology, the Shared Variable Engine (SVE) performs an XOR with the invert value to produce the alarm state. LabVIEW applies the invert value to the scaled value after applying any relevant scaling masks.

  • cu32.png mask

    mask specifies the bits that LabVIEW uses to calculate the alarm for the shared variable. LabVIEW uses bits with a mask value 1 in the alarm calculation. Bits with a mask value 0 do not evoke an alarm, regardless of the values of the bits. In bitwise terminology, the SVE performs an AND with the mask value to produce the alarm state. LabVIEW applies the mask value to the scaled value after applying any relevant scaling masks.

  • cenum.png alarm on

    alarm on specifies the alarm criteria of the U32 bit field shared variable.

  • cu32.png priority

    priority specifies the priority of the alarm. Enter a value between 1 and 1000, where 1000 is the highest priority. The default is 1.

  • cenum.png ack type

    ack type specifies how LabVIEW acknowledges alarms.

  • cstr.png area

    area specifies the name of the alarm area that this alarm belongs to.

  • cstr.png description

    description specifies the description of the alarm.

  • cbool.png log? (T)

    log? specifies whether LabVIEW enables alarm logging for the alarm. The default is TRUE.

  • cbool.png reset when disabled? (F)

    reset when disabled? specifies whether to reset the value of bit array alarm settings to the initial state when you disable alarming. If reset when disabled? is TRUE, LabVIEW resets the value. If reset when disabled? is FALSE, LabVIEW retains the value. The default is FALSE.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. This input provides standard error in functionality.

  • igenclassrntag.png variable reference out

    variable reference out returns the shared variable refnum that you wire to the variable reference in input.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.