How mefistotelis/pylabview works
pylabview is a LabVIEW RSRC toolkit for extracting VI/CTL resources into editable XML and block files, then rebuilding RSRC files while preserving binary fidelity where supported. The main workflow runs from the readRSRC command-line entry point through resource-container and block parsing, with specialized modules interpreting types, data, heaps and links; modRSRC supports XML-based modifications and repairs before reconstruction. README capabilities also include compiled-code extraction, front-panel recovery and batch processing. Some internals are unsampled, so edges reflect only indexed references or documented workflow.
Main entry points: LVblock.py Resource blocks · LVdatatype.py Type descriptors · LVdatafill.py Typed data fills · LVxml.py XML support
Components 17
User workflow
- Extract command
pylabview/readRSRC.py - Rebuild command
pylabview/readRSRC.py
RSRC parsing
- Resource container
pylabview/LVrsrcontainer.py - Resource blocks
pylabview/LVblock.py - Format utilities
pylabview/LVmisc.py
VI data model
- Panel parts
pylabview/LVparts.py - Instrument metadata
pylabview/LVinstrument.py - Type descriptors
pylabview/LVdatatype.py - Type references
pylabview/LVdatatyperef.py - Typed data fills
pylabview/LVdatafill.py - Shared LV objects
pylabview/LVclasses.py - Panel and diagram heaps
pylabview/LVheap.py - Link references
pylabview/LVlinkinfo.py - Compiled code
pylabview/LVcode.py
XML modification
- XML modifier
pylabview/modRSRC.py - XML support
pylabview/LVxml.py
Other components
- Tool user
Connections 27
- Tool user → Extract command: runs extraction
README.md - Extract command → Resource container: opens RSRC
pylabview/readRSRC.py - Resource container → Resource blocks: loads blocks
pylabview/LVrsrcontainer.py - Resource blocks → Type descriptors: uses types
pylabview/LVblock.py - Resource blocks → Typed data fills: uses fills
pylabview/LVblock.py - Resource blocks → Panel and diagram heaps: uses heaps
pylabview/LVblock.py - Resource blocks → Link references: uses links
pylabview/LVblock.py - Resource blocks → Compiled code: uses code
pylabview/LVblock.py - Resource blocks → Instrument metadata: uses metadata
pylabview/LVblock.py - Resource blocks → Panel parts: uses definitions
pylabview/LVblock.py - Type descriptors → Type references: uses references
pylabview/LVdatatype.py - Type descriptors → Shared LV objects: uses objects
pylabview/LVdatatype.py - Typed data fills → Type descriptors: uses descriptors
pylabview/LVdatafill.py - Typed data fills → Shared LV objects: uses variants
pylabview/LVdatafill.py - Panel and diagram heaps → Type descriptors: decodes values
pylabview/LVheap.py - Panel and diagram heaps → Typed data fills: uses fills
pylabview/LVheap.py - Resource blocks → XML support: exports XML
README.md - Tool user → XML modifier: edits extracted data
README.md - XML modifier → XML support: reads and writes
pylabview/modRSRC.py - XML modifier → Panel parts: modifies panel parts
pylabview/modRSRC.py - XML modifier → Rebuild command: prepares rebuild
README.md - Tool user → Rebuild command: runs reconstruction
README.md - Rebuild command → Resource container: recreates RSRC
README.md - Resource blocks → Format utilities: uses utilities
pylabview/LVblock.py - Type descriptors → XML support: serializes types
pylabview/LVdatatype.py - Typed data fills → XML support: serializes fills
pylabview/LVdatafill.py - Panel and diagram heaps → XML support: serializes heaps
pylabview/LVheap.py