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

Creating Data Sets for Logging (DSC Module)

Use the DSC Module to create a data set of multiple shared variables for logging. You must create shared variables before you can create data sets for logging. You also must enable the logging property of a shared variable before you can configure a DataSet Marking I/O Server. Complete the following steps to create a data set for logging.

  1. In the Project Explorer window, right-click a target, such as the My Computer target, and select New»I/O Server from the shortcut menu.
  2. In the Create New I/O Server dialog box, select DataSet Marking and click the Continue button.
  3. On the Definition tab of the DataSet Marking I/O Server Configuration dialog box, select the shared variable you want to use as the name of the reference for the data set in the DataSet ID pull-down list.

    The DataSet ID is a string or analog network-published shared variable from same library. When you start logging a data set, the value of the DataSet ID at that time becomes the identifier of the data set run. For example, an DataSet ID might be the serial number of a unit under test, and the data set for that serial number might consist of the traces logged during testing of that unit. Because the same unit might be tested more than once, the LabVIEW DSC Module might use that DataSet ID more that once, so the DSC Module creates a unique internal identification value for every run. However, you might want to assign unique DataSet ID for each run. For example, you can combine a serial number with a timestamp.
  4. Use the Start When and End When options to specify the type of start and end condition and a shared variable to monitor for the fulfillment of that condition. When the start condition is met, a new run starts, if the previous run has ended. When the end condition is met, the run ends.
  5. Click the Shared Variables tab.
  6. Click the Add button to launch the Add Shared Variables dialog box.
  7. Select the shared variables you want to include in the data set.
  8. Click the Add button. The shared variables you selected appear in the Current Selected Shared Variables list on the Shared Variables tab.
  9. (Optional) Use the Advanced tab to enter an item and a description of the equipment used during the data set run. This information is stored as text strings, with each new run.
  10. Click the OK button.
Note  You cannot create a data set within another data set.

Resources


 

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