NI VeriStand Add-Ons Documents

cancel
Showing results for 
Search instead for 
Did you mean: 

NI VeriStand Add-on: SLSC-12201 DIO Plugin Custom Device

Overview

The SLSC-12201 DIO Plugin Custom Device allows a customer to access properties,commands, and physical channels of SLSC-12201 33 V Digital I/O Conditioning Module within VeriStand.

 

Instructions for Use

 After installing the SLSC-12201 DIO Plugin Custom Device, you should be able to select SLSC-12201 DIO as a module on the SLSC Chassis:

image.png

Then, you can configure each Line properties of the card and the Bank properties. Those properties will be applied automatically on deployment:image.png

 

In the main page, you can configure all of the parameters on the board. If you click on the Check Box at Line 0, it will Enable the channel. If you select the Line (or several lines) and use the buttons Disable or Enable, it will change the values of all selected channels. And if you change the Direction of the channel, you can select as Input or Output and which type of output. And the Bank configuration, defines the parameters that should be assigned for the bank. In the picture above, we are enabling Pullup Resistor to be used for Bank 0 (which is applied to all ports 0 and 1) and we are using Vsup_0 line to the pull-up resistor, and, finally, we are using the 33 V range for Line 0, with the input threshold setup for 4 V.

 

image.png

 

 

 

If you want to change any property while the engine is running or programmatically, you can access any of those properties available as channels:

 

 

You can see the grouping of the channels as Bank0, which setup is applied to Port0 and Port1. And Bank1, where you apply Port2 and Port3. Notice also that Bank0 is related to Connector J1 and Bank1 to Connector J2, in case you need to troubleshoot the connections.

 

 

The Command group have channels that will apply a specific command whenever this change is changed from 0 to 1. So, if you want to enable the Line 0, you need to change the Enable value to 1 and change the Command Update Channel Configuration to 1. This will send a property change to the SLSC-12201 card and a Command to apply the changes to the output of the card.

 

 

The Diagnostic group will have the channel that can show you the Loop rate (SLSC Mod Update Rate and SLSC Mod Loop Rate) of the Asynchronous Loop, which you can increase or decrease in your system, so you can allow faster response to value changes or decrease the amount of processing effort applied on the SLSC plugin. Also, you have available the Vsup Power Fail/Good channels where they verify if the Power Supply applied to the Rear Transition Interface (RTI) failed or if the power supply is good at the moment. Both Vsup power lines are available for verification. Notice that once the Power Fail was activated, it will keep on until a Command Acknowledge Vsup Fail is toggled from 0 to 1.

 

 

 

 

 

 

 

 

 

 

 

 

Installing the SLSC-12201 DIO Plugin Custom Device

To use the SLSC-12201 DIO Plugin Custom Device, unzip the attached .zip file, and place the files under the folder SLSC-12201 DIO create in:

 

For VeriStand 2015 SP1:

C:\Users\Public\Documents\National Instruments\NI VeriStand 2015\Custom Devices\SLSC Plug-ins

For VeriStand 2016:

C:\Users\Public\Documents\National Instruments\NI VeriStand 2016\Custom Devices\SLSC Plug-ins

For VeriStand 2017 (and <year> later):

 C:\Users\Public\Documents\National Instruments\NI VeriStand 2017\SLSC Plugins\Modules

  C:\Users\Public\Documents\National Instruments\NI VeriStand <year>\SLSC Plugins\Modules

 

Add-on Requirements to Run the SLSC-12201 DIO Plugin Custom Device

 

Hardware

This add-on requires the following hardware:

Software

To run the SLSC-12201 Plugin Custom Device, you will need to use specific version in attachment with version used by VeriStand. In the page we have supported:

For VS2018 and later, look for the SLSC Plugin in the NI Package Manager under the VeriStand plugins.

 

 The Source code of the addon is based on LV 2015SP1 and it is available here:

NOTE: To build this custom device in versions after VS2016, you need to change the Project Conditional Disable Symbol to "Default".

 

image.png  

image.png

 

Release notes for the SLSC-12201 DIO Plugin Custom Device

 

<1.0.3>

  • Fixed the issue with order of the ENUM used for the Line and Port configuration was incorrect.
  • Added the "Vsup Power" monitoring channels and commands.
  • Added Loop Rate control to allow configuration in the main page.
  • Fixed issue with Bank configuration where "Enable Pull-up Resistor" would generate an error, not allowing to be setup on that page (generating error 1).
  • Fixed a issue on deployment of several chassis in the system, the extra chassis could not be accessed with this SLSC Plugin custom device,if you were using VeriStand 2015SP1 and VeriStand 2016.

 <1.0.0>

  • First Public Release

Support and Contact

If you encounter a problem with this add-on, or if you have suggestions for a future revision, please post to the forum for this add-on SLSC-12201-DIO-Plugin-Custom-Device Feedback. You must use this feedback forum for support. Do not call National Instruments for support for this add-on.

 

This add-on is provided as open-source software. If it does not meet your exact specification, you are encouraged to modify the source code to meet your needs. It is not officially supported by National  Instruments.

 

National  Instruments does not support this code or guarantee its quality in any  way. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY  KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH  IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).

 

Download This Add-On

See files in attachment. or for this and later versions, go to this pagehttps://github.com/ni/niveristand-slsc-12201-custom-device/releases

 

Barp - Control, Simulation, RTT and HIL - National Instruments