Skip to content

Commit

Permalink
add testing for disabled case and functions
Browse files Browse the repository at this point in the history
  • Loading branch information
papowerNI committed Mar 3, 2022
1 parent 478d748 commit 3844ccd
Show file tree
Hide file tree
Showing 11 changed files with 707 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,9 @@
<Item Name="Deployment" Type="Folder">
<Item Name="Deployment.lvclass" Type="LVClass" URL="../Tests/System/Deployment/Deployment.lvclass"/>
</Item>
<Item Name="Disabled Custom Device" Type="Folder">
<Item Name="Disabled Custom Device.lvclass" Type="LVClass" URL="../Tests/System/Disabled Custom Device/Disabled Custom Device.lvclass"/>
</Item>
<Item Name="Logging Loopback" Type="Folder">
<Item Name="Logging Loopback.lvclass" Type="LVClass" URL="../Tests/System/Logging Loopback/Logging Loopback.lvclass"/>
</Item>
Expand Down

Large diffs are not rendered by default.

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>

Large diffs are not rendered by default.

Binary file not shown.
Binary file not shown.
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 not shown.
Binary file not shown.

Large diffs are not rendered by default.

Binary file not shown.

0 comments on commit 3844ccd

Please sign in to comment.