Giter Club home page Giter Club logo

veristand_python_demos's Introduction

Veristand_python_demos

Rewritten Python Demos from "NI Veristand .NET API".

Written for Veristand 2020 but could be rewritten to work with other Veristand Versions (Using Pythonnet).

Deploy.py - Example code to deploy a project in Veristand, using the built-in Engine demo.

  • To run the demo

    • Set the variable SystemDefinitionFilePath to your project path:
      Example: System.String("C:\Users\dsamuels\Documents\VeriStand Projects\Engine Demo nr\Engine Demo.nivssdf")
    • Run the Script:
      Example, using pyton 3.7:py -3.7 .\Deploy.py

Inspired by the example C# Walkthrough: Opening and Running a Project from NI Veristand .NET API documentation

SignalMappingsExample.py - Example code to add signals to mapping list, by exported file or signalwise.

  • To run the demo

    • Set the variable SystemDefinitionFilePath to your project path:
      Example: System.String("C:\Users\dsamuels\Documents\VeriStand Projects\Engine Demo nr\Engine Demo.nivssdf")
    • Use WriteMappingsFileToSystemDefinition("name of file to export signals from.txt") or AppendMappingPointToSystemDefinition(source, destination). The *.txt file should be a tab separated list of source destination
    • Run the Script: Example, using python 3.7: py -3.7 .\SignalMappingsExample.py

Inspired by the example: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000004AQlSAM

ASAM_XIL_2020Example.py - Example code, running built in engine demo using ASAM XIL. Setting a step response.

  • To run the demo

    • Run the Script:
      Example, using pyton 3.7:py -3.7 .\ASAM_XIL_2020Example.py

veristand_python_demos's People

Contributors

davidsamuelssonni 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.