Skip to content

fadilf/gpreview-labview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GPreview LabVIEW

GPreview LV Demo

Allows you to "print" VI files into interactive HTML files with browsable multi-frame structures like case structures and event structures.

Source is saved for LabVIEW 2019.

Examples of interactive previews:

This tool can also be used as VS Code extension for convenience.

Usage

Direct from VI

By using Generate VI HTML.vi, you can generate the HTML output for a LabVIEW file directly. See .\Test Cases\Run Tests.vi for more information.

CLI

Basic syntax:

LabVIEWCLI -OperationName RunVI -PortNumber <port number> -VIPath <path to CLI.vi> <optional parameters> <labview file path> <output file path>

Optional parameters:

[--default-tab=<FP|BD|Info>] - Sets the default tab visible when opening the preview
                               If tab is not available or this param not set, defaults to Info
[--minify]                  - Minifies the HTML output
[--disable-fp]              - Disables the front-panel tab
[--disable-bd]              - Disables the block-diagram tab

Required parameters:

  • <labview file path> - Absolute path to vi/vim/vit/ctl file
  • <output file path> - Absolute path to output HTML file

Example usage:

LabVIEWCLI -OperationName RunVI -PortNumber 3363 -VIPath .\CLI.vi --minify "C:\...\Test Cases\ControllerWorkerPattern.vit" "C:\...\Test Cases\ControllerWorkerPattern.html"

About

Generates an interactive HTML preview of LabVIEW VIs

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages