I've been playing with this software and I'm very impressed. It has great potential. Not ready for production yet but it looks very promising with it's calibration.
I've been thinking today of how to improve the camera. When searching for a hole on a piece of tape, if it can't find it's end game. If the software took a guess of where it is (from past found hole locations) and then tried different threshold settings till it found a hold in the expected location that would save a lot of hassle of having to restart a job.
Speaking of restarting job's, being able to resume at last past (or next part) would make running even smoother when there is an issue. Like a damaged tape that the hole is not visible.
I'll add these myself when I have time. Just trying to catch up on work, once I'm ahead I'll be getting into some programming.
LitePlacer-rmod Updates
Re: LitePlacer-rmod Updates
Try calibrating it using the part based calibration if you don't want it looking for holes. If it can't find the hole and you are using hole based placement, then it will skip the part and you can fix the situation and just hit place parts and it will place the parts it missed.Covert wrote:I've been playing with this software and I'm very impressed. It has great potential. Not ready for production yet but it looks very promising with it's calibration.
I've been thinking today of how to improve the camera. When searching for a hole on a piece of tape, if it can't find it's end game. If the software took a guess of where it is (from past found hole locations) and then tried different threshold settings till it found a hold in the expected location that would save a lot of hassle of having to restart a job.
Speaking of restarting job's, being able to resume at last past (or next part) would make running even smoother when there is an issue. Like a damaged tape that the hole is not visible.
I'll add these myself when I have time. Just trying to catch up on work, once I'm ahead I'll be getting into some programming.
It keeps track of all placed parts - you can save the job file and reload later - and it will know what it has already placed and skip them
not sure what you're planning on adding/changing but enjoy playing with the code. There are a lot of feature requests floating around.
Re: LitePlacer-rmod Updates
new release. sorry, i'm bad at tracking changes. other than random fixes, the biggest improvement is that lists can be reordered by left clicking and dragging. The code is fairly stable now and it probably would be a good time to make a devel fork and a bug-fix fork.
https://www.dropbox.com/s/wxf4i82e1frvn ... 4.zip?dl=0
https://www.dropbox.com/s/wxf4i82e1frvn ... 4.zip?dl=0
Re: LitePlacer-rmod Updates
Great news. I will try it out today in a few hours.
Re: LitePlacer-rmod Updates
Installer has the default name of "Installer". Can it be changed ?
Re: LitePlacer-rmod Updates
FIXED - Selecting the correct size of the component fixed this.
Using the find part by image. I have loaded a image. When I click Calibrate part by image it seems to find the first part then crashes.
Using the find part by image. I have loaded a image. When I click Calibrate part by image it seems to find the first part then crashes.
Code: Select all
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
at LitePlacer.FormMain.FindPositionAndMoveToClosest(ShapeTypes type, Double FindTolerance, Double MoveTolerance, String template, Double threshold)
at LitePlacer.TapesClass.CalibrateTape(TapeObj x)
at LitePlacer.TapesClass.CalibrateWithTemplate(TapeObj t)
at LitePlacer.FormMain.<>c__DisplayClass20.<Tapes_CellMouseDown>b__10(Object o, EventArgs args)
at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ToolStrip.WndProc(Message& m)
at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
LitePlacer
Assembly Version: 1.0.5680.30407
Win32 Version: 1.0.0.0
CodeBase: file:///C:/LitePlacer-rmod4/LitePlacer.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
Emgu.CV
Assembly Version: 2.4.10.1939
Win32 Version: 2.4.10.1939
CodeBase: file:///C:/LitePlacer-rmod4/Emgu.CV.DLL
----------------------------------------
Emgu.Util
Assembly Version: 2.4.10.1939
Win32 Version: 2.4.10.1939
CodeBase: file:///C:/LitePlacer-rmod4/Emgu.Util.DLL
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Microsoft.GeneratedCode
Assembly Version: 1.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Accessibility
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
AForge.Video.DirectShow
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer-rmod4/AForge.Video.DirectShow.DLL
----------------------------------------
AForge.Video
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer-rmod4/AForge.Video.DLL
----------------------------------------
Newtonsoft.Json
Assembly Version: 7.0.0.0
Win32 Version: 7.0.1.18622
CodeBase: file:///C:/LitePlacer-rmod4/Newtonsoft.Json.DLL
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408 built by: FX451RTMGREL
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
AForge
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer-rmod4/AForge.DLL
----------------------------------------
AForge.Imaging
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer-rmod4/AForge.Imaging.DLL
----------------------------------------
AForge.Math
Assembly Version: 2.2.5.0
Win32 Version: 2.2.5.0
CodeBase: file:///C:/LitePlacer-rmod4/AForge.Math.DLL
----------------------------------------
Microsoft.CSharp
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.CSharp/v4.0_4.0.0.0__b03f5f7f11d50a3a/Microsoft.CSharp.dll
----------------------------------------
System.Dynamic
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.18408
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Dynamic/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Dynamic.dll
----------------------------------------
Anonymously Hosted DynamicMethods Assembly
Assembly Version: 0.0.0.0
Win32 Version: 4.0.30319.18444 built by: FX451RTMGDR
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/mscorlib/v4.0_4.0.0.0__b77a5c561934e089/mscorlib.dll
----------------------------------------
MathNet.Numerics
Assembly Version: 3.7.0.0
Win32 Version: 3.7.0.0
CodeBase: file:///C:/LitePlacer-rmod4/MathNet.Numerics.DLL
----------------------------------------
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
- Attachments
-
- 4002.PNG (53.68 KiB) Viewed 11105 times
Re: LitePlacer-rmod Updates
Probably. I really would love someone else to go through and clean it up a bit (i.e. adding correct tool tips, writing docs, etc).Covert wrote:Installer has the default name of "Installer". Can it be changed ?
Re: LitePlacer-rmod Updates
I had a good go of the software yesterday and today. I attempted to load a panel of 16 boards. It went smooth for the the 0603 resistor in clear tape. I was impressed with the machine. It's just worked. Then the black tape parts arrived and that was the end. The Machine sometimes would find the part via image and sometimes would not. It would fail on just using the hole.
Whats the best settings for ComponentPicture ?
There needs to be a delay in before calibrating the needle at the camera. Mine always get the first offset wrong or completely misses it on the start of a job.
When it starts to miss parts the program seems to hang for a long time. evenly it frees up with the TinyG disconnected and the console full of PickUpPart,GotoNextPart, Part 2 .., CNC_XYZA... repeating. It would be nice if it exited nicely so the problem with the part could be corrected and then resume the process.
I would love to assist in the code. Is it on SVN/Git ?
Whats the best settings for ComponentPicture ?
There needs to be a delay in before calibrating the needle at the camera. Mine always get the first offset wrong or completely misses it on the start of a job.
When it starts to miss parts the program seems to hang for a long time. evenly it frees up with the TinyG disconnected and the console full of PickUpPart,GotoNextPart, Part 2 .., CNC_XYZA... repeating. It would be nice if it exited nicely so the problem with the part could be corrected and then resume the process.
I would love to assist in the code. Is it on SVN/Git ?
Re: LitePlacer-rmod Updates
thereza on the next upload can you include a source zip as well. I would like to be able tweak changes while testing here.
Re: LitePlacer-rmod Updates
It's in SVN. There's a post with the link.Covert wrote:thereza on the next upload can you include a source zip as well. I would like to be able tweak changes while testing here.