Dataset
LabVIEW VI and TDMS measurement datasets for AI training
A LabVIEW dataset is a set of LabVIEW projects with their virtual instruments (VIs), each a front panel and a block diagram, the subVIs, project libraries, classes and type definitions they use, their build specifications and DAQmx tasks, and the measurement data those programs logged, usually as TDMS files. SourceX sources it to a buyer's spec from established businesses that run LabVIEW, such as manufacturers' test engineering teams. Each dataset is de-identified and licensed for an agreed permitted use.
Dataset manifest
Sourced to your spec- What it is
- LabVIEW projects with VIs, libraries, classes and type definitions, their DAQmx tasks, and the TDMS data they logged
- Typical systems
- LabVIEW with the NI-DAQmx driver and NI MAX; Real-Time and FPGA modules where used; NI TestStand only where it sequenced the VIs
- Typical history
- Specified by the buyer; a VI keeps no earlier versions, so code history depends on source control
- Modality
- Binary graphical code rendered to images and node graphs; XML project files; channel waveforms with properties
- Delivery formats
- Agreed per order; native VI and project files, panel and diagram images with a JSON graph, and TDMS as written or converted
- Preparation
- Serial numbers, customer part numbers, operator names and paths removed or replaced in properties, file names, constants and default values
- Licensing
- Rights reviewed per project for integrator-written code, third-party drivers and customer test results; permitted use set in the license
- Availability
- Sourced to your spec by test type, release and diagram availability; supply is not guaranteed
What a delivery contains
Fields vary by source system and are fixed per order. A typical delivery includes:
| Field | Type | What it holds |
|---|---|---|
| project_id | string | Re-keyed ID of one Project (.lvproj), with its targets. |
| labview_release | object | LabVIEW release and bitness that last saved the Project and its VIs, with the modules and drivers they need. |
| vi_id | string | Qualified name of one VI (.vi), with the Project library (.lvlib) or Class (.lvclass) that owns it. |
| vi_kind | enum | Top-level VI, SubVI, Class method or Type definition (.ctl), from the file and its place in the Project. |
| vi_documentation | object | The VI's description, revision number and revision history comments. |
| front_panel | object | Front panel controls and indicators with label, data type and default value, and a panel image. |
| block_diagram | object | Whether the Block diagram is present, removed or locked, its structures, an image of each case, and a node and wire graph. |
| subvi_calls | array | Each SubVI the diagram calls, with its source, such as the Project, vi.lib or instr.lib, and whether it resolved. |
| type_definitions | array | Each Type definition (.ctl) the VI uses, with the cluster elements or enum items it defines. |
| build_specifications | array | Build specifications from the .lvproj file, with name, type, target and startup VI. |
| daqmx_tasks | array | Each DAQmx task with its channels, custom scales and rate, and whether it lives in code, the Project or NI MAX. |
| tdms_file | object | One TDMS file with its path and the properties set at file level. |
| tdms_channels | array | Each TDMS channel with its group, data type, sample count and properties such as unit_string. |
| writer_link | object | The VI or build that wrote the TDMS file, and whether that is recorded or inferred. |
Field names from the table above; values are masked placeholders.
Example record
{
"project_id": "lvp_a31f08",
"labview_release": {
"saved_in": "2020 SP1",
"bitness": 32,
"drivers": ["NI-DAQmx", "NI-VISA"]
},
"vi_id": "Leak Test.lvlib:Acquire Pressure Decay.vi",
"vi_kind": "subvi",
"vi_documentation": {
"description": "Acquires pressure decay for one nest and returns the waveform and leak rate.",
"revision_number": 47
},
"front_panel": {
"controls": [{"label": "Test Time (s)", "type": "DBL", "default": 12.0}],
"indicators": [{"label": "Pressure", "type": "waveform"}, {"label": "Leak Rate (sccm)", "type": "DBL"}]
},
"block_diagram": {
"status": "present",
"structures": ["while loop", "case: 4 cases", "event: 3 cases"],
"diagram_images": 8
},
"subvi_calls": [
{"name": "DAQmx Read.vi", "source": "vi.lib", "resolved": true},
{"name": "Fixture Driver.lvlib:Set Valve.vi", "source": "project", "resolved": false}
],
"type_definitions": [
{"file": "Test State.ctl", "type": "enum", "items": ["Fill", "Stabilize", "Measure", "Vent"]}
],
"build_specifications": [
{"name": "Leak Station", "type": "application", "startup_vi": "Main.vi"}
],
"daqmx_tasks": [
{"name": "PressureTask", "defined_in": "ni_max", "channels": [{"name": "P_nest1", "physical": "cDAQ1Mod2/ai0", "custom_scale": "PT_0to10bar"}], "rate_hz": 1000}
],
"tdms_file": {
"path": "data/2024-02-06/[SERIAL]_run0142.tdms",
"properties": {"Operator": "user_11", "Result": "PASS"}
},
"tdms_channels": [
{"group": "Measure", "channel": "P_nest1", "data_type": "DBL", "samples": 12000, "properties": {"unit_string": "bar", "wf_increment": 0.001, "wf_start_time": "2024-02-06T13:22:41Z"}}
],
"writer_link": {
"vi": "Leak Test.lvlib:Log Run.vi",
"method": "file_property"
}
}Synthetic record for illustration. Field names, structure and format are agreed per order.
What AI teams use it for
Teach models to read graphical code
Diagram images paired with node graphs and VI descriptions train models to explain a wired dataflow program.
Translate test programs to text languages
VIs with their DAQmx tasks and logged output are material for converting test code to Python or C.
Train on waveforms with context
TDMS channels with units, rates and test properties are time series that say what was measured.
Generate data-acquisition code
A task definition, a front panel and the diagram behind them are examples of acquisition logic written to a specification.
Evaluate test-engineering agents
Held-out VIs and files test whether an agent can describe a state machine or flag a mislabeled channel.
Use-case guides: Coding agents, Robotics and embodied AI, Private evaluation sets
What makes this data valuable
Diagrams present
VIs open with their block diagrams, not locked or compiled-only.
Dependencies resolve
The project loads at its release with no missing subVIs, drivers or packages.
Every case rendered
Images and graphs cover all cases of each structure, not only the visible one.
Units and timing set
TDMS channels carry unit_string and waveform timing properties.
Test metadata in properties
Limits and verdicts are properties, not parts of a file name.
Data tied to its writer
Each TDMS file can be traced to the VI and build that logged it.
Process
LabVIEW dataset
A VI is a wired diagram in a binary file, not text
A LabVIEW program has no source text. Each VI is a front panel of controls and indicators and a block diagram where nodes, subVI calls and structures are joined by wires, and execution follows the data along those wires. All of it is saved in a binary .vi file. A text diff of two versions shows nothing readable. The project (.lvproj), project libraries (.lvlib) and classes (.lvclass) are XML, so targets, library membership, class inheritance and build specifications can be read with no LabVIEW installed.
A VI therefore reaches a model in one of three forms. The native file needs LabVIEW at the release that saved it or later, plus every module, driver and add-on package the code calls, or it opens with broken wires and missing subVIs. Images come from LabVIEW's VI documentation printing, which writes the panel, the diagram and the subVI list to HTML or RTF. A Case structure or Event structure shows one case at a time, so a rendering that skipped the hidden cases has dropped most of the logic. The third form is a graph of nodes, terminals and wires pulled out with VI scripting. It is the closest thing to source text, and it has no standard schema.
History is thin inside the tool. A VI holds a revision number and an optional comment log, not its earlier versions. In source control, a VI that stores compiled code in the same file has to be saved again whenever LabVIEW recompiles it, for instance after a type definition it uses was edited, so one commit can list many VIs when one was edited. Projects set to separate compiled code from source avoid this. Ask which way the repository was kept before reading commits as edits.
TDMS keeps only the metadata the programmer wrote
A TDMS file has three levels and no more: the file, channel groups under it and channels under each group. Any of the three can carry named properties, and a channel holds one array of a single data type. Nothing in the format requires a property. If the program wrote LabVIEW waveforms, each channel carries wf_start_time and wf_increment and the time axis can be rebuilt. If it wrote plain numeric arrays, the channel is a list of samples with no rate. A unit appears as unit_string only when the program or the driver wrote one. Serial number, limits and verdict are properties in a careful program, and in a hurried one they are packed into the file name or sit in a separate report or results database.
How the file was written matters as much. When logging is configured on the DAQmx task itself, the driver can stream raw device values and store the scaling as channel properties, and a reader that ignores those properties returns integers where volts or bar were expected. A task saved in NI MAX on the test computer keeps its channel list and custom scales in that machine's configuration, not in the project. Without an export of that configuration, the mapping from a physical channel such as ai3 to a sensor is gone.
Test a sample with a reader other than LabVIEW, since open-source TDMS readers exist. List the properties at all three levels of each file and count the channels that have a unit and a time base. Compare channel lengths within a group, because nothing forces them to match. Then look for what should not be there, such as unit serial numbers and customer part numbers in properties and file names.
What to check before licensing
- Ask who wrote each test program. Where a system integrator built it, ask for the contract terms on source ownership, and whether the business holds the VIs or only a built application.
- Get the LabVIEW release that saved each project and the modules, drivers and packages it needs, then open the sample and count VIs with broken run arrows, missing subVIs or removed or locked block diagrams.
- Have the buyer and the data owner each check NI's terms on exported data and API use, including the LabVIEW edition the VIs were developed under.
- List code the business did not write, such as instrument drivers and add-on packages, with each license.
- Ask how diagrams were rendered and whether every case of each Case and Event structure was captured, then compare a few with the VI opened in LabVIEW.
- Read sample TDMS files with an independent reader, list properties at each level, and confirm whether values are scaled and whether the NI MAX configuration is included.
- Check for unit serial numbers, customer product results, operator names and network paths in TDMS properties, file names, diagram constants and saved default values.
Delivery No files move before a signed license. A listing or a request grants no files by itself.
How licensing works through SourceX
- 1
Define
Send the domain, modality, volume, format, timeline and permitted use you need.
- 2
Source
SourceX identifies businesses that hold matching data and are open to licensing it.
- 3
Qualify
Fit, rights and quality are checked, and you review samples before committing.
- 4
License
Scope, permitted use, exclusivity, price and obligations are agreed in writing.
- 5
Deliver
Approved data is prepared, de-identified where required and transferred securely.
Questions Acquisition Partners ask
Can LabVIEW VIs be read without LabVIEW?
Not the VIs. A .vi file is binary, and its front panel and block diagram open only in LabVIEW. The project, library and class files are XML and can be read directly. For the rest, ask for a rendered form: images of each panel and diagram with every case shown, and a node and wire graph extracted by script.
Which LabVIEW release do I need to open the VIs?
The release that last saved them, or a later one. LabVIEW opens VIs from earlier releases and recompiles them, but an earlier release cannot open VIs saved in a later one unless they were saved back for it. The code also needs the same modules, device drivers and add-on packages installed. Ask how old the oldest VIs are, since very old code can need an intermediate release to bring it forward.
Are block diagrams always included?
No. A VI can be distributed with its block diagram removed or locked behind a password, and built applications and packed project libraries hold compiled code with no diagram. This is common where an outside integrator delivered the test station. Ask what share of VIs open with their diagrams.
Can TDMS files be read outside LabVIEW?
Yes. TDMS is a binary format with a published structure, and readers exist for Python, MATLAB and Excel as well as NI's own tools. The usual trap is data the DAQmx driver logged in raw form, where the scaling sits in channel properties. Check that your reader applies it.
Is LabVIEW measurement data always in TDMS?
No. TDMS is the usual choice, but stations also write text measurement files, the older TDM format, plain CSV and custom binary files. A custom binary file is the hardest case, because it can only be decoded by someone who knows the data types and the order the program wrote them in. Ask for a list of formats by station.
Is SourceX affiliated with NI or Emerson?
LabVIEW is named to identify the system the records come from. That does not imply a partnership with or endorsement by NI or Emerson. The records belong to the business that runs LabVIEW, which licenses them under a signed agreement, and a request does not guarantee a matching dataset. Buyers should still confirm with counsel that the vendor's terms allow the intended use of exported data.
Related datasets
- Laboratory automation run records
Automated methods with deck layouts and liquid classes, step-level run logs, errors, interventions and linked plate results
- Design verification and validation test reports
Verification and validation packages per program and build stage: requirements, procedures, readings, verdicts and failure analysis
- Machine sensor streams with labeled events
Multi-channel machine signals on one clock, with labeled faults, failures, maintenance actions and operating states
- MATLAB code and Simulink models
MATLAB source, live scripts and MAT-files with Simulink models, libraries and data dictionaries, and the generated code trees built from them
- TIA Portal automation projects
TIA Portal projects with hardware configuration, program blocks, tag tables, HMI screens and technology objects
Evaluating this data for procurement?
Diligence packets are prepared per dataset. Rights, privacy processing and quality differ between datasets.
Request dataset diligenceTell us what your models need
Send your spec — domain, volume, format, timeline and permitted use — and SourceX will match it against partner data and come back with what can be licensed.
Updated 26 November 2026.