-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #211 from ni/dev/enable-disable
Add enable/disable functionality to custom device
- Loading branch information
Showing
30 changed files
with
936 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file added
BIN
+23.4 KB
Source/Custom Device Support/Scripting/Custom Device/Check If Custom Device Enabled.vi
Binary file not shown.
Binary file added
BIN
+19.7 KB
Source/Custom Device Support/Scripting/Custom Device/Disable Custom Device.vi
Binary file not shown.
Binary file added
BIN
+19.6 KB
Source/Custom Device Support/Scripting/Custom Device/Enable Custom Device.vi
Binary file not shown.
Binary file modified
BIN
+756 Bytes
(100%)
...om Device Support/Scripting/Custom Device/Find All Ballard MIL-STD-1553 Custom Devices.vi
Binary file not shown.
Binary file modified
BIN
+388 Bytes
(100%)
.../Custom Device Support/Scripting/Custom Device/Find Ballard MIL-STD-1553 Custom Device.vi
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+156 Bytes
(100%)
...plorer/Implementation/System Explorer Dispatcher/Build Map from Page GUIDs to Page VIs.vi
Binary file not shown.
Binary file added
BIN
+15.5 KB
...om Device Support/System Explorer/Implementation/System Explorer/RTM/EnableDisable RTM.vi
Binary file not shown.
Binary file added
BIN
+13.9 KB
...t/System Explorer/Implementation/System Explorer/subVIs/Check If Custom Device Enabled.vi
Binary file not shown.
371 changes: 371 additions & 0 deletions
371
Source/Custom Device Support/Tests/System/Disabled Custom Device/Assets/1553_Hardware.xml
Large diffs are not rendered by default.
Oops, something went wrong.
236 changes: 236 additions & 0 deletions
236
...m Device Support/Tests/System/Disabled Custom Device/Assets/1553_VS_Scaled_Parameters.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,236 @@ | ||
<?xml version="1.0"?> | ||
<parameters xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> | ||
<channel> | ||
<hardwareChannel>0</hardwareChannel> | ||
<terminals> | ||
<terminal> | ||
<terminalAddress>0</terminalAddress> | ||
</terminal> | ||
<terminal> | ||
<terminalAddress>1</terminalAddress> | ||
</terminal> | ||
<terminal> | ||
<terminalAddress>15</terminalAddress> | ||
</terminal> | ||
<terminal> | ||
<terminalAddress>21</terminalAddress> | ||
</terminal> | ||
<terminal> | ||
<terminalAddress>31</terminalAddress> | ||
</terminal> | ||
</terminals> | ||
<acyclicFrame> | ||
<createTriggerChannel>true</createTriggerChannel> | ||
<name>acyclicFrame ID56</name> | ||
</acyclicFrame> | ||
<message> | ||
<name>BC to RT 1.2</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>2</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>BC to RT</messageType> | ||
<numberOfWords>3</numberOfWords> | ||
<createTimestampChannel>true</createTimestampChannel> | ||
</message> | ||
<message> | ||
<name>RT 15.21 to RT 31.21</name> | ||
<address> | ||
<terminalAddress>15</terminalAddress> | ||
<subAddress>21</subAddress> | ||
<direction>Tx</direction> | ||
</address> | ||
<address> | ||
<terminalAddress>31</terminalAddress> | ||
<subAddress>21</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>RT to RT</messageType> | ||
<numberOfWords>11</numberOfWords> | ||
<createTimestampChannel>true</createTimestampChannel> | ||
<parameters> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>false</signed> | ||
<startBit>0</startBit> | ||
<numberOfBits>16</numberOfBits> | ||
<scale>2</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 0</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>false</signed> | ||
<startBit>16</startBit> | ||
<numberOfBits>16</numberOfBits> | ||
<scale>1</scale> | ||
<offset>50</offset> | ||
<name>Parameter 1</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>true</signed> | ||
<startBit>32</startBit> | ||
<numberOfBits>16</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 2</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>false</signed> | ||
<startBit>48</startBit> | ||
<numberOfBits>16</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 3</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>false</signed> | ||
<startBit>64</startBit> | ||
<numberOfBits>16</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 4</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>false</signed> | ||
<startBit>80</startBit> | ||
<numberOfBits>16</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 5</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BCD</encoding> | ||
<signed>false</signed> | ||
<startBit>96</startBit> | ||
<numberOfBits>32</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 6</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>true</signed> | ||
<startBit>128</startBit> | ||
<numberOfBits>8</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 8</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
<parameter> | ||
<encoding>BNR</encoding> | ||
<signed>false</signed> | ||
<startBit>136</startBit> | ||
<numberOfBits>40</numberOfBits> | ||
<scale>1</scale> | ||
<offset>0.0</offset> | ||
<name>Parameter 9</name> | ||
<defaultValue>0.0</defaultValue> | ||
</parameter> | ||
</parameters> | ||
</message> | ||
<message> | ||
<name>BC to RT 1.3</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>3</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>BC to RT</messageType> | ||
<numberOfWords>4</numberOfWords> | ||
</message> | ||
<message> | ||
<name>RT 1.5 to BC</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>5</subAddress> | ||
<direction>Tx</direction> | ||
</address> | ||
<messageType>RT to BC</messageType> | ||
<numberOfWords>6</numberOfWords> | ||
</message> | ||
<message> | ||
<name>RT 1.6 to BC</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>6</subAddress> | ||
<direction>Tx</direction> | ||
</address> | ||
<messageType>RT to BC</messageType> | ||
<numberOfWords>2</numberOfWords> | ||
<createTimestampChannel>true</createTimestampChannel> | ||
</message> | ||
<message> | ||
<name>RT 1.20 to RT 15.20</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>20</subAddress> | ||
<direction>Tx</direction> | ||
</address> | ||
<address> | ||
<terminalAddress>15</terminalAddress> | ||
<subAddress>20</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>RT to RT</messageType> | ||
<numberOfWords>4</numberOfWords> | ||
<createTimestampChannel>false</createTimestampChannel> | ||
</message> | ||
<message> | ||
<name>MC 16</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>31</subAddress> | ||
<direction>Tx</direction> | ||
</address> | ||
<messageType>MC</messageType> | ||
<numberOfWords>1</numberOfWords> | ||
<modeCode>16</modeCode> | ||
</message> | ||
<message> | ||
<name>MC 17</name> | ||
<address> | ||
<terminalAddress>1</terminalAddress> | ||
<subAddress>31</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>MC</messageType> | ||
<numberOfWords>1</numberOfWords> | ||
<modeCode>17</modeCode> | ||
</message> | ||
<message> | ||
<name>BC to RT 31.28</name> | ||
<address> | ||
<terminalAddress>31</terminalAddress> | ||
<subAddress>28</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>BC to RT</messageType> | ||
<numberOfWords>6</numberOfWords> | ||
</message> | ||
<message> | ||
<name>MC 01</name> | ||
<address> | ||
<terminalAddress>31</terminalAddress> | ||
<subAddress>31</subAddress> | ||
<direction>Rx</direction> | ||
</address> | ||
<messageType>MC</messageType> | ||
<numberOfWords>0</numberOfWords> | ||
<modeCode>1</modeCode> | ||
</message> | ||
</channel> | ||
</parameters> |
82 changes: 82 additions & 0 deletions
82
.../Custom Device Support/Tests/System/Disabled Custom Device/Disabled Custom Device.lvclass
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file added
BIN
+16.5 KB
Source/Custom Device Support/Tests/System/Disabled Custom Device/Script Custom Device.vi
Binary file not shown.
Binary file added
BIN
+14.6 KB
Source/Custom Device Support/Tests/System/Disabled Custom Device/setUp.vi
Binary file not shown.
5 changes: 5 additions & 0 deletions
5
Source/Custom Device Support/Tests/System/Disabled Custom Device/targets.ini
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[Supported Targets] | ||
Linux64PXI = vs-eco-slave-8880 | ||
|
||
[Active Configuration] | ||
Platform = Linux64PXI |
Binary file added
BIN
+8.2 KB
Source/Custom Device Support/Tests/System/Disabled Custom Device/tearDown.vi
Binary file not shown.
Binary file added
BIN
+11.3 KB
...evice Support/Tests/System/Disabled Custom Device/test Disabled Device can be Deployed.vi
Binary file not shown.
Oops, something went wrong.