Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Setting Shared Variable Deadbands (DSC Module)

The shared variable deadband settings that you can control directly are the update deadband, logging deadband, and alarm deadband.

Note  You can set deadbands only for network-published shared variables with a Data Type of Double.

Complete the following steps to set the shared variable deadband values.

  1. Right-click a target or a project library in the Project Explorer window and select New»Variable from the shortcut menu. You also can right-click an existing shared variable in the Project Explorer window and select Properties from the shortcut menu to display the Shared Variable Properties dialog box.
  2. Set the update deadband.
    1. In the Shared Variable Properties dialog box, select Update Deadband from Category list 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) field and the Source Deadband (% of range) field.
  3. (Optional) Set the logging deadband.
    1. In the Shared Variable Properties dialog box, select Logging from Category list 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 field to set the logging deadband.
  4. (Optional) Set the alarm deadband for shared variables with a Data Type of Double.
    1. In the Shared Variable Properties dialog box, select Alarming from Category list to display the Alarming page.
    2. Place a checkmark in the Enable Alarming checkbox.
    3. Click the Configure button to display the Configure Double Alarms dialog box.
    4. Enter values in the Deadband fields for the alarm(s) to set the alarm deadband.
    5. Click the OK button to close the Configure Double Alarms dialog box.
  5. Click the OK button.

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


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit