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 data set marking I/O server. Use the LabVIEW Datalogging and Supervisory Control (DSC) Module to create a data set of multiple shared variables for logging.

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 Data Set Marking and click the Continue button.
  3. On the Definition page of the Configure Data Set Marking I/O Server dialog box, select a shared variable from the Data set ID pull-down menu.
    The DSC Module uses this shared variable as the name of the reference for the data set. The Data set ID is a string or analog network-published shared variable from the same LabVIEW project library. When you start logging a data set, the value of the Data set ID at that time becomes the identifier of the data set run. For example, a Data set 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 DSC Module might use that Data set ID more than once, so the DSC Module creates a unique internal identification value for every run. However, you might want to assign a unique Data set 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 conditions and to specify a shared variable to monitor for the fulfillment of that condition.
    When the start condition occurs, a new run starts, if the previous run has ended. When the end condition occurs, the run ends.
  5. Click the Shared Variables tab.
  6. Click the Add Shared Variable button to display 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 Currently Selected Shared Variables list on the Shared Variables page.
  9. Optional: Use the Advanced page to enter the name of the equipment and corresponding description for the equipment used in the data set.
  10. Click the OK button.
Note You cannot create a data set within another data set.