Skip to content

Commit

Permalink
Logging to CSV addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukasz-Juranek committed Nov 14, 2017
1 parent f475f35 commit 8893d24
Show file tree
Hide file tree
Showing 3 changed files with 146 additions and 63 deletions.
56 changes: 38 additions & 18 deletions build/classes/uccbviewer/USBtinViewer.form
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,30 @@
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="serialPort" min="-2" pref="111" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="bitRate" min="-2" pref="86" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="openmodeComboBox" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="connectionButton" min="-2" pref="81" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="logToFile" min="-2" pref="90" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="clearButton" min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Component id="serialPort" min="-2" pref="111" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="bitRate" min="-2" pref="86" max="-2" attributes="0"/>
</Group>
<Component id="openmodeComboBox" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jButton2" max="32767" attributes="0"/>
<Component id="connectionButton" pref="97" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="followButton" min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="logToFile" max="32767" attributes="0"/>
<Component id="jButton1" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="jButton2" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="3" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="clearButton" min="-2" pref="63" max="-2" attributes="0"/>
<Component id="followButton" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="86" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
Expand All @@ -104,16 +112,20 @@
<Group type="103" groupAlignment="3" attributes="0">
<Component id="serialPort" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="bitRate" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="openmodeComboBox" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="connectionButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="followButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="clearButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="logToFile" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="followButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="openmodeComboBox" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
<Component id="mainTabbedPane" min="-2" pref="363" max="-2" attributes="0"/>
<EmptySpace pref="19" max="32767" attributes="0"/>
<EmptySpace pref="6" max="32767" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="msgId" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="msgLength" alignment="3" min="-2" max="-2" attributes="0"/>
Expand Down Expand Up @@ -530,5 +542,13 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="jButton1">
<Properties>
<Property name="text" type="java.lang.String" value="SLCAN"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Form>
56 changes: 38 additions & 18 deletions src/uccbviewer/USBtinViewer.form
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,30 @@
<EmptySpace min="0" pref="0" max="32767" attributes="0"/>
</Group>
<Group type="102" alignment="0" attributes="0">
<Component id="serialPort" min="-2" pref="111" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="bitRate" min="-2" pref="86" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="openmodeComboBox" min="-2" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="connectionButton" min="-2" pref="81" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="logToFile" min="-2" pref="90" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="clearButton" min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Group type="102" attributes="0">
<Component id="serialPort" min="-2" pref="111" max="-2" attributes="0"/>
<EmptySpace max="-2" attributes="0"/>
<Component id="bitRate" min="-2" pref="86" max="-2" attributes="0"/>
</Group>
<Component id="openmodeComboBox" max="32767" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="24" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" max="-2" attributes="0">
<Component id="jButton2" max="32767" attributes="0"/>
<Component id="connectionButton" pref="97" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="followButton" min="-2" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="logToFile" max="32767" attributes="0"/>
<Component id="jButton1" max="32767" attributes="0"/>
</Group>
<EmptySpace max="-2" attributes="0"/>
<Component id="jButton2" min="-2" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="3" max="-2" attributes="0"/>
<Group type="103" groupAlignment="0" attributes="0">
<Component id="clearButton" min="-2" pref="63" max="-2" attributes="0"/>
<Component id="followButton" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="86" max="-2" attributes="0"/>
</Group>
</Group>
</Group>
Expand All @@ -104,16 +112,20 @@
<Group type="103" groupAlignment="3" attributes="0">
<Component id="serialPort" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="bitRate" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="openmodeComboBox" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="connectionButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="followButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="clearButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="logToFile" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace min="-2" pref="1" max="-2" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="jButton2" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="jButton1" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="followButton" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="openmodeComboBox" alignment="3" min="-2" max="-2" attributes="0"/>
</Group>
<EmptySpace type="unrelated" max="-2" attributes="0"/>
<EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
<Component id="mainTabbedPane" min="-2" pref="363" max="-2" attributes="0"/>
<EmptySpace pref="19" max="32767" attributes="0"/>
<EmptySpace pref="6" max="32767" attributes="0"/>
<Group type="103" groupAlignment="3" attributes="0">
<Component id="msgId" alignment="3" min="-2" max="-2" attributes="0"/>
<Component id="msgLength" alignment="3" min="-2" max="-2" attributes="0"/>
Expand Down Expand Up @@ -530,5 +542,13 @@
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton2ActionPerformed"/>
</Events>
</Component>
<Component class="javax.swing.JButton" name="jButton1">
<Properties>
<Property name="text" type="java.lang.String" value="SLCAN"/>
</Properties>
<Events>
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="jButton1ActionPerformed"/>
</Events>
</Component>
</SubComponents>
</Form>
Loading

0 comments on commit 8893d24

Please sign in to comment.