Giter VIP home page Giter VIP logo

rad's Introduction

NI Replication and Deployment Utility

The NI Replication and Deployment (RAD) reference utility provides a turn-key solution for automated NI Real-Time device image deployment, replication, and management. It is built using functionality provided by the NI System Configuration API. The utility provides an easy-to-use interface for creating and deploying images from NI Real-Time targets. To learn more about configuration management with NI Real-Time devices, visit the RAD Utility White Paper. To discussion issues with RAD, visit the LabVIEW Real-Time Application Deployment Discussion Forum.

Replication and Deployment (RAD) Utility White Paper
http://www.ni.com/example/30986/en/

LabVIEW Real-Time Application Deployment Discussion Forum
https://forums.ni.com/t5/Real-Time-and-Control/LabVIEW-Real-Time-Application-Deployment/td-p/751032

Using Replication and Deployment Repository

  1. Clone or download this repository.
  2. Copy its contents into your project (including the hidden .github directory).
  3. Customize each file to suit your project's needs (including the README).
  4. (Optional) Check out GitHub Template Guidelines for ideas about how to customize your project.

rad's People

Contributors

doczhivago avatar sparkingspork avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

rad's Issues

Race condition in rad_Extract Full Image.vi

There is a race condition in rad_Extract Full Image.vi. In the VI there is a copy function and a subVI called Util_AppCreateTempDirectory.vi. The order of execution of these two functions is not guaranteed. If the util runs first, it deletes and recreates a directory. The copy then copies the image file to this newly created directory. This is the correct order.

If the copy happens first, then the util deletes the directory along with the copied image file and leaves an empty directory.

Functions downstream fail in this case as they expect the image to be there and it isn't. The user level symptom of this is being told that the image file is incompatible with the version of RAD. This is because the image file version string is empty.

Source code not separated from compiled code

Best practices for LabVIEW Code in version control recommend separating compiled code from the source code for all VIs. The current version of the RAD project does not have this option enabled.

Blacklist SystemLink Files

We need to add some SystemLink directories to the permanent blacklist list. The files that we are permanently blacklisting are ID files that would never need to be copied from one target to the next. I've included the items we need blacklisted below:

  • /etc/salt/minion_id
  • /etc/salt/pki (all files in that directory)

Error when creating image from RT Linux cRIO with full hard drive

If you try to retrieve an image from a 9038 or 9049 when the / file system is 100% full, you will get a pop up with a unhelpful error message.
cRIO Hard Drive Full Error Message

I think this happens if you deploy to a full cRIO as well.

Maybe if this error is detected a file system check can be done, and if full, a more informative error message provided.

This error happens in the Create System Image (Folder).vi that is called from rad_Retrieve Image Wrapper.vi.

Includes in the Installer Build Spec

In the installer build spec for RAD NI System Configuration is included, but NI CompactRIO Runtime is not. The later is required to allow systems to work with newer cRIOs over their USB connection.

Destination directory in the "Choose Image Storage Directory" is wrong if you move back a step and forward a step

When retrieving a new image, if you press "back" on the "Choose Image Directory" step and then press "OK" again, the application image path shows as incorrect. Every time you press back and OK, a new level is added to the image path.

  1. Select a Deployment Target
  2. Select Retrieve
  3. Chose New Application Image
  4. Type in a name of your choice and press OK
  5. Take note of the generated application image path then press Back
  6. Press OK and notice that a new level has been added to the file path
  7. Repeat steps 5 and 6 and see that a new layer is added every time.

Workaround: Press Browse under the defined file path and then press OK. This will return the file path to its expected format.

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.