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 Boolean alarm settings

    Boolean alarm settings specifies the alarm settings of the Boolean 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.

  • cbool.png alarm on

    alarm on specifies the alarm criteria of the alarm. If you set this input to TRUE, the Boolean shared variable is in alarm state when the value is TRUE. Otherwise, the Boolean shared variable is in alarm state when the value is FALSE. The default is TRUE.

  • 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 Boolean 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.