The shared variable deadband settings that you can control directly are the update deadband, logging deadband, and alarm deadband.
Note You can set update deadband and logging deadband for network-published shared variables with floating-point data types. You can set alarm deadband for floating-point and integer data types.

Complete the following steps to set shared variable deadband values:

  1. Right-click a target or a LabVIEW project library in the Project Explorer window and select New»Variable from the shortcut menu to display the Shared Variable Properties dialog box.
    You also can right-click an existing shared variable in the Project Explorer window and select Properties from the shortcut menu to display this dialog box.
  2. Set the update deadband:
    1. Select Update Deadband to display the Update Deadband page.
    2. Place a checkmark in the Enable Update Deadband checkbox.
    3. Enter values in the User deadband (% of range) and Source deadband (% of range) numeric controls. You must bind this shared variable to a data source to use the source deadband.
  3. Optional: Set the logging deadband:
    1. Select Logging to display the Logging page.
    2. Place a checkmark in the Enable Logging checkbox.
    3. Verify that a checkmark is in the Log Data checkbox.
    4. Enter a value for the deadband in the Value Deadband numeric control.
  4. Optional: Set the alarm deadband.
    1. Select Alarming to display the Alarming page.
    2. Place a checkmark in the Enable Alarming checkbox.
    3. Place checkmarks in the appropriate cells of the Enabled column to enable the alarms.
    4. Enter values in the appropriate cell of the Deadband/Time column for the alarms.
  5. Click the OK button.

You also can use the SharedVariableIO properties to set alarm, logging, and update deadbands programmatically.