Skip to content

Commit

Permalink
Merge pull request #1 from NIVeriStandAdd-Ons/LinuxRTSupport
Browse files Browse the repository at this point in the history
PXI Linux RT support.
  • Loading branch information
ZhiYang-Ong authored Aug 11, 2022
2 parents 75ccc9d + f4898a8 commit 4032ede
Show file tree
Hide file tree
Showing 14 changed files with 1,516 additions and 121 deletions.
649 changes: 649 additions & 0 deletions Package Builder/NI 272x Resistive Simulation Custom Device.pbs

Large diffs are not rendered by default.

27 changes: 22 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,25 +1,42 @@
<!---
**NOTICE: This repository has been archived, and will no longer be maintained or accept pull requests.**
It has not been widely used lately, but is still of high quality. This is still the software to use for these cards. Barring unforseen upgrade difficulties, it will likely work very well.
--->

## NI 272x Resistive Simulation Custom Device ##

**NI 272x Resistive Simulation Custom Device** integrates the NI 272x series resistive simulation hardware into NI VeriStand.
This custom device supports Windows, Pharlap RT and Linux RT targets.

### LabVIEW Version ###
## Quick Start Documentation

LabVIEW 2011
The following table displays locations where you can access quick start documentation for the Instrument Addon Custom Device.

### Built Availability ###
| Type | Location |
| ----------- | ----------- |
| Built | `%Public%\Documents\National Instruments\NI VeriStand (Year)\Custom Devices\NI 272x Resistive Simulation\Quick Start Documentation` |
| Source | `Source\Quick Start Documentation` |
### LabVIEW Version ###

Builds of this IP are available on the [NI VeriStand Add-ons Community](https://decibel.ni.com/content/docs/DOC-24289).
The NI 272x Resistive Simulation Custom Device source code is in LabVIEW 2019.

### Quality, Limitations ###

This IP should be considered high quality and mature. The IP has been used worldwide by many customers in deployed applications since 2011.

### Dependencies ###

NI 272x Reference VIs version 13.0 or later
[NI 272x Reference VIs](https://www.ni.com/en-us/support/downloads/drivers/download.ni-272x-reference-vis.html) version 13.0 or later

### Built Availability ###

For VeriStand 2019 or later: See Releases tab. <br>
For VeriStand 2016 or earlier: See [NI VeriStand Add-ons Community](https://decibel.ni.com/content/docs/DOC-24289).

### Support and Contact ###
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 NI.

If you encounter a problem with this add-on, or if you have suggestions for a future revision, please post to the [NI 272x Custom Device Forum](https://forums.ni.com/t5/NI-VeriStand-Add-Ons-Discussions/NI-272x-Custom-Device-Feedback/td-p/3411237). You must use this feedback forum for support. Do not call NI for support for this add-on.

### License ###

Expand Down
122 changes: 64 additions & 58 deletions Source/Custom Device NI 272x Resistive Simulation.xml
Original file line number Diff line number Diff line change
@@ -1,33 +1,41 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<CustomDevice xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="Custom Device.xsd">
<XSDVersion Major="2010" Minor="0" Fix="0" Build="0" />
<XSDVersion Major="2010" Minor="0" Fix="0" Build="0" />
<AddMenu>
<eng>National Instruments::NI 272x Resistive Simulation</eng>
<loc>National Instruments::NI 272x Resistive Simulation</loc>
<eng>NI 272x Resistive Simulation</eng>
<loc>NI 272x Resistive Simulation</loc>
</AddMenu>
<Version>2.1.0</Version>
<Version>2.2.0</Version>
<Type>Asynchronous</Type>
<MaxOccurrence>2474</MaxOccurrence>
<MainPageGUID>21b70d88-f326-4fa7-aab6-5b7b3a71cf29</MainPageGUID>
<InitializationVI>
<Type>Action</Type>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\Initialization VI.vi</Path>
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\Initialization VI.vi</Path>
</Item2Launch>
</InitializationVI>
<CustomDeviceVI>
<SourceDistribution>
<Source>
<SupportedTarget>PharlapWindows</SupportedTarget>
<Source>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Engine.llb\Driver.vi</Path>
</Source>
<RealTimeSystemDestination>c:\ni-rt\NIVeriStand\Custom Devices\NI 272x Resistive Simulation\Engine.llb\Driver.vi</RealTimeSystemDestination>
</Source>
</SourceDistribution>
</CustomDeviceVI>
<SourceDistribution>
<Source>
<SupportedTarget>PharlapWindows</SupportedTarget>
<Source>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Engine.llb\Driver.vi</Path>
</Source>
<RealTimeSystemDestination>c:\ni-rt\NIVeriStand\Custom Devices\NI 272x Resistive Simulation\Engine.llb\Driver.vi</RealTimeSystemDestination>
</Source>
<Source>
<SupportedTarget>Linux_x64</SupportedTarget>
<Source>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Engine Linux64.llb\Driver.vi</Path>
</Source>
<RealTimeSystemDestination>c:\ni-rt\NIVeriStand\Custom Devices\NI 272x Resistive Simulation\Engine Linux64.llb\Driver.vi</RealTimeSystemDestination>
</Source>
</SourceDistribution>
</CustomDeviceVI>
<Dependencies />
<Pages>
<Page>
Expand All @@ -37,37 +45,37 @@
</Name>
<GUID>21b70d88-f326-4fa7-aab6-5b7b3a71cf29</GUID>
<Glyph>
<Type>To Application Data Dir</Type>
<Path>System Explorer\Glyphs\daq device.png</Path>
</Glyph>
<Type>To Application Data Dir</Type>
<Path>System Explorer\Glyphs\daq device.png</Path>
</Glyph>
<Item2Launch>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\Main Page.vi</Path>
</Item2Launch>
<RunTimeMenu>
<MenuItem>
<GUID>03D3BE0A-1485-13A6-563AEB9BF271825A</GUID>
<Type>VI</Type>
<MinNrOfChilds>1</MinNrOfChilds>
<Name>
<eng>Delete Multiple Items</eng>
<loc>Delete Multiple Items</loc>
</Name>
<Item2Launch>
<Type>Absolute</Type>
<Path>Dialogs\Delete Multiple Items.vi</Path>
</Item2Launch>
</MenuItem>
<MenuItem>
<GUID>03D3BE0A-1485-13A6-563AEB9BF271825A</GUID>
<Type>VI</Type>
<MinNrOfChilds>1</MinNrOfChilds>
<Name>
<eng>Delete Multiple Items</eng>
<loc>Delete Multiple Items</loc>
</Name>
<Item2Launch>
<Type>Absolute</Type>
<Path>Dialogs\Delete Multiple Items.vi</Path>
</Item2Launch>
</MenuItem>
</RunTimeMenu>
<ActionVIOnLoad>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\On Load Action VI.vi</Path>
</ActionVIOnLoad>
<ActionVIOnCompile>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\Compile Engine Data.vi</Path>
</ActionVIOnCompile>
</Page>
<ActionVIOnCompile>
<Type>To Common Doc Dir</Type>
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\Compile Engine Data.vi</Path>
</ActionVIOnCompile>
</Page>
<Page>
<Name>
<eng>Status Section</eng>
Expand Down Expand Up @@ -163,7 +171,7 @@
<Type>Absolute</Type>
<Path>System UI VIs\Custom Device\Custom Device Section.vi</Path>
</Item2Launch>
<RunTimeMenu>
<RunTimeMenu>
<MenuItem>
<GUID>dce542f8-b972-4d48-b7c2-fe31388b766e</GUID>
<Type>Action</Type>
Expand All @@ -176,20 +184,20 @@
<Path>Custom Devices\NI 272x Resistive Simulation\Configuration.llb\Add Channel - Right Click.vi</Path>
</Item2Launch>
</MenuItem>
<MenuItem>
<GUID>03D3BE0A-1485-13A6-563AEB9BF271825A</GUID>
<Type>VI</Type>
<MinNrOfChilds>1</MinNrOfChilds>
<Name>
<eng>Delete Multiple Items</eng>
<loc>Delete Multiple Items</loc>
</Name>
<Item2Launch>
<Type>Absolute</Type>
<Path>Dialogs\Delete Multiple Items.vi</Path>
</Item2Launch>
</MenuItem>
</RunTimeMenu>
<MenuItem>
<GUID>03D3BE0A-1485-13A6-563AEB9BF271825A</GUID>
<Type>VI</Type>
<MinNrOfChilds>1</MinNrOfChilds>
<Name>
<eng>Delete Multiple Items</eng>
<loc>Delete Multiple Items</loc>
</Name>
<Item2Launch>
<Type>Absolute</Type>
<Path>Dialogs\Delete Multiple Items.vi</Path>
</Item2Launch>
</MenuItem>
</RunTimeMenu>
<ButtonList>
<Button>
<ID>AddChan</ID>
Expand All @@ -212,15 +220,13 @@
<loc>Add Channel</loc>
</TipStrip>
<Documentation>
<eng>
</eng>
<loc>
</loc>
<eng></eng>
<loc></loc>
</Documentation>
</Button>
</ButtonList>
</Page>
</Pages>
</Pages>
<CustomXML>
<Dummy></Dummy>
</CustomXML>
Expand Down
Loading

0 comments on commit 4032ede

Please sign in to comment.