Skip to content

Commit

Permalink
Updated CSV playback to work with the multi-plot view
Browse files Browse the repository at this point in the history
  • Loading branch information
ajn96 committed Jun 24, 2022
1 parent 1059551 commit 40907ba
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/DataPlotGUI.vb
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,11 @@ Public Class DataPlotGUI
Exit Sub
End If

'reset to only a single plot view for playback
While numberPlotAreas > 1
btn_RemovePlot_Click(Nothing, Nothing)
End While

If Not SetupCSVRegs() Then
MsgBox("ERROR: Invalid Log CSV")
Exit Sub
Expand Down Expand Up @@ -516,7 +521,7 @@ Public Class DataPlotGUI
regCnt = 0
For j As Integer = 0 To regView.RowCount() - 1
regFound = headers.Contains(regView.Item("Label", j).Value.ToString())
regView.Item("Plot", j).Value = regFound.ToString()
regView.Item("Plot1", j).Value = regFound.ToString()
If regFound Then
regCnt += 1
End If
Expand Down

0 comments on commit 40907ba

Please sign in to comment.