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

Logging Page (DSC Module)

Select the Logging option in the listbox of the Shared Variable Properties dialog box to display this page. Use this page to configure logging for a shared variable.

Note  You can enable logging only for network-published shared variables.

This page can include the following options:

  • Enable Logging—Enables LabVIEW to log data and events for the shared variable.
  • Log Alarms & Events—Enables LabVIEW to log alarm and event data for the shared variable.
  • Log Data—Enables LabVIEW to log data for the shared variable.
  • Value Resolution—Sets the resolution, in engineering units, for logging the shared variable value in the Citadel historical database. LabVIEW writes shared variables to the Citadel historical database in compressed format with the specified resolution. The default value is 0.01. Enter a value of 0.0 to write the exact value of the shared variable to the Citadel historical database. Logging the exact value requires more time and disk space. This option is available only for shared variables with a Data Type of Double.
  • Value Deadband—Sets the deadband for logging shared variables in the Citadel historical database. Use this option to improve the performance of an application by limiting unnecessary datalogging. LabVIEW logs a new shared variable value only if that value differs by at least the Value Deadband value from the value previously logged. The default value is 1%. Enter a value of 0 to log every value written to the shared variable. This option is available only for shared variables with a Data Type of Double.
  • Logging Format—Specifies the format in which LabVIEW logs strings in the Citadel historical database. This option is available only for shared variables with a Data Type of String.
    • String (recommended)—Logs strings in LabVIEW string format. This option supports all string formats.
    • DSC 7.1 Text—Logs strings in Unicode format.
    • DSC 7.1 Blob—Logs strings in raw binary data format.

    Select DSC 7.1 Text or DSC 7.1 Blob for compatibility with the LabVIEW DSC Module 7.1. Otherwise, select String (recommended).

LabVIEW stores logged data in the database you specify on the DSC Settings: Database page of the Project Library Properties dialog box.


Resources


 

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