<!-- Canonical page: https://reversedwithai.com/p/labview-vi-binary-index-claude -->
Canonical page: https://reversedwithai.com/p/labview-vi-binary-index-claude

# Indexed LabVIEW .vi binaries so an AI assistant never re-exports them, by decoding undocumented NI formats

> NI file formats nobody documents, decoded into an offline index.

A skeleton of a whole 450 VI project read straight from the binaries, with call graphs, queues and review diffs, cutting tokens by 14x on typical tasks.

## Key facts

- Target: LabVIEW .vi and .lvclass binaries
- Category: File formats
- Platform: Windows (Python 3.11 standard library)
- Models: Claude Opus 5.5
- Tools: labview-mcp, pylabview
- Outcome: Works
- License: MIT
- Checks: Source available: yes; Repro steps: not reported; Real hardware: not reported; Verified by others: not reported
- Author: [Bakurek](https://github.com/Bakurek)
- Added: 2026-10-19
- Updated: 2026-10-19
- Sources reviewed: 2026-10-19 (editor)

## What was done

lvindex reads LabVIEW project binaries directly and builds an offline index so that a person or an AI assistant can reason about a program without exporting whole VIs again and again. Most of its commits carry Claude Opus 5.5 as co-author.

### How it was done

The RSRC link record format and the AIXML export structure that National Instruments does not document were reverse engineered with care and labelled as such in output. Reading the skeletons of .vi, .ctl and .lvclass files needs no LabVIEW install, and the index is incremental: a rebuild of a 450 VI project takes about 2.6 seconds. On top of that sit cards of compact facts per VI, a review cache that diffs only what changed between exports, and 0.2 second queries for callers, callers of calls, class members and message routing across queues.

### Results

Measured on a real 460 VI project, the tool answers the handler frames of a message loop with 47 to 218 times fewer tokens than reading the export, usage context with 14 times fewer, and reviewing a regenerated VI with 29 times fewer, both orders of magnitude higher than plain grep because grep resolves neither dynamic dispatch nor message routing. The README also marks which parts are heuristic rather than verified.

## What the commit history shows

21 of 22 commits in the public repository credit an AI, over 4 days between 2026-10-18 and 2026-11-03. Credited: Claude Opus 5.5 (21).

Measured by this site from public git history.

## Questions about LabVIEW .vi and .lvclass binaries

### What is the LabVIEW .vi and .lvclass binaries project?

A skeleton of a whole 450 VI project read straight from the binaries, with call graphs, queues and review diffs, cutting tokens by 14x on typical tasks. It is listed under File formats for Windows (Python 3.11 standard library).

### Which AI model was used on LabVIEW .vi and .lvclass binaries?

The entry names Claude Opus 5.5. The tools named alongside are labview-mcp and pylabview.

### Did the AI reverse engineering of LabVIEW .vi and .lvclass binaries work?

Its author reports that it works. Checks recorded: source available yes.

### Is the source code for LabVIEW .vi and .lvclass binaries available?

Yes. The code, patches or tooling are public: https://github.com/Bakurek/lvindex. Licence: MIT.

## Sources

- [Repository](https://github.com/Bakurek/lvindex)

Figures are reported by the author and not measured by this site, except the commit history. Entry drafted with AI from the linked sources and checked against them.

Cite as: Bakurek (2026). Indexed LabVIEW .vi binaries so an AI assistant never re-exports them, by decoding undocumented NI formats. Reversed with AI. https://reversedwithai.com/p/labview-vi-binary-index-claude
