Data Sets

NI InsightCM™ SDK 3.3 Help

Edition Date: December 2018

Part Number: 375191F-01

»View Product Info
Download Help (Windows Only)

Parent Topic: Allowing Data to Flow between Processes in a Specific Order

Data sets are the format in which measurement data and its properties pass between processes in the Dataflow Script. A data set consists of the waveforms and/or single-point values that the channels in a particular data group acquire.

Contents of a Data Set

The format of a data set is a LabVIEW cluster that contains the following elements:

  • Data Group—A scalar string that specifies the name of the data group whose channels produced the data. This name is part of the device configuration.
  • Waveforms—An array of the waveforms acquired from channels in the data group. Note that the waveforms are stored as data value references, meaning you must use an In Place Element Structure to access the waveform data. For more information, refer to Reading and Writing Waveforms in a Data Set.
  • Map—A point value map whose name is the data group name and that contains various properties related to the acquisition, as well as any single-point measurements. The map contains values from the time when a process sent the original data set to the first process in the Dataflow Script.

Flow of Data Sets through the Dataflow Script

Any process that produces data sets can send them to the first process in the Dataflow Script. The following illustration shows the FPGA Acquisition process sending data sets to the first process in the Dataflow Script. Observe the following behaviors in this illustration:

  • When processes in the Dataflow Script operate on acquired data, they operate on one data set at a time.
  • Any process can operate on a data set as soon as it dequeues the Qbus message that contains the data set.

Note  Each data set specifies its order relative to other data sets from the same data group as a point, named AcqBlockNumber, within the point value map in the cluster.

Related Information

Sending a Data Set to the First Process in the Dataflow Script

Handling a Data Set and Transferring Data to the Next Process

Data Groups


Not Helpful