Skip to content

Commit

Permalink
Merge pull request #12 from dinkelk/main
Browse files Browse the repository at this point in the history
adding hydra custom plot pages
  • Loading branch information
dinkelk authored Nov 29, 2023
2 parents 983eb1c + 9b06820 commit bde82b4
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 0 deletions.
22 changes: 22 additions & 0 deletions src/assembly/linux/main/hydra/Pages/custom/plots.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<pageDef>
<updateRate ms="1000"/>
<page title="test">
<column>
<section name="Data products:">
<row label="Counter Value:" item="Ccsds-Counter_Instance-Counter_Value-Value"/>
<row label="Oscillator A Value:" item="Ccsds-Housekeeping_Packet-Oscillator_A-Oscillator_Value-Value"/>
<row label="Oscillator B Value:" item="Ccsds-Housekeeping_Packet-Oscillator_B-Oscillator_Value-Value"/>
</section>
</column>
<column>
<chart title="Counter Plot" update="2000" interval="20000">
<line item="Ccsds-Counter_Instance-Counter_Value-Value" color="green"/>
</chart>
<chart title="Oscillator Plot" update="200" interval="20000">
<line item="Ccsds-Housekeeping_Packet-Oscillator_A-Oscillator_Value-Value" color="blue"/>
<line item="Ccsds-Housekeeping_Packet-Oscillator_B-Oscillator_Value-Value" color="red"/>
</chart>
</column>
</page>
</pageDef>
22 changes: 22 additions & 0 deletions src/assembly/pico/main/hydra/Pages/custom/plots.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<pageDef>
<updateRate ms="1000"/>
<page title="test">
<column>
<section name="Data products:">
<row label="Counter Value:" item="Ccsds-Counter_Instance-Counter_Value-Value"/>
<row label="Oscillator A Value:" item="Ccsds-Housekeeping_Packet-Oscillator_A-Oscillator_Value-Value"/>
<row label="Oscillator B Value:" item="Ccsds-Housekeeping_Packet-Oscillator_B-Oscillator_Value-Value"/>
</section>
</column>
<column>
<chart title="Counter Plot" update="2000" interval="20000">
<line item="Ccsds-Counter_Instance-Counter_Value-Value" color="green"/>
</chart>
<chart title="Oscillator Plot" update="200" interval="20000">
<line item="Ccsds-Housekeeping_Packet-Oscillator_A-Oscillator_Value-Value" color="blue"/>
<line item="Ccsds-Housekeeping_Packet-Oscillator_B-Oscillator_Value-Value" color="red"/>
</chart>
</column>
</page>
</pageDef>

0 comments on commit bde82b4

Please sign in to comment.