Giter Site home page Giter Site logo

vikit's Introduction

VIKit

Tools for VIs and LabVIEW Development

Tool list

  • VIBuildProject -- builds a LabVIEW project.
  • VIPreCommitSnipDiagram -- mirrors LabVIEW source as VI snippets as part of git commit.
  • VIQueryBuildSpecs -- prints all of the build specifications in a LabVIEW project.
  • VIQueryVersion -- prints what LabVIEW version a LabVIEW file was written in.
  • VISnipDiagram -- creates VI snippets from a VI or folder.

Usage

  • VIBuildProject -- builds a LabVIEW project.
$ VIBuildProject.sh --project 'C:\path\to\VIKit.lvproj'
$ VIBuildProject.sh --project 'C:\path\to\VIKit.lvproj' --target 'VIKit.dll@My Computer'
$ VIBuildProject.sh --project 'C:\path\to\VIKit.lvproj' --lv-version 2014
  • VIPreCommitSnipDiagram -- mirrors LabVIEW source as VI snippets as part of git commit.
$ VIPreCommitSnipDiagram.sh install "relative/path/to/labview/source" "relative/path/to/snippet/mirror"
  • VIQueryBuildSpecs -- prints all of the build specifications in a LabVIEW project.
$ VIQueryBuildSpecs.exe 'C:\path\to\VIKit.lvproj'
My Computer     VIKit.dll       DLL
  • VIQueryVersion -- prints what LabVIEW version a LabVIEW file was written in.
$ VIQueryVersion.exe 'C:\path\to\VIQueryVersion.vi'
13.0
$ VIQueryVersion.exe 'C:\path\to\VIKit.lvproj'
13.0
  • VISnipDiagram -- creates VI snippets from a VI or folder.
$ VISnipDiagram.sh --vi 'C:\path\to\VIQueryVersion.vi' --png 'C:\path\to\VIQueryVersion.png'
$ VISnipDiagram.sh --vi 'C:\path\to\vi\source' --png 'C:\path\to\snippet\mirror' --lv-version 2014

Getting Started

  • These instructions assume you have MinGW installed.
  • Unpack the distribution:
$ tar -xzf VIKit.tar.gz
  • Build the tools:
$ cd VIKit
$ make
gcc -std=c99 VIQueryVersion.c -o VIQueryVersion.exe -lVIKit -LVIKit
.
.
.
  • Install the tools:
$ make install DEST='/path/to/your/bin'
  • Enable VI auto-snippets-on-git-commit for a repository (like VIKit has):
$ cd /path/to/your/git/repository
$ VIPreCommitSnipDiagram.sh install "relative/path/to/labview/source" "relative/path/to/snippet/mirror"
$ VISnipDiagram.sh --vi 'C:\full\path\to\labview\source' --png 'C:\full\path\to\snippet\mirror' --lv-version 2014
$ git add 'C:\full\path\to\snippet\mirror'
$ git commit -m "Adding VI snippet mirror"

Requirements

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.