Code Monkey home page Code Monkey logo

labview-oop-classes's Introduction

LabVIEW-OOP-Classes

Simple, clear, and organized object oriented approach to LabVIEW.

Buy Me A Coffee

Included LabVIEW Classes

  • DAQ
    • Analog Input
    • Digital Input
    • Digital Output
    • SSR (Solid State Relay)
    • Temparture (Thermocouple)
  • Hardware
  • Uitlity
    • Timer - Object to independantly keep track of time
    • UUT - Object to define a Unit Under Test and its parameters (can be passed around)
    • Database - Object that interfaces with a TDMS database
    • Results Logger - Object that can be used to log results to a local file

Usage

You have to create a LabVIEW project to use any of these classes. It is probably smarter and cleaner to copy the entire class directory into the project directory before importing the class. To import any of the LabVIEW classes into your own labview project, simply add the .lvclass file into your project. If you are not sure how to add files to a project, here is an overview: https://zone.ni.com/reference/en-XX/help/371361R-01/lvhowto/adding_items_project/

Examples

All of these LabVIEW class definitions have example code included in the form of a labview project (.lvproj). You can use actual NI Hardware for the DAQ definitions, or you can also simulate hardware using NI-MAX.

If you are not sure how to create a simulated hardware, here is an overview: http://www.ni.com/tutorial/3698/en/ (Note that you only have to create it, then use these LabVIEW classes to reference them). If you cannot find the "Create New" button in NI-MAX, you may have to download the matching NI-DAQmx. Note, the NI-DAQmx MUST match the LabVIEW version (ie. 20.0 for both)

NOTE

  • Some of the classes (ie. DAQ) start an independent background process, which continously aquires data. If this independent process is not properly stopped, it will run in the background until LabVIEW is exited. So be sure to use the appropriate Stop class method VI (ie. DAQ/Analog Input/AI_class/Stop AI.vi). You can view one of the example projects to see what that should look like.
  • All classes were made using NI GOOP, however GOOP is not needed to use these LabVIEW classes.
  • All classes will work in Labview 2016 and later

👤 Author

Ismet Handžić - Github: @ismet55555

Licence

This project is licensed under the MIT License - see the LICENSE.md file for details

labview-oop-classes's People

Contributors

ismet55555 avatar

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.