Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Commit

Permalink
Release 1.0.9.18
Browse files Browse the repository at this point in the history
Fix Late Bind warning in _timerCB
Add more keymappings
Implement use of Grbl's info on buffer size
  • Loading branch information
gerritv committed Oct 6, 2018
1 parent 80366b2 commit 07874bb
Show file tree
Hide file tree
Showing 12 changed files with 3,399 additions and 6,382 deletions.
5 changes: 4 additions & 1 deletion CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
This file documents changes made:
V1.0.9.17 - 2017 Nov 13
V1.0.9.18 - 2018 Oct 6
- Implement using buffer size from Grbl for display
- Implement additional key mappings
- Fix Late Bind warni9.17 - 2017 Nov 13
- Fix to allow entry of '-' in Work position text boxes, Issue #111
V1.0.9.16 - 2017 Nov 10
- Fix crash on invalid tool number< Issue #128
Expand Down
6 changes: 3 additions & 3 deletions Grbl-Panel/App.config
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@
<setting name="JoggingFRDefault" serializeAs="String">
<value>F2</value>
</setting>
<setting name="StartupDelay" serializeAs="String">
<value>1.5</value>
</setting>
<setting name="DefaultFileExt" serializeAs="String">
<value>txt</value>
</setting>
Expand Down Expand Up @@ -127,6 +124,9 @@
<setting name="TruncationDigits" serializeAs="String">
<value>0</value>
</setting>
<setting name="StartDelay" serializeAs="String">
<value>1.5</value>
</setting>
</GrblPanel.My.MySettings>
</userSettings>
</configuration>
5 changes: 4 additions & 1 deletion Grbl-Panel/CHANGES.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
This file documents changes made:
V1.0.9.17 - 2017 Nov 13
V1.0.9.18 - 2018 Oct 6
- Implement using buffer size from Grbl for display
- Implement additional key mappings
- Fix Late Bind warni9.17 - 2017 Nov 13
- Fix to allow entry of '-' in Work position text boxes, Issue #111
V1.0.9.16 - 2017 Nov 10
- Fix crash on invalid tool number< Issue #128
Expand Down
18 changes: 18 additions & 0 deletions Grbl-Panel/GrblGui.vb
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,10 @@ Public Class GrblGui
_gui.btnStartResume.PerformClick()
End If
handled = True
Case Keys.R And My.Computer.Keyboard.CtrlKeyDown
' Start sending the file
_gui.btnFileSend.PerformClick()
handled = True

' Single Step
Case Keys.O
Expand Down Expand Up @@ -293,6 +297,20 @@ Public Class GrblGui
_gui.btnRapidOverride50.PerformClick()
handled = True

' Miscellaneous mappings
Case Keys.H ' Go Home
_gui.btnHome.PerformClick()
handled = True
Case Keys.D1 And My.Computer.Keyboard.CtrlKeyDown
_gui.btnWorkSoftHome.PerformClick()
handled = True
Case Keys.D2 And My.Computer.Keyboard.CtrlKeyDown
_gui.btnWorkSpclPosition.PerformClick()
handled = True
Case Keys.C And My.Computer.Keyboard.CtrlKeyDown
_gui.btnConnect.PerformClick()
handled = True

End Select
End If

Expand Down
25 changes: 25 additions & 0 deletions Grbl-Panel/GrblInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,26 @@
_single = value
End Set
End Property
Private _QueueSize As Int16
Public Property QueueSize() As Int16
Get
Return _QueueSize
End Get
Set(ByVal value As Int16)
_QueueSize = value
End Set
End Property
Private _BufferSize As Int16
Public Property BufferSize() As Int16
Get
Return _BufferSize
End Get
Set(ByVal value As Int16)
_BufferSize = value
End Set
End Property
End Class

''' <summary>
''' Handle incoming VER and OPT message from $I request
''' </summary>
Expand All @@ -50,6 +69,12 @@
If data.StartsWith("[OPT") Then
Dim str As String = data.Remove(data.Length - 3)
tbGrblOptions.Text = str.Remove(0, 5)

Dim values() As String
values = Split(tbGrblOptions.Text, ",")
info.BufferSize = Convert.ToInt16(values(2))
info.QueueSize = Convert.ToInt16(values(1))

info.once = False
End If
End If
Expand Down
4 changes: 2 additions & 2 deletions Grbl-Panel/GrblStatus.vb
Original file line number Diff line number Diff line change
Expand Up @@ -285,8 +285,8 @@ Partial Class GrblGui
Case "Bf"
Dim values = Split(portion(1), ",")
Try
prgBarQ.Value = 15 - values(0)
prgbRxBuf.Value = 128 - values(1)
prgBarQ.Value = info.QueueSize - values(0)
prgbRxBuf.Value = info.BufferSize - values(1)
Catch
End Try
Case "F"
Expand Down
2 changes: 1 addition & 1 deletion Grbl-Panel/GrblUtils.vb
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Partial Class GrblGui
Else
If Not IsNothing(state) And _stopwatch.IsRunning Then
_span = FromMilliseconds(_stopwatch.ElapsedMilliseconds)
state.Text = _span.ToString("hh\:mm\:ss")
c.Text = _span.ToString("hh\:mm\:ss")
End If
End If
End Sub
Expand Down
6 changes: 3 additions & 3 deletions Grbl-Panel/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Imports System.Runtime.InteropServices
<Assembly: AssemblyDescription("A control panel for Grbl")>
<Assembly: AssemblyCompany("")>
<Assembly: AssemblyProduct("Grbl Panel")>
<Assembly: AssemblyCopyright("Copyright © 2014-2017")>
<Assembly: AssemblyCopyright("Copyright © 2014-2018")>
<Assembly: AssemblyTrademark("(c) Gerrit Visser")>

<Assembly: ComVisible(False)>
Expand All @@ -33,7 +33,7 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.0.9.17")>
<Assembly: AssemblyFileVersion("1.0.9.17")>
<Assembly: AssemblyVersion("1.0.9.18")>
<Assembly: AssemblyFileVersion("1.0.9.18")>

<Assembly: NeutralResourcesLanguageAttribute("en-CA")>
26 changes: 13 additions & 13 deletions Grbl-Panel/My Project/Settings.Designer.vb

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions Grbl-Panel/My Project/Settings.settings
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@
<Setting Name="JoggingFRDefault" Type="System.String" Scope="User">
<Value Profile="(Default)">F2</Value>
</Setting>
<Setting Name="StartupDelay" Type="System.String" Scope="User">
<Value Profile="(Default)">1.5</Value>
</Setting>
<Setting Name="DefaultFileExt" Type="System.String" Scope="User">
<Value Profile="(Default)">txt</Value>
</Setting>
Expand Down Expand Up @@ -119,5 +116,8 @@
<Setting Name="TruncationDigits" Type="System.String" Scope="User">
<Value Profile="(Default)">0</Value>
</Setting>
<Setting Name="StartDelay" Type="System.String" Scope="User">
<Value Profile="(Default)">1.5</Value>
</Setting>
</Settings>
</SettingsFile>
Loading

4 comments on commit 07874bb

@1Metalguru
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Gerrit:

Several people including myself have found the latest version to be unusable... It crashes as soon as you open it in Windows 7 in my case...

Problem signature:
Problem Event Name: CLR20r3
Problem Signature 01: GrblPanel.exe
Problem Signature 02: 1.0.9.18
Problem Signature 03: 5bb9254c
Problem Signature 04: GrblPanel
Problem Signature 05: 1.0.9.18
Problem Signature 06: 5bb9254c
Problem Signature 07: 415
Problem Signature 08: bf
Problem Signature 09: System.InvalidOperationException
OS Version: 6.1.7601.2.1.0.768.3
Locale ID: 1033
Additional Information 1: 8668
Additional Information 2: 8668501f365a654e45576e13410788d0
Additional Information 3: 3f7a
Additional Information 4: 3f7aa3d107065d0935ee7897464d171f

Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txt

@gerritv
Copy link
Owner

@gerritv gerritv commented on 07874bb Oct 9, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@1Metalguru Mmnn, stupid packaging error on my part, apologies to everyone.

@pappiagain
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How do I run in continuous mode after clicking start? After the program is done, it seems like you have to click start again but I want it to run continuously until I stop the program?

@1Metalguru
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure what you mean. When the program is done, it's done, you can't make a g-code program run continuously with GRBL Panel. When the g-code program reaches the end, it stops. You can "rewind" and hit play again, but why? The program has already run, running it again won't accomplish anything...

MG

Please sign in to comment.