Dynomotion

Group: DynoMotion Message: 6184 From: somethingfree123 Date: 11/29/2012
Subject: Re: Machine Manager III beta
Hey All,

Are you guys still getting the machine manager up and going? I'd love to get a copy of the source doe if it's available? Also, I'd love to help work out some bugs if you need any help.

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Cripes....
>
> Just realized I did a 'Clean Solution' on Build All Libs, so the dlls will not be there..
>
>
>
>
Group: DynoMotion Message: 6187 From: somethingfree123 Date: 11/30/2012
Subject: Re: Machine Manager III beta
Hey All,

Are you guys still getting the machine manager up and going? I'd love to get a
copy of the source doe if it's available? Also, I'd love to help work out some
bugs if you need any help.

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> OK, here we go..
>
> KMotion_dotNet updated for KMotionCNC style WaitToken()/ReleasToken() management.
>
> Download here::
>
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/KMotion_dotNet.zip/download
>
> ___________________________________
>
>
> MM ToolPath Disaplay bug fixed.
>
> MM Install available here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> MM Source available here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
>
>
>
> -Brad Murry
>
>
> --- In DynoMotion@yahoogroups.com, brad murry <bradodarb@> wrote:
> >
> > Hello Tom,
> >
> >
> > Is there anything you want me to do with the build, or do you think it is ok to deploy as it stands?
> >
> > -Brad Murry
> > ________________________________
> > From: bradodarb
> > Sent: 12/3/2011 9:24 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> > MM Source available here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > > New install for MM3 available here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > >
> > > Some threading performance enhancements were added.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > >
> > > > I agree, having MM install automatically alongside KMotion sure would make things painless.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> > > > Sent: Friday, December 02, 2011 6:22 PM
> > > > To: DynoMotion@yahoogroups.com
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I'll SECOND that,
> > > > no reason to have us dummies make you guys lose any more hair!
> > > > \Carl
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > >
> > > > > I like that idea ;)
> > > > >
> > > > > Troy
> > > > >
> > > > > --- Tom Kerekes wrote:
> > > > > >
> > > > > > Hi Brad,
> > > > > > Â
> > > > > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > > > > Â
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Friday, December 2, 2011 12:26 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > > Â
> > > > > > Hooray!!!
> > > > > >
> > > > > > Thanks Tom!!
> > > > > >
> > > > > > Best news all day.
> > > > > >
> > > > > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > > > > >
> > > > > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > > > > >
> > > > > > I'm sure you get the point.
> > > > > >
> > > > > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hey Brad,
> > > > > > > ÂÂ
> > > > > > > Works for me. Here is what I did:
> > > > > > > ÂÂ
> > > > > > > Downloaded and unzipped this:
> > > > > > > ÂÂ
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > >
> > > > > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > > > > ÂÂ
> > > > > > > Added a Windows Path as C:\KMotion428x\Release
> > > > > > > ÂÂ
> > > > > > > From Windows Cmd prompt verify PATH contains above
> > > > > > > ÂÂ
> > > > > > > Downloaded this:
> > > > > > > ÂÂ
> > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > >
> > > > > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > > > > ÂÂ
> > > > > > > Connected KFLOP
> > > > > > > ÂÂ
> > > > > > > Run Machine Manager MM3 from Start Menu
> > > > > > > ÂÂ
> > > > > > > It comes up instantly
> > > > > > > ÂÂ
> > > > > > > TK
> > > > > > > ÂÂ
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > > ÂÂ
> > > > > > > Hello Tom,
> > > > > > >
> > > > > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > > > > >
> > > > > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > > > > >
> > > > > > > I'd kill to know what the hang up is.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > >
> > > > > > > > Tried the following and still get the error window.
> > > > > > > >
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > --- "bradodarb" wrote:
> > > > > > > > >
> > > > > > > > > Ok, Lets try this again....
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > > > >
> > > > > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > > > > >
> > > > > > > > > You can try the new install::
> > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > >
> > > > > > > > > > Well I must have been zombie coding last night....
> > > > > > > > > >
> > > > > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hi Brad,
> > > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > > Single calls like those don't need locking it is built in.�'‚ But things with multiple lines of reponse need it.
> > > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > > Hang in there Brad :}
> > > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > > Regards
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > > I think it is down to thread locking.
> > > > > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > > > > >
> > > > > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > >
> > > > > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > > > > >
> > > > > > > > > > > > Not sure what is going on.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > > > > >
> > > > > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad
> > > > > > > > > > > >
> > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi Brad,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks
> > > > > > > > > > > > >
> > > > > > > > > > > > > TK
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Well crap,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Well I just donÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'¢â€žÂ¢t buy itÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'‚¦.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > SmallPC
> > > > > > > > > > > > >
> > > > > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > > > > >
> > > > > > > > > > > > > 1 gig ram
> > > > > > > > > > > > >
> > > > > > > > > > > > > Crappy video card
> > > > > > > > > > > > >
> > > > > > > > > > > > > XP SP3
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'‚¦..
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > HmmÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'‚¦..
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Brad,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > > > > >
> > > > > > > > > > > > > {
> > > > > > > > > > > > >
> > > > > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > > > > >
> > > > > > > > > > > > > // tktk {
> > > > > > > > > > > > >
> > > > > > > > > > > > > // tktk return;
> > > > > > > > > > > > >
> > > > > > > > > > > > > // tktk }
> > > > > > > > > > > > >
> > > > > > > > > > > > > try
> > > > > > > > > > > > >
> > > > > > > > > > > > > {
> > > > > > > > > > > > >
> > > > > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > > > > >
> > > > > > > > > > > > > }
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regards
> > > > > > > > > > > > >
> > > > > > > > > > > > > TK
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > > > > >
> > > > > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Troy,
> > > > > > > > > > > > > > Ã�'Æ'Æ'Ã�'¢â‚¬Å¡
> > > > > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > > > > Ã�'Æ'Æ'Ã�'¢â‚¬Å¡
> > > > > > > > > > > > > > TK
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Ã�'Æ'Æ'Ã�'¢â‚¬Å¡
> > > > > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃ�'Æ'Æ'Ã�'†'Ã�'Æ'‚Ã�'‚¢Ã�'Æ'Æ'Ã�'‚¢Ã�'Æ'¢Ã�'¢â€šÂ¬Ã�'…¡Ã�'Æ'‚Ã�'‚¬Ã�'Æ'Æ'Ã�'¢â‚¬Å¡Ã�'Æ'‚Ã�'‚¦..
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Brad,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > TK
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 6188 From: Tom Kerekes Date: 11/30/2012
Subject: Re: Machine Manager III beta
Hi Ryan,

Machine Manager was written by Brad and he decided to not release the source code.

Regards
TK

Group: DynoMotion Message: 6189 From: brad murry Date: 11/30/2012
Subject: Re: Machine Manager III beta
What a bastard he was....

I've been kicking the idea around if pulling the non-oprnsource components out and putting back up.

Sent from my Windows Phone

From: Tom Kerekes
Sent: ‎11/‎30/‎2012 2:41 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

Hi Ryan,

Machine Manager was written by Brad and he decided to not release the source code.

Regards
TK

Group: DynoMotion Message: 6191 From: somethingfree123 Date: 12/1/2012
Subject: Re: Machine Manager III beta
Hi Guys,

Hmmm, it kinda sounds like a can of works that I shouldn't open.

So, I'll continue the path of writing a WPF front end from scratch to run a single card and 3-axis mill. That seems to be the main audience. Hope we can work something out and we can make some great software for the masses to easily take full advantage of this hardware!

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, brad murry <bradodarb@...> wrote:
>
> What a bastard he was....
>
> I've been kicking the idea around if pulling the non-oprnsource components out and putting back up.
>
> Sent from my Windows Phone
> ________________________________
> From: Tom Kerekes<mailto:tk@...>
> Sent: ‎11/‎30/‎2012 2:41 PM
> To: DynoMotion@yahoogroups.com<mailto:DynoMotion@yahoogroups.com>
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
> Hi Ryan,
>
> Machine Manager was written by Brad and he decided to not release the source code.
>
> Regards
> TK
>
>
>
> ________________________________
> From: somethingfree123 <stuffseller@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, November 30, 2012 7:39 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
> Hey All,
>
> Are you guys still getting the machine manager up and going? I'd love to get a
> copy of the source doe if it's available? Also, I'd love to help work out some
> bugs if you need any help.
>
> Thanks,
> Ryan
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > OK, here we go..
> >
> > KMotion_dotNet updated for KMotionCNC style WaitToken()/ReleasToken() management.
> >
> > Download here::
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/KMotion_dotNet.zip/download
> >
> > ___________________________________
> >
> >
> > MM ToolPath Disaplay bug fixed.
> >
> > MM Install available here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> >
> > MM Source available here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> >
> >
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, brad murry <bradodarb@> wrote:
> > >
> > > Hello Tom,
> > >
> > >
> > > Is there anything you want me to do with the build, or do you think it is ok to deploy as it stands?
> > >
> > > -Brad Murry
> > > ________________________________
> > > From: bradodarb
> > > Sent: 12/3/2011 9:24 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > > MM Source available here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > > New install for MM3 available here::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > >
> > > > Some threading performance enhancements were added.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > I agree, having MM install automatically alongside KMotion sure would make things painless.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> > > > > Sent: Friday, December 02, 2011 6:22 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I'll SECOND that,
> > > > > no reason to have us dummies make you guys lose any more hair!
> > > > > \Carl
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > >
> > > > > > I like that idea ;)
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- Tom Kerekes wrote:
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > > Â
> > > > > > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > > > > > Â
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Friday, December 2, 2011 12:26 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > > Â
> > > > > > > Hooray!!!
> > > > > > >
> > > > > > > Thanks Tom!!
> > > > > > >
> > > > > > > Best news all day.
> > > > > > >
> > > > > > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > > > > > >
> > > > > > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > > > > > >
> > > > > > > I'm sure you get the point.
> > > > > > >
> > > > > > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Hey Brad,
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Works for me.ÃÆ'‚Â Here is what I did:
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Downloaded and unzipped this:
> > > > > > > > ÃÆ'‚Â
> > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > > >
> > > > > > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Added a Windows Path as C:\KMotion428x\Release
> > > > > > > > ÃÆ'‚Â
> > > > > > > > From Windows Cmd prompt verify PATH contains above
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Downloaded this:
> > > > > > > > ÃÆ'‚Â
> > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > > >
> > > > > > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Connected KFLOP
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Run Machine Manager MM3 from Start Menu
> > > > > > > > ÃÆ'‚Â
> > > > > > > > It comes up instantly
> > > > > > > > ÃÆ'‚Â
> > > > > > > > TK
> > > > > > > > ÃÆ'‚Â
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > > > > > >
> > > > > > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > > > > > >
> > > > > > > > I'd kill to know what the hang up is.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > >
> > > > > > > > > Tried the following and still get the error window.
> > > > > > > > >
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > >
> > > > > > > > > > Ok, Lets try this again....
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > > > > >
> > > > > > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > > > > > >
> > > > > > > > > > You can try the new install::
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Well I must have been zombie coding last night....
> > > > > > > > > > >
> > > > > > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hi Brad,
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > Single calls like those don't need locking it is built in.ÃÆ'�'‚ÃÆ'‚Â But things with multiple lines of reponse need it.
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > Hang in there Brad :}
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > Regards
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > I think it is down to thread locking.
> > > > > > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > > > > > >
> > > > > > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > > >
> > > > > > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > > > > > >
> > > > > > > > > > > > > Not sure what is going on.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi Brad,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > TK
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Well crap,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Well I just donÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'¢ÃÆ'¢â‚¬Å¾ÃÆ'‚¢t buy itÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'‚ÃÆ'‚¦.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > SmallPC
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1 gig ram
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Crappy video card
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > XP SP3
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'‚ÃÆ'‚¦..
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > HmmÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'‚ÃÆ'‚¦..
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Brad,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > {
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk {
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk return;
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > try
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > {
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > TK
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy,
> > > > > > > > > > > > > > > ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡
> > > > > > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > > > > > ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡
> > > > > > > > > > > > > > > TK
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡
> > > > > > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'†'ÃÆ'�'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'�'‚ÃÆ'‚¢ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'‚ÃÆ'‚¢ÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'…ÃÆ'‚¡ÃÆ'�'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'�'‚ÃÆ'‚¬ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡ÃÆ'�'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'�'‚ÃÆ'‚¦..
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Brad,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > TK
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 6192 From: brad murry Date: 12/1/2012
Subject: Re: Machine Manager III beta
In the event there is some confusion,bMM3 is a WPF app using the MVVM pattern.

I switched gears to make it an HTML app, but have not been happy with performance.

Its a fairly good sized codebase so if nothing else people can cannibalize pieces or uses some of the custom wpf controls.

Sent from my Windows Phone

From: somethingfree123
Sent: ‎12/‎1/‎2012 11:39 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

Hi Guys,

Hmmm, it kinda sounds like a can of works that I shouldn't open.

So, I'll continue the path of writing a WPF front end from scratch to run a single card and 3-axis mill. That seems to be the main audience. Hope we can work something out and we can make some great software for the masses to easily take full advantage of this hardware!

Thanks,
Ryan

--- In DynoMotion@yahoogroups.com, brad murry <bradodarb@...> wrote:
>
> What a bastard he was....
>
> I've been kicking the idea around if pulling the non-oprnsource components out and putting back up.
>
> Sent from my Windows Phone
> ________________________________
> From: Tom Kerekes<mailto:tk@...>
> Sent: ‎11/‎30/‎2012 2:41 PM
> To: DynoMotion@yahoogroups.com<mailto:DynoMotion@yahoogroups.com>
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
> Hi Ryan,
>
> Machine Manager was written by Brad and he decided to not release the source code.
>
> Regards
> TK
>
>
>
> ________________________________
> From: somethingfree123 <stuffseller@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, November 30, 2012 7:39 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
> Hey All,
>
> Are you guys still getting the machine manager up and going? I'd love to get a
> copy of the source doe if it's available? Also, I'd love to help work out some
> bugs if you need any help.
>
> Thanks,
> Ryan
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > OK, here we go..
> >
> > KMotion_dotNet updated for KMotionCNC style WaitToken()/ReleasToken() management.
> >
> > Download here::
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/KMotion_dotNet.zip/download
> >
> > ___________________________________
> >
> >
> > MM ToolPath Disaplay bug fixed.
> >
> > MM Install available here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> >
> > MM Source available here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> >
> >
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, brad murry <bradodarb@> wrote:
> > >
> > > Hello Tom,
> > >
> > >
> > > Is there anything you want me to do with the build, or do you think it is ok to deploy as it stands?
> > >
> > > -Brad Murry
> > > ________________________________
> > > From: bradodarb
> > > Sent: 12/3/2011 9:24 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > > MM Source available here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > > New install for MM3 available here::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > >
> > > > Some threading performance enhancements were added.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > I agree, having MM install automatically alongside KMotion sure would make things painless.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> > > > > Sent: Friday, December 02, 2011 6:22 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I'll SECOND that,
> > > > > no reason to have us dummies make you guys lose any more hair!
> > > > > \Carl
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > >
> > > > > > I like that idea ;)
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- Tom Kerekes wrote:
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > > Â
> > > > > > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > > > > > Â
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Friday, December 2, 2011 12:26 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > > Â
> > > > > > > Hooray!!!
> > > > > > >
> > > > > > > Thanks Tom!!
> > > > > > >
> > > > > > > Best news all day.
> > > > > > >
> > > > > > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > > > > > >
> > > > > > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > > > > > >
> > > > > > > I'm sure you get the point.
> > > > > > >
> > > > > > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Hey Brad,
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Works for me.ÃÆ'‚Â Here is what I did:
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Downloaded and unzipped this:
> > > > > > > > ÃÆ'‚Â
> > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > > >
> > > > > > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Added a Windows Path as C:\KMotion428x\Release
> > > > > > > > ÃÆ'‚Â
> > > > > > > > From Windows Cmd prompt verify PATH contains above
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Downloaded this:
> > > > > > > > ÃÆ'‚Â
> > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > > >
> > > > > > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Connected KFLOP
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Run Machine Manager MM3 from Start Menu
> > > > > > > > ÃÆ'‚Â
> > > > > > > > It comes up instantly
> > > > > > > > ÃÆ'‚Â
> > > > > > > > TK
> > > > > > > > ÃÆ'‚Â
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'‚Â
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > > > > > >
> > > > > > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > > > > > >
> > > > > > > > I'd kill to know what the hang up is.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > >
> > > > > > > > > Tried the following and still get the error window.
> > > > > > > > >
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > >
> > > > > > > > > > Ok, Lets try this again....
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > > > > >
> > > > > > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > > > > > >
> > > > > > > > > > You can try the new install::
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Well I must have been zombie coding last night....
> > > > > > > > > > >
> > > > > > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hi Brad,
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > Single calls like those don't need locking it is built in.ÃÆ'�'‚ÃÆ'‚Â But things with multiple lines of reponse need it.
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > Hang in there Brad :}
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > Regards
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ÃÆ'�'‚ÃÆ'‚Â
> > > > > > > > > > > > I think it is down to thread locking.
> > > > > > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > > > > > >
> > > > > > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > > >
> > > > > > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > > > > > >
> > > > > > > > > > > > > Not sure what is going on.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi Brad,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > TK
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Well crap,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Well I just donÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'¢ÃÆ'¢â‚¬Å¾ÃÆ'‚¢t buy itÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'‚ÃÆ'‚¦.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > SmallPC
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > 1 gig ram
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Crappy video card
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > XP SP3
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'‚ÃÆ'‚¦..
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > HmmÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'‚ÃÆ'‚¦..
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Brad,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > {
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk {
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk return;
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // tktk }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > try
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > {
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > TK
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy,
> > > > > > > > > > > > > > > ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡
> > > > > > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > > > > > ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡
> > > > > > > > > > > > > > > TK
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡
> > > > > > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'†'ÃÆ'�'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'�'‚ÃÆ'‚¢ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'‚ÃÆ'‚¢ÃÆ'�'Æ'ÃÆ'‚¢ÃÆ'�'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'�'…ÃÆ'‚¡ÃÆ'�'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'�'‚ÃÆ'‚¬ÃÆ'�'Æ'ÃÆ'†'ÃÆ'�'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡ÃÆ'�'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'�'‚ÃÆ'‚¦..
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Brad,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > TK
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > How is this executed? It seemed to i

(Message over 64 KB, truncated)
Group: DynoMotion Message: 2310 From: bradodarb Date: 11/18/2011
Subject: Machine Manager III beta
To anyone interested,

Hoping to have a beta release of MM3 availble sometime this weekend.


To see some of the availble functionality, here is a screen shot:

http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc

Just need to finish the tool library , IO display and custom MCode interface!



-Brad Murry
Group: DynoMotion Message: 2313 From: himykabibble Date: 11/18/2011
Subject: Re: Machine Manager III beta
Brad,

Is that perchance a .NET app? C#?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> To anyone interested,
>
> Hoping to have a beta release of MM3 availble sometime this weekend.
>
>
> To see some of the availble functionality, here is a screen shot:
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
>
> Just need to finish the tool library , IO display and custom MCode interface!
>
>
>
> -Brad Murry
>
Group: DynoMotion Message: 2314 From: himykabibble Date: 11/18/2011
Subject: Re: Machine Manager III beta
Brad,

What are the buttons to the right of the "-" buttons, and above the ZeroAll button? I can't make out what the icon on them is.

I assume the +/- buttons right of the DROs are jog buttons?

What are the small DROs between the +/- buttons?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> To anyone interested,
>
> Hoping to have a beta release of MM3 availble sometime this weekend.
>
>
> To see some of the availble functionality, here is a screen shot:
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
>
> Just need to finish the tool library , IO display and custom MCode interface!
>
>
>
> -Brad Murry
>
Group: DynoMotion Message: 2316 From: Brad Murry Date: 11/18/2011
Subject: Re: Machine Manager III beta

But of course!  !00% c# ( with IronPython baked in for dynamic configuration and scripting )

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Friday, November 18, 2011 6:08 PM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

Is that perchance a .NET app? C#?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> To anyone interested,
>
> Hoping to have a beta release of MM3 availble sometime this weekend.
>
>
> To see some of the availble functionality, here is a screen shot:
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
>
> Just need to finish the tool library , IO display and custom MCode interface!
>
>
>
> -Brad Murry
>

Group: DynoMotion Message: 2318 From: Brad Murry Date: 11/18/2011
Subject: Re: Machine Manager III beta

to the right of the "-" buttons = Home buttons.. Admittedly a bit cheesy, but it will be user configurable after main features are fleshed out during beta.

 

and above the ZeroAll button = Home all, if you look close it is a group of homes.

 

 

Not sure if clicking [Original Size] will help.

 

I assume the +/- buttons right of the DROs are jog buttons? = They are incremental jog buttons and What are the small DROs between the +/- buttons are the user settable increment value.

 

That particular axis view is solely meant for use with the interpreter.  There is a more fully functional axis view with more jogging options also available.  On jogging, there is a dedicated jogging panel for fine control.

 

All the panels are resizable and can be docked in the parent window in any configuration you wish.

 

-Brad Murry

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Friday, November 18, 2011 6:42 PM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

What are the buttons to the right of the "-" buttons, and above the ZeroAll button? I can't make out what the icon on them is.

I assume the +/- buttons right of the DROs are jog buttons?

What are the small DROs between the +/- buttons?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> To anyone interested,
>
> Hoping to have a beta release of MM3 availble sometime this weekend.
>
>
> To see some of the availble functionality, here is a screen shot:
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
>
> Just need to finish the tool library , IO display and custom MCode interface!
>
>
>
> -Brad Murry
>

Group: DynoMotion Message: 2358 From: himykabibble Date: 11/20/2011
Subject: Re: Machine Manager III beta
Brad,

Will you be making source code available at some point? One of my primary goals in getting a KFlop was to be able to develop my own C# GUI, and that looks like a great starting point.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> But of course! !00% c# ( with IronPython baked in for dynamic configuration
> and scripting )
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Friday, November 18, 2011 6:08 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> Is that perchance a .NET app? C#?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> "bradodarb" <bradodarb@> wrote:
> >
> > To anyone interested,
> >
> > Hoping to have a beta release of MM3 availble sometime this weekend.
> >
> >
> > To see some of the availble functionality, here is a screen shot:
> >
> >
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/19084924
> 35/view?picmode=
> <http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492
> 435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc>
> &mode=tn&order=ordinal&start=1&count=20&dir=asc
> >
> > Just need to finish the tool library , IO display and custom MCode
> interface!
> >
> >
> >
> > -Brad Murry
> >
>
Group: DynoMotion Message: 2359 From: himykabibble Date: 11/20/2011
Subject: Re: Machine Manager III beta
Brad,

VERY much looking forward to seeing a working version!

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> to the right of the "-" buttons = Home buttons.. Admittedly a bit cheesy,
> but it will be user configurable after main features are fleshed out during
> beta.
>
>
>
> and above the ZeroAll button = Home all, if you look close it is a group of
> homes.
>
>
>
>
>
> Not sure if clicking [Original Size] will help.
>
>
>
> I assume the +/- buttons right of the DROs are jog buttons? = They are
> incremental jog buttons and What are the small DROs between the +/- buttons
> are the user settable increment value.
>
>
>
> That particular axis view is solely meant for use with the interpreter.
> There is a more fully functional axis view with more jogging options also
> available. On jogging, there is a dedicated jogging panel for fine control.
>
>
>
> All the panels are resizable and can be docked in the parent window in any
> configuration you wish.
>
>
>
> -Brad Murry
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Friday, November 18, 2011 6:42 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> What are the buttons to the right of the "-" buttons, and above the ZeroAll
> button? I can't make out what the icon on them is.
>
> I assume the +/- buttons right of the DROs are jog buttons?
>
> What are the small DROs between the +/- buttons?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> "bradodarb" <bradodarb@> wrote:
> >
> > To anyone interested,
> >
> > Hoping to have a beta release of MM3 availble sometime this weekend.
> >
> >
> > To see some of the availble functionality, here is a screen shot:
> >
> >
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/19084924
> 35/view?picmode=
> <http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492
> 435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc>
> &mode=tn&order=ordinal&start=1&count=20&dir=asc
> >
> > Just need to finish the tool library , IO display and custom MCode
> interface!
> >
> >
> >
> > -Brad Murry
> >
>
Group: DynoMotion Message: 2363 From: Brad Murry Date: 11/20/2011
Subject: Re: Machine Manager III beta

  Absolutely, the source code will be updated once there is some things proven out in beta.  It is just a simple fact of me lacking the time to maintain source and install packages while resolving issues.

Not to mention the fact that there are likely many things that will change while proving things out, breaking the source.  If I find the time or get help setting up the SVN It would not be a big deal, but until then…

 

 

Read up on WPF and the MVVM pattern if you plan to customize the GUI’s, it is the architecture used and it makes for extensive flexibility.

 

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Sunday, November 20, 2011 7:55 PM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

Will you be making source code available at some point? One of my primary goals in getting a KFlop was to be able to develop my own C# GUI, and that looks like a great starting point.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> But of course! !00% c# ( with IronPython baked in for dynamic configuration
> and scripting )
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Friday, November 18, 2011 6:08 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> Is that perchance a .NET app? C#?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> "bradodarb" <bradodarb@> wrote:
> >
> > To anyone interested,
> >
> > Hoping to have a beta release of MM3 availble sometime this weekend.
> >
> >
> > To see some of the availble functionality, here is a screen shot:
> >
> >
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/19084924
> 35/view?picmode=
> <http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492
> 435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc>
> &mode=tn&order=ordinal&start=1&count=20&dir=asc
> >
> > Just need to finish the tool library , IO display and custom MCode
> interface!
> >
> >
> >
> > -Brad Murry
> >
>

Group: DynoMotion Message: 2365 From: Brad Murry Date: 11/20/2011
Subject: Re: Machine Manager III beta

I’m trying…. I can’t wait to hear about it running something more than my simple test rig!

 

  work’s currently brutal schedule is making for some very slow progress….

 

 

-Brad Murry

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Sunday, November 20, 2011 7:56 PM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

VERY much looking forward to seeing a working version!

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> to the right of the "-" buttons = Home buttons.. Admittedly a bit cheesy,
> but it will be user configurable after main features are fleshed out during
> beta.
>
>
>
> and above the ZeroAll button = Home all, if you look close it is a group of
> homes.
>
>
>
>
>
> Not sure if clicking [Original Size] will help.
>
>
>
> I assume the +/- buttons right of the DROs are jog buttons? = They are
> incremental jog buttons and What are the small DROs between the +/- buttons
> are the user settable increment value.
>
>
>
> That particular axis view is solely meant for use with the interpreter.
> There is a more fully functional axis view with more jogging options also
> available. On jogging, there is a dedicated jogging panel for fine control.
>
>
>
> All the panels are resizable and can be docked in the parent window in any
> configuration you wish.
>
>
>
> -Brad Murry
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Friday, November 18, 2011 6:42 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> What are the buttons to the right of the "-" buttons, and above the ZeroAll
> button? I can't make out what the icon on them is.
>
> I assume the +/- buttons right of the DROs are jog buttons?
>
> What are the small DROs between the +/- buttons?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> "bradodarb" <bradodarb@> wrote:
> >
> > To anyone interested,
> >
> > Hoping to have a beta release of MM3 availble sometime this weekend.
> >
> >
> > To see some of the availble functionality, here is a screen shot:
> >
> >
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/19084924
> 35/view?picmode=
> <http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492
> 435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc>
> &mode=tn&order=ordinal&start=1&count=20&dir=asc
> >
> > Just need to finish the tool library , IO display and custom MCode
> interface!
> >
> >
> >
> > -Brad Murry
> >
>

Group: DynoMotion Message: 2367 From: tmday7 Date: 11/21/2011
Subject: Re: Machine Manager III beta
Wow, this looks very nice. Will the user be able to change the screen layout themselves?
Troy

--- "bradodarb"wrote:
>
> To anyone interested,
>
> Hoping to have a beta release of MM3 availble sometime this weekend.
>
>
> To see some of the availble functionality, here is a screen shot:
>
> http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
>
> Just need to finish the tool library , IO display and custom MCode interface!
>
>
>
> -Brad Murry
>
Group: DynoMotion Message: 2369 From: bradodarb Date: 11/21/2011
Subject: Re: Machine Manager III beta
Hell Troy,


Thanks, as it sits you can completely change the screen layout.

Each control pane or window you see can be stretched to whatever size you wish and docked where you please.


After some beta testing I will add some additional configuration screens that will allow chaning colors and control styles without fiddling with the source. Of course the source will be available again by then so if you want absolute control its all open.


The idea is that I want lots of configuration control without the need for customized source codes everywhere. This will keep the framework unified and allow non developers and developers alike to customize the software to idividual needs(CNC or non CNC applications too)

Sorry if TMI...


-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Wow, this looks very nice. Will the user be able to change the screen layout themselves?
> Troy
>
> --- "bradodarb"wrote:
> >
> > To anyone interested,
> >
> > Hoping to have a beta release of MM3 availble sometime this weekend.
> >
> >
> > To see some of the availble functionality, here is a screen shot:
> >
> > http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
> >
> > Just need to finish the tool library , IO display and custom MCode interface!
> >
> >
> >
> > -Brad Murry
> >
>
Group: DynoMotion Message: 2394 From: tmday7 Date: 11/22/2011
Subject: Re: Machine Manager III beta
That sounds great, iam not a "source" code person. ;)
Thanks,
Troy

--- "bradodarb" wrote:
>
>
> Hell Troy,
>
>
> Thanks, as it sits you can completely change the screen layout.
>
> Each control pane or window you see can be stretched to whatever size you wish and docked where you please.
>
>
> After some beta testing I will add some additional configuration screens that will allow chaning colors and control styles without fiddling with the source. Of course the source will be available again by then so if you want absolute control its all open.
>
>
> The idea is that I want lots of configuration control without the need for customized source codes everywhere. This will keep the framework unified and allow non developers and developers alike to customize the software to idividual needs(CNC or non CNC applications too)
>
> Sorry if TMI...
>
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> >
> > Wow, this looks very nice. Will the user be able to change the screen layout themselves?
> > Troy
> >
> > --- "bradodarb"wrote:
> > >
> > > To anyone interested,
> > >
> > > Hoping to have a beta release of MM3 availble sometime this weekend.
> > >
> > >
> > > To see some of the availble functionality, here is a screen shot:
> > >
> > > http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/1908492435/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc
> > >
> > > Just need to finish the tool library , IO display and custom MCode interface!
> > >
> > >
> > >
> > > -Brad Murry
> > >
> >
>
Group: DynoMotion Message: 2488 From: bradodarb Date: 11/30/2011
Subject: Machine Manager III beta
Machine Manager III is available as an install package for beta testing


You can download it here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download


Use as a CNC gui, or create custom GUI's for your custom automation projects.

Many controls are available and all can be docked in any configuration you like.


You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.

Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.

Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC

-Brad Murry
Group: DynoMotion Message: 2489 From: bradodarb Date: 11/30/2011
Subject: Re: Machine Manager III beta
Check out the default screen set here::

http://groups.yahoo.com/group/DynoMotion/photos/album/939684458/pic/133762146/view?picmode=&mode=tn&order=ordinal&start=1&count=20&dir=asc

-Brad Murry
--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Machine Manager III is available as an install package for beta testing
>
>
> You can download it here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> Use as a CNC gui, or create custom GUI's for your custom automation projects.
>
> Many controls are available and all can be docked in any configuration you like.
>
>
> You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.
>
> Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.
>
> Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC
>
> -Brad Murry
>
Group: DynoMotion Message: 2493 From: william Carrothers Date: 12/1/2011
Subject: Re: Machine Manager III beta
I'm curious about this,  How ever I have been using mach3 for years and now on both machines (one equiped with kflop/kanalog)..
 
What I'm wondering is, what are the compelling reasons to run the machine under this interface rather then mach if mach has satisified me so far?
 
Thanks..
 
b/


--- On Thu, 12/1/11, bradodarb <bradodarb@...> wrote:

From: bradodarb <bradodarb@...>
Subject: [DynoMotion] Machine Manager III beta
To: DynoMotion@yahoogroups.com
Date: Thursday, December 1, 2011, 2:31 AM

 
Machine Manager III is available as an install package for beta testing

You can download it here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download

Use as a CNC gui, or create custom GUI's for your custom automation projects.

Many controls are available and all can be docked in any configuration you like.

You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.

Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.

Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC

-Brad Murry

Group: DynoMotion Message: 2494 From: tmday7 Date: 12/1/2011
Subject: Re: Machine Manager III beta
How is this executed? It seemed to install fine, but when i start MM3 by the desktop shortcut i get a "Machine Manager Detected an Error" window stating "Exception of type 'Kmotion_dotNet.DMException' was thrown."

Troy

--- "bradodarb" wrote:
>
> Machine Manager III is available as an install package for beta testing
>
>
> You can download it here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> Use as a CNC gui, or create custom GUI's for your custom automation projects.
>
> Many controls are available and all can be docked in any configuration you like.
>
>
> You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.
>
> Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.
>
> Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC
>
> -Brad Murry
>
Group: DynoMotion Message: 2495 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Hello Troy,

 

You executed it just fine.  MM is build off the very latest .net Interop files.  Make sure you have Kmotion4.28x installed, and that you downloaded the patch from this post::

 

http://tech.groups.yahoo.com/group/DynoMotion/message/2487

 

Let me know if that does not get things running.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of tmday7
Sent: Thursday, December 01, 2011 8:25 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

How is this executed? It seemed to install fine, but when i start MM3 by the desktop shortcut i get a "Machine Manager Detected an Error" window stating "Exception of type 'Kmotion_dotNet.DMException' was thrown."

Troy

--- "bradodarb" wrote:

>
> Machine Manager III is available as an install package for beta testing
>
>
> You can download it here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> Use as a CNC gui, or create custom GUI's for your custom automation projects.
>
> Many controls are available and all can be docked in any configuration you like.
>
>
> You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.
>
> Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.
>
> Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC
>
> -Brad Murry
>

Group: DynoMotion Message: 2496 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Well…. Good question

 

 

As of right now, it would be hard to justify to a satisfied Mach customer to make the switch(especially since we are still in beta).

 

  Other than vector-drawn eye candy and graphically user configurable control layout, the current feature set may not wet the whistle of the standard Mach user.

 

One caveat to consider is that MM uses the native Kflop CoordMotion and Trajectory Planner, so you will achieve superior motion profiles(but again if you are happy with the point sets generated via Mach it may not be that important to you).

 

 

 

If you want easily configurable user settings and command buttons, custom IO pages and on the fly scripting support; use MM.

 

More features will be added though and in relatively short order MM will be much more feature rich than Mach.

 

Thank you,

 

-Brad Murry

 

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of william Carrothers
Sent: Thursday, December 01, 2011 7:13 AM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Machine Manager III beta

 

 

I'm curious about this,  How ever I have been using mach3 for years and now on both machines (one equiped with kflop/kanalog)..

 

What I'm wondering is, what are the compelling reasons to run the machine under this interface rather then mach if mach has satisified me so far?

 

Thanks..

 

b/



--- On Thu, 12/1/11, bradodarb <bradodarb@...> wrote:


From: bradodarb <bradodarb@...>
Subject: [DynoMotion] Machine Manager III beta
To: DynoMotion@yahoogroups.com
Date: Thursday, December 1, 2011, 2:31 AM

 

Machine Manager III is available as an install package for beta testing

You can download it here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download

Use as a CNC gui, or create custom GUI's for your custom automation projects.

Many controls are available and all can be docked in any configuration you like.

You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.

Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.

Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC

-Brad Murry

Group: DynoMotion Message: 2497 From: himykabibble Date: 12/1/2011
Subject: Re: Machine Manager III beta
Brad,

I installed 428x, overlaid the .Net files referenced below, and installed MM, and all I get is a dialog saying "Exception of type 'KMotion_dotNet.DMException' was thrown", then when the dialog is dismissed, it leaves a zombie process running.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Hello Troy,
>
>
>
> You executed it just fine. MM is build off the very latest .net Interop
> files. Make sure you have Kmotion4.28x installed, and that you downloaded
> the patch from this post::
>
>
>
> http://tech.groups.yahoo.com/group/DynoMotion/message/2487
>
>
>
> Let me know if that does not get things running.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of tmday7
> Sent: Thursday, December 01, 2011 8:25 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> How is this executed? It seemed to install fine, but when i start MM3 by the
> desktop shortcut i get a "Machine Manager Detected an Error" window stating
> "Exception of type 'Kmotion_dotNet.DMException' was thrown."
>
> Troy
>
> --- "bradodarb" wrote:
> >
> > Machine Manager III is available as an install package for beta testing
> >
> >
> > You can download it here::
> >
> >
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> e%20Manager%20III.zip/download
> >
> >
> > Use as a CNC gui, or create custom GUI's for your custom automation
> projects.
> >
> > Many controls are available and all can be docked in any configuration you
> like.
> >
> >
> > You can setup IO led panels for inputs and outputs, create user settings
> (global variables) that can be accessed from live python scripts. You can
> also create custom 'Command Buttons' that will fire off a script.
> >
> > Documentation is lacking(for the moment), but expect top notch help for
> anyone brave enough to test this application and get it ready for production
> use.
> >
> > Let me know who is interested in using this poweful GUI to control your
> Kflop as an alternative to Mach / KMotionCNC
> >
> > -Brad Murry
> >
>
Group: DynoMotion Message: 2498 From: william Carrothers Date: 12/1/2011
Subject: Re: Machine Manager III beta
I really would not consider my self a feature user of mach.  Heck I don't even use tool offsets or anything like that,  Basicly I just use Gcode that is spat out from my Vectric aspire software.  And that seems to work as expected.  I have not built a post processor to output Gcode for Kmotion as yet.  should be similar to what the Mach post I suppose.
 
At some point I'm going to have to give both of them a more formal try.  Also still could do some further machine tuning to get things even smoother then they are.  Just have to much work for the machine to really tinker with things other then mach.
 
b/


--- On Thu, 12/1/11, Brad Murry <bradodarb@...> wrote:

From: Brad Murry <bradodarb@...>
Subject: RE: [DynoMotion] Machine Manager III beta
To: DynoMotion@yahoogroups.com
Date: Thursday, December 1, 2011, 11:14 AM

 

Well…. Good question

 

 

As of right now, it would be hard to justify to a satisfied Mach customer to make the switch(especially since we are still in beta).

 

  Other than vector-drawn eye candy and graphically user configurable control layout, the current feature set may not wet the whistle of the standard Mach user.

 

One caveat to consider is that MM uses the native Kflop CoordMotion and Trajectory Planner, so you will achieve superior motion profiles(but again if you are happy with the point sets generated via Mach it may not be that important to you).

 

 

 

If you want easily configurable user settings and command buttons, custom IO pages and on the fly scripting support; use MM.

 

More features will be added though and in relatively short order MM will be much more feature rich than Mach.

 

Thank you,

 

-Brad Murry

 

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of william Carrothers
Sent: Thursday, December 01, 2011 7:13 AM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Machine Manager III beta

 

 

I'm curious about this,  How ever I have been using mach3 for years and now on both machines (one equiped with kflop/kanalog)..

 

What I'm wondering is, what are the compelling reasons to run the machine under this interface rather then mach if mach has satisified me so far?

 

Thanks..

 

b/



--- On Thu, 12/1/11, bradodarb <bradodarb@...> wrote:


From: bradodarb <bradodarb@...>
Subject: [DynoMotion] Machine Manager III beta
To: DynoMotion@yahoogroups.com
Date: Thursday, December 1, 2011, 2:31 AM

 

Machine Manager III is available as an install package for beta testing

You can download it here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download

Use as a CNC gui, or create custom GUI's for your custom automation projects.

Many controls are available and all can be docked in any configuration you like.

You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.

Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.

Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC

-Brad Murry

Group: DynoMotion Message: 2499 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Hello Ray,

 

Do you have multiple KMotion installs?  If so, I wonder if you would mind temporarily renaming them and see if it launches then.  If that is the problem, I will add in a mechanism to manually point to a Kmotion directory…… maybe I will do that anyhow..

 

Thanks for the feedback.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Thursday, December 01, 2011 9:16 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

I installed 428x, overlaid the .Net files referenced below, and installed MM, and all I get is a dialog saying "Exception of type 'KMotion_dotNet.DMException' was thrown", then when the dialog is dismissed, it leaves a zombie process running.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Hello Troy,
>
>
>
> You executed it just fine. MM is build off the very latest .net Interop
> files. Make sure you have Kmotion4.28x installed, and that you downloaded
> the patch from this post::
>
>
>
> http://tech.groups.yahoo.com/group/DynoMotion/message/2487
>
>
>
> Let me know if that does not get things running.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of tmday7
> Sent: Thursday, December 01, 2011 8:25 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> How is this executed? It seemed to install fine, but when i start MM3 by the
> desktop shortcut i get a "Machine Manager Detected an Error" window stating
> "Exception of type 'Kmotion_dotNet.DMException' was thrown."
>
> Troy
>
> --- "bradodarb" wrote:
> >
> > Machine Manager III is available as an install package for beta testing
> >
> >
> > You can download it here::
> >
> >
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> e%20Manager%20III.zip/download
> >
> >
> > Use as a CNC gui, or create custom GUI's for your custom automation
> projects.
> >
> > Many controls are available and all can be docked in any configuration you
> like.
> >
> >
> > You can setup IO led panels for inputs and outputs, create user settings
> (global variables) that can be accessed from live python scripts. You can
> also create custom 'Command Buttons' that will fire off a script.
> >
> > Documentation is lacking(for the moment), but expect top notch help for
> anyone brave enough to test this application and get it ready for production
> use.
> >
> > Let me know who is interested in using this poweful GUI to control your
> Kflop as an alternative to Mach / KMotionCNC
> >
> > -Brad Murry
> >
>

Group: DynoMotion Message: 2500 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Understood, I’d recommend waiting for a month or three ‘till the dust settles and maybe evaluate  again to see if there are any features available you just can’t live without.

 

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of william Carrothers
Sent: Thursday, December 01, 2011 9:19 AM
To: DynoMotion@yahoogroups.com
Subject: RE: [DynoMotion] Machine Manager III beta

 

 

I really would not consider my self a feature user of mach.  Heck I don't even use tool offsets or anything like that,  Basicly I just use Gcode that is spat out from my Vectric aspire software.  And that seems to work as expected.  I have not built a post processor to output Gcode for Kmotion as yet.  should be similar to what the Mach post I suppose.

 

At some point I'm going to have to give both of them a more formal try.  Also still could do some further machine tuning to get things even smoother then they are.  Just have to much work for the machine to really tinker with things other then mach.

 

b/



--- On Thu, 12/1/11, Brad Murry <bradodarb@...> wrote:


From: Brad Murry <bradodarb@...>
Subject: RE: [DynoMotion] Machine Manager III beta
To: DynoMotion@yahoogroups.com
Date: Thursday, December 1, 2011, 11:14 AM

 

Well…. Good question

 

 

As of right now, it would be hard to justify to a satisfied Mach customer to make the switch(especially since we are still in beta).

 

  Other than vector-drawn eye candy and graphically user configurable control layout, the current feature set may not wet the whistle of the standard Mach user.

 

One caveat to consider is that MM uses the native Kflop CoordMotion and Trajectory Planner, so you will achieve superior motion profiles(but again if you are happy with the point sets generated via Mach it may not be that important to you).

 

 

 

If you want easily configurable user settings and command buttons, custom IO pages and on the fly scripting support; use MM.

 

More features will be added though and in relatively short order MM will be much more feature rich than Mach.

 

Thank you,

 

-Brad Murry

 

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of william Carrothers
Sent: Thursday, December 01, 2011 7:13 AM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Machine Manager III beta

 

 

I'm curious about this,  How ever I have been using mach3 for years and now on both machines (one equiped with kflop/kanalog)..

 

What I'm wondering is, what are the compelling reasons to run the machine under this interface rather then mach if mach has satisified me so far?

 

Thanks..

 

b/



--- On Thu, 12/1/11, bradodarb <bradodarb@...> wrote:


From: bradodarb <bradodarb@...>
Subject: [DynoMotion] Machine Manager III beta
To: DynoMotion@yahoogroups.com
Date: Thursday, December 1, 2011, 2:31 AM

 

Machine Manager III is available as an install package for beta testing

You can download it here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download

Use as a CNC gui, or create custom GUI's for your custom automation projects.

Many controls are available and all can be docked in any configuration you like.

You can setup IO led panels for inputs and outputs, create user settings (global variables) that can be accessed from live python scripts. You can also create custom 'Command Buttons' that will fire off a script.

Documentation is lacking(for the moment), but expect top notch help for anyone brave enough to test this application and get it ready for production use.

Let me know who is interested in using this poweful GUI to control your Kflop as an alternative to Mach / KMotionCNC

-Brad Murry

Group: DynoMotion Message: 2501 From: himykabibble Date: 12/1/2011
Subject: Re: Machine Manager III beta
Brad,

Yes, I do have multiple installs, so I re-named all but the 428x one, and it made no difference.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Hello Ray,
>
>
>
> Do you have multiple KMotion installs? If so, I wonder if you would mind
> temporarily renaming them and see if it launches then. If that is the
> problem, I will add in a mechanism to manually point to a Kmotion
> directory.. maybe I will do that anyhow..
>
>
>
> Thanks for the feedback.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Thursday, December 01, 2011 9:16 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> I installed 428x, overlaid the .Net files referenced below, and installed
> MM, and all I get is a dialog saying "Exception of type
> 'KMotion_dotNet.DMException' was thrown", then when the dialog is dismissed,
> it leaves a zombie process running.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> Brad Murry <bradodarb@> wrote:
> >
> > Hello Troy,
> >
> >
> >
> > You executed it just fine. MM is build off the very latest .net Interop
> > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > the patch from this post::
> >
> >
> >
> > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> >
> >
> >
> > Let me know if that does not get things running.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ]
> On
> > Behalf Of tmday7
> > Sent: Thursday, December 01, 2011 8:25 AM
> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > How is this executed? It seemed to install fine, but when i start MM3 by
> the
> > desktop shortcut i get a "Machine Manager Detected an Error" window
> stating
> > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> >
> > Troy
> >
> > --- "bradodarb" wrote:
> > >
> > > Machine Manager III is available as an install package for beta testing
> > >
> > >
> > > You can download it here::
> > >
> > >
> >
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > e%20Manager%20III.zip/download
> > >
> > >
> > > Use as a CNC gui, or create custom GUI's for your custom automation
> > projects.
> > >
> > > Many controls are available and all can be docked in any configuration
> you
> > like.
> > >
> > >
> > > You can setup IO led panels for inputs and outputs, create user settings
> > (global variables) that can be accessed from live python scripts. You can
> > also create custom 'Command Buttons' that will fire off a script.
> > >
> > > Documentation is lacking(for the moment), but expect top notch help for
> > anyone brave enough to test this application and get it ready for
> production
> > use.
> > >
> > > Let me know who is interested in using this poweful GUI to control your
> > Kflop as an alternative to Mach / KMotionCNC
> > >
> > > -Brad Murry
> > >
> >
>
Group: DynoMotion Message: 2502 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

That is very odd.  Try running as administrator?

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Thursday, December 01, 2011 9:54 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

Yes, I do have multiple installs, so I re-named all but the 428x one, and it made no difference.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Hello Ray,
>
>
>
> Do you have multiple KMotion installs? If so, I wonder if you would mind
> temporarily renaming them and see if it launches then. If that is the
> problem, I will add in a mechanism to manually point to a Kmotion
> directory.. maybe I will do that anyhow..
>
>
>
> Thanks for the feedback.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Thursday, December 01, 2011 9:16 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> I installed 428x, overlaid the .Net files referenced below, and installed
> MM, and all I get is a dialog saying "Exception of type
> 'KMotion_dotNet.DMException' was thrown", then when the dialog is dismissed,
> it leaves a zombie process running.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> Brad Murry <bradodarb@> wrote:
> >
> > Hello Troy,
> >
> >
> >
> > You executed it just fine. MM is build off the very latest .net Interop
> > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > the patch from this post::
> >
> >
> >
> > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> >
> >
> >
> > Let me know if that does not get things running.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ]
> On
> > Behalf Of tmday7
> > Sent: Thursday, December 01, 2011 8:25 AM
> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > How is this executed? It seemed to install fine, but when i start MM3 by
> the
> > desktop shortcut i get a "Machine Manager Detected an Error" window
> stating
> > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> >
> > Troy
> >
> > --- "bradodarb" wrote:
> > >
> > > Machine Manager III is available as an install package for beta testing
> > >
> > >
> > > You can download it here::
> > >
> > >
> >
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > e%20Manager%20III.zip/download
> > >
> > >
> > > Use as a CNC gui, or create custom GUI's for your custom automation
> > projects.
> > >
> > > Many controls are available and all can be docked in any configuration
> you
> > like.
> > >
> > >
> > > You can setup IO led panels for inputs and outputs, create user settings
> > (global variables) that can be accessed from live python scripts. You can
> > also create custom 'Command Buttons' that will fire off a script.
> > >
> > > Documentation is lacking(for the moment), but expect top notch help for
> > anyone brave enough to test this application and get it ready for
> production
> > use.
> > >
> > > Let me know who is interested in using this poweful GUI to control your
> > Kflop as an alternative to Mach / KMotionCNC
> > >
> > > -Brad Murry
> > >
> >
>

Group: DynoMotion Message: 2503 From: himykabibble Date: 12/1/2011
Subject: Re: Machine Manager III beta
Brad,

Already am... I have VSExpress 2010. Any reason I couldn't debug it?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> That is very odd. Try running as administrator?
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Thursday, December 01, 2011 9:54 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
> Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> made no difference.
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> Brad Murry <bradodarb@> wrote:
> >
> > Hello Ray,
> >
> >
> >
> > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > temporarily renaming them and see if it launches then. If that is the
> > problem, I will add in a mechanism to manually point to a Kmotion
> > directory.. maybe I will do that anyhow..
> >
> >
> >
> > Thanks for the feedback.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ]
> On
> > Behalf Of himykabibble
> > Sent: Thursday, December 01, 2011 9:16 AM
> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> > I installed 428x, overlaid the .Net files referenced below, and installed
> > MM, and all I get is a dialog saying "Exception of type
> > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> dismissed,
> > it leaves a zombie process running.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> <mailto:DynoMotion%40yahoogroups.com> ,
> > Brad Murry <bradodarb@> wrote:
> > >
> > > Hello Troy,
> > >
> > >
> > >
> > > You executed it just fine. MM is build off the very latest .net Interop
> > > files. Make sure you have Kmotion4.28x installed, and that you
> downloaded
> > > the patch from this post::
> > >
> > >
> > >
> > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > >
> > >
> > >
> > > Let me know if that does not get things running.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> <mailto:DynoMotion%40yahoogroups.com>
> > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> <mailto:DynoMotion%40yahoogroups.com> ]
> > On
> > > Behalf Of tmday7
> > > Sent: Thursday, December 01, 2011 8:25 AM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > How is this executed? It seemed to install fine, but when i start MM3 by
> > the
> > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > stating
> > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Machine Manager III is available as an install package for beta
> testing
> > > >
> > > >
> > > > You can download it here::
> > > >
> > > >
> > >
> >
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > e%20Manager%20III.zip/download
> > > >
> > > >
> > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > projects.
> > > >
> > > > Many controls are available and all can be docked in any configuration
> > you
> > > like.
> > > >
> > > >
> > > > You can setup IO led panels for inputs and outputs, create user
> settings
> > > (global variables) that can be accessed from live python scripts. You
> can
> > > also create custom 'Command Buttons' that will fire off a script.
> > > >
> > > > Documentation is lacking(for the moment), but expect top notch help
> for
> > > anyone brave enough to test this application and get it ready for
> > production
> > > use.
> > > >
> > > > Let me know who is interested in using this poweful GUI to control
> your
> > > Kflop as an alternative to Mach / KMotionCNC
> > > >
> > > > -Brad Murry
> > > >
> > >
> >
>
Group: DynoMotion Message: 2504 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
I'm uploading source right now

-Brad

--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Already am... I have VSExpress 2010. Any reason I couldn't debug it?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > That is very odd. Try running as administrator?
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Thursday, December 01, 2011 9:54 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> > Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> > made no difference.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> > Brad Murry <bradodarb@> wrote:
> > >
> > > Hello Ray,
> > >
> > >
> > >
> > > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > > temporarily renaming them and see if it launches then. If that is the
> > > problem, I will add in a mechanism to manually point to a Kmotion
> > > directory.. maybe I will do that anyhow..
> > >
> > >
> > >
> > > Thanks for the feedback.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ]
> > On
> > > Behalf Of himykabibble
> > > Sent: Thursday, December 01, 2011 9:16 AM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > > I installed 428x, overlaid the .Net files referenced below, and installed
> > > MM, and all I get is a dialog saying "Exception of type
> > > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> > dismissed,
> > > it leaves a zombie process running.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com> ,
> > > Brad Murry <bradodarb@> wrote:
> > > >
> > > > Hello Troy,
> > > >
> > > >
> > > >
> > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > files. Make sure you have Kmotion4.28x installed, and that you
> > downloaded
> > > > the patch from this post::
> > > >
> > > >
> > > >
> > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > >
> > > >
> > > >
> > > > Let me know if that does not get things running.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com>
> > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com> ]
> > > On
> > > > Behalf Of tmday7
> > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > How is this executed? It seemed to install fine, but when i start MM3 by
> > > the
> > > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > > stating
> > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Machine Manager III is available as an install package for beta
> > testing
> > > > >
> > > > >
> > > > > You can download it here::
> > > > >
> > > > >
> > > >
> > >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > e%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > projects.
> > > > >
> > > > > Many controls are available and all can be docked in any configuration
> > > you
> > > > like.
> > > > >
> > > > >
> > > > > You can setup IO led panels for inputs and outputs, create user
> > settings
> > > > (global variables) that can be accessed from live python scripts. You
> > can
> > > > also create custom 'Command Buttons' that will fire off a script.
> > > > >
> > > > > Documentation is lacking(for the moment), but expect top notch help
> > for
> > > > anyone brave enough to test this application and get it ready for
> > > production
> > > > use.
> > > > >
> > > > > Let me know who is interested in using this poweful GUI to control
> > your
> > > > Kflop as an alternative to Mach / KMotionCNC
> > > > >
> > > > > -Brad Murry
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2506 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
Ray,

You may get some warnings because some projects/features are not supported by express, but after that you should be able to debug


Download here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download


-Brad Murry

--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Already am... I have VSExpress 2010. Any reason I couldn't debug it?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > That is very odd. Try running as administrator?
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Thursday, December 01, 2011 9:54 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> > Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> > made no difference.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> > Brad Murry <bradodarb@> wrote:
> > >
> > > Hello Ray,
> > >
> > >
> > >
> > > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > > temporarily renaming them and see if it launches then. If that is the
> > > problem, I will add in a mechanism to manually point to a Kmotion
> > > directory.. maybe I will do that anyhow..
> > >
> > >
> > >
> > > Thanks for the feedback.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ]
> > On
> > > Behalf Of himykabibble
> > > Sent: Thursday, December 01, 2011 9:16 AM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > > I installed 428x, overlaid the .Net files referenced below, and installed
> > > MM, and all I get is a dialog saying "Exception of type
> > > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> > dismissed,
> > > it leaves a zombie process running.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com> ,
> > > Brad Murry <bradodarb@> wrote:
> > > >
> > > > Hello Troy,
> > > >
> > > >
> > > >
> > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > files. Make sure you have Kmotion4.28x installed, and that you
> > downloaded
> > > > the patch from this post::
> > > >
> > > >
> > > >
> > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > >
> > > >
> > > >
> > > > Let me know if that does not get things running.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com>
> > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com> ]
> > > On
> > > > Behalf Of tmday7
> > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > How is this executed? It seemed to install fine, but when i start MM3 by
> > > the
> > > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > > stating
> > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Machine Manager III is available as an install package for beta
> > testing
> > > > >
> > > > >
> > > > > You can download it here::
> > > > >
> > > > >
> > > >
> > >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > e%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > projects.
> > > > >
> > > > > Many controls are available and all can be docked in any configuration
> > > you
> > > > like.
> > > > >
> > > > >
> > > > > You can setup IO led panels for inputs and outputs, create user
> > settings
> > > > (global variables) that can be accessed from live python scripts. You
> > can
> > > > also create custom 'Command Buttons' that will fire off a script.
> > > > >
> > > > > Documentation is lacking(for the moment), but expect top notch help
> > for
> > > > anyone brave enough to test this application and get it ready for
> > > production
> > > > use.
> > > > >
> > > > > Let me know who is interested in using this poweful GUI to control
> > your
> > > > Kflop as an alternative to Mach / KMotionCNC
> > > > >
> > > > > -Brad Murry
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2507 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Hi Brad,
 
I have the same exception problem.  I assume this needs the newer KMotion_dotNet stuff you referred to as a patch to KMotion428x.  But I couldn't find the binary for GCodeInterpreter.dll.  So I merged all the source code changes and re-built all the DLLs.  I pointed my Windows Path to the c:\KMotion428x\KMotion\Release directory and I still get the same exception.  Someting must still not be in sync.
 
Thanks
TK
 

Group: DynoMotion Message: 2509 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

The source is available for download, and if anyone has VS2008 that wants to debug it, open the .sln file in your favorite text editor and change the first line from this:

 

Microsoft Visual Studio Solution File, Format Version 11.00

 

To this

 

Microsoft Visual Studio Solution File, Format Version 10.00

 

 

-Brad

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 10:12 AM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Hi Brad,

 

I have the same exception problem.  I assume this needs the newer KMotion_dotNet stuff you referred to as a patch to KMotion428x.  But I couldn't find the binary for GCodeInterpreter.dll.  So I merged all the source code changes and re-built all the DLLs.  I pointed my Windows Path to the c:\KMotion428x\KMotion\Release directory and I still get the same exception.  Someting must still not be in sync.

 

Thanks

TK

 

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 9:02 AM
Subject: [DynoMotion] Re: Machine Manager III beta

 

I'm uploading source right now

-Brad

--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Already am... I have VSExpress 2010. Any reason I couldn't debug it?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > That is very odd. Try running as administrator?
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Thursday, December 01, 2011 9:54 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> > Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> > made no difference.
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ,
> > Brad Murry <bradodarb@> wrote:
> > >
> > > Hello Ray,
> > >
> > >
> > >
> > > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > > temporarily renaming them and see if it launches then. If that is the
> > > problem, I will add in a mechanism to manually point to a Kmotion
> > > directory.. maybe I will do that anyhow..
> > >
> > >
> > >
> > > Thanks for the feedback.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ]
> > On
> > > Behalf Of himykabibble
> > > Sent: Thursday, December 01, 2011 9:16 AM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > > I installed 428x, overlaid the .Net files referenced below, and installed
> > > MM, and all I get is a dialog saying "Exception of type
> > > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> > dismissed,
> > > it leaves a zombie process running.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com> ,
> > > Brad Murry <bradodarb@> wrote:
> > > >
> > > > Hello Troy,
> > > >
> > > >
> > > >
> > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > files. Make sure you have Kmotion4.28x installed, and that you
> > downloaded
> > > > the patch from this post::
> > > >
> > > >
> > > >
> > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > >
> > > >
> > > >
> > > > Let me know if that does not get things running.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com>
> > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com> ]
> > > On
> > > > Behalf Of tmday7
> > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > How is this executed? It seemed to install fine, but when i start MM3 by
> > > the
> > > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > > stating
> > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Machine Manager III is available as an install package for beta
> > testing
> > > > >
> > > > >
> > > > > You can download it here::
> > > > >
> > > > >
> > > >
> > >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > e%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > projects.
> > > > >
> > > > > Many controls are available and all can be docked in any configuration
> > > you
> > > > like.
> > > > >
> > > > >
> > > > > You can setup IO led panels for inputs and outputs, create user
> > settings
> > > > (global variables) that can be accessed from live python scripts. You
> > can
> > > > also create custom 'Command Buttons' that will fire off a script.
> > > > >
> > > > > Documentation is lacking(for the moment), but expect top notch help
> > for
> > > > anyone brave enough to test this application and get it ready for
> > > production
> > > > use.
> > > > >
> > > > > Let me know who is interested in using this poweful GUI to control
> > your
> > > > Kflop as an alternative to Mach / KMotionCNC
> > > > >
> > > > > -Brad Murry
> > > > >
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2510 From: himykabibble Date: 12/1/2011
Subject: Re: Machine Manager III beta
Brad,

Better to use VS2008, or VS2010Express? I have both...

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> The source is available for download, and if anyone has VS2008 that wants to debug it, open the .sln file in your favorite text editor and change the first line from this:
>
>
>
> Microsoft Visual Studio Solution File, Format Version 11.00
>
>
>
> To this
>
>
>
> Microsoft Visual Studio Solution File, Format Version 10.00
>
>
>
>
>
> -Brad
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> Sent: Thursday, December 01, 2011 10:12 AM
> To: DynoMotion@yahoogroups.com
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Hi Brad,
>
>
>
> I have the same exception problem. I assume this needs the newer KMotion_dotNet stuff you referred to as a patch to KMotion428x. But I couldn't find the binary for GCodeInterpreter.dll. So I merged all the source code changes and re-built all the DLLs. I pointed my Windows Path to the c:\KMotion428x\KMotion\Release directory and I still get the same exception. Someting must still not be in sync.
>
>
>
> Thanks
>
> TK
>
>
>
>
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 9:02 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
> I'm uploading source right now
>
> -Brad
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> >
> > Brad,
> >
> > Already am... I have VSExpress 2010. Any reason I couldn't debug it?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > >
> > > That is very odd. Try running as administrator?
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > Behalf Of himykabibble
> > > Sent: Thursday, December 01, 2011 9:54 AM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > > Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> > > made no difference.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ,
> > > Brad Murry <bradodarb@> wrote:
> > > >
> > > > Hello Ray,
> > > >
> > > >
> > > >
> > > > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > > > temporarily renaming them and see if it launches then. If that is the
> > > > problem, I will add in a mechanism to manually point to a Kmotion
> > > > directory.. maybe I will do that anyhow..
> > > >
> > > >
> > > >
> > > > Thanks for the feedback.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ]
> > > On
> > > > Behalf Of himykabibble
> > > > Sent: Thursday, December 01, 2011 9:16 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brad,
> > > >
> > > > I installed 428x, overlaid the .Net files referenced below, and installed
> > > > MM, and all I get is a dialog saying "Exception of type
> > > > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> > > dismissed,
> > > > it leaves a zombie process running.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com> ,
> > > > Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you
> > > downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com>
> > > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com> ]
> > > > On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by
> > > > the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > > > stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta
> > > testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > >
> > > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration
> > > > you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user
> > > settings
> > > > > (global variables) that can be accessed from live python scripts. You
> > > can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help
> > > for
> > > > > anyone brave enough to test this application and get it ready for
> > > > production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control
> > > your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2511 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

I’d use 2010 unless you run into problems

 

-Brad

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Thursday, December 01, 2011 10:17 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

Better to use VS2008, or VS2010Express? I have both...

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> The source is available for download, and if anyone has VS2008 that wants to debug it, open the .sln file in your favorite text editor and change the first line from this:
>
>
>
> Microsoft Visual Studio Solution File, Format Version 11.00
>
>
>
> To this
>
>
>
> Microsoft Visual Studio Solution File, Format Version 10.00
>
>
>
>
>
> -Brad
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> Sent: Thursday, December 01, 2011 10:12 AM
> To: DynoMotion@yahoogroups.com
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Hi Brad,
>
>
>
> I have the same exception problem. I assume this needs the newer KMotion_dotNet stuff you referred to as a patch to KMotion428x. But I couldn't find the binary for GCodeInterpreter.dll. So I merged all the source code changes and re-built all the DLLs. I pointed my Windows Path to the c:\KMotion428x\KMotion\Release directory and I still get the same exception. Someting must still not be in sync.
>
>
>
> Thanks
>
> TK
>
>
>
>
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 9:02 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
> I'm uploading source right now
>
> -Brad
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> >
> > Brad,
> >
> > Already am... I have VSExpress 2010. Any reason I couldn't debug it?
> >
> > Regards,
> > Ray L.
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > >
> > > That is very odd. Try running as administrator?
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > Behalf Of himykabibble
> > > Sent: Thursday, December 01, 2011 9:54 AM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > > Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> > > made no difference.
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ,
> > > Brad Murry <bradodarb@> wrote:
> > > >
> > > > Hello Ray,
> > > >
> > > >
> > > >
> > > > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > > > temporarily renaming them and see if it launches then. If that is the
> > > > problem, I will add in a mechanism to manually point to a Kmotion
> > > > directory.. maybe I will do that anyhow..
> > > >
> > > >
> > > >
> > > > Thanks for the feedback.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ]
> > > On
> > > > Behalf Of himykabibble
> > > > Sent: Thursday, December 01, 2011 9:16 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brad,
> > > >
> > > > I installed 428x, overlaid the .Net files referenced below, and installed
> > > > MM, and all I get is a dialog saying "Exception of type
> > > > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> > > dismissed,
> > > > it leaves a zombie process running.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com> ,
> > > > Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you
> > > downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com>
> > > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com> ]
> > > > On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by
> > > > the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > > > stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta
> > > testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > >
> > > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration
> > > > you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user
> > > settings
> > > > > (global variables) that can be accessed from live python scripts. You
> > > can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help
> > > for
> > > > > anyone brave enough to test this application and get it ready for
> > > > production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control
> > > your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>

Group: DynoMotion Message: 2513 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
Any luck? What function is it failing on?

-Brad

--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Better to use VS2008, or VS2010Express? I have both...
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > The source is available for download, and if anyone has VS2008 that wants to debug it, open the .sln file in your favorite text editor and change the first line from this:
> >
> >
> >
> > Microsoft Visual Studio Solution File, Format Version 11.00
> >
> >
> >
> > To this
> >
> >
> >
> > Microsoft Visual Studio Solution File, Format Version 10.00
> >
> >
> >
> >
> >
> > -Brad
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 10:12 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Hi Brad,
> >
> >
> >
> > I have the same exception problem. I assume this needs the newer KMotion_dotNet stuff you referred to as a patch to KMotion428x. But I couldn't find the binary for GCodeInterpreter.dll. So I merged all the source code changes and re-built all the DLLs. I pointed my Windows Path to the c:\KMotion428x\KMotion\Release directory and I still get the same exception. Someting must still not be in sync.
> >
> >
> >
> > Thanks
> >
> > TK
> >
> >
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 9:02 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > I'm uploading source right now
> >
> > -Brad
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "himykabibble" <jagboy@> wrote:
> > >
> > > Brad,
> > >
> > > Already am... I have VSExpress 2010. Any reason I couldn't debug it?
> > >
> > > Regards,
> > > Ray L.
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > >
> > > > That is very odd. Try running as administrator?
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > Behalf Of himykabibble
> > > > Sent: Thursday, December 01, 2011 9:54 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brad,
> > > >
> > > > Yes, I do have multiple installs, so I re-named all but the 428x one, and it
> > > > made no difference.
> > > >
> > > > Regards,
> > > > Ray L.
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ,
> > > > Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Ray,
> > > > >
> > > > >
> > > > >
> > > > > Do you have multiple KMotion installs? If so, I wonder if you would mind
> > > > > temporarily renaming them and see if it launches then. If that is the
> > > > > problem, I will add in a mechanism to manually point to a Kmotion
> > > > > directory.. maybe I will do that anyhow..
> > > > >
> > > > >
> > > > >
> > > > > Thanks for the feedback.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ]
> > > > On
> > > > > Behalf Of himykabibble
> > > > > Sent: Thursday, December 01, 2011 9:16 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Brad,
> > > > >
> > > > > I installed 428x, overlaid the .Net files referenced below, and installed
> > > > > MM, and all I get is a dialog saying "Exception of type
> > > > > 'KMotion_dotNet.DMException' was thrown", then when the dialog is
> > > > dismissed,
> > > > > it leaves a zombie process running.
> > > > >
> > > > > Regards,
> > > > > Ray L.
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > <mailto:DynoMotion%40yahoogroups.com> ,
> > > > > Brad Murry <bradodarb@> wrote:
> > > > > >
> > > > > > Hello Troy,
> > > > > >
> > > > > >
> > > > > >
> > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > files. Make sure you have Kmotion4.28x installed, and that you
> > > > downloaded
> > > > > > the patch from this post::
> > > > > >
> > > > > >
> > > > > >
> > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > >
> > > > > >
> > > > > >
> > > > > > Let me know if that does not get things running.
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > <mailto:DynoMotion%40yahoogroups.com>
> > > > > [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > <mailto:DynoMotion%40yahoogroups.com> ]
> > > > > On
> > > > > > Behalf Of tmday7
> > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > How is this executed? It seemed to install fine, but when i start MM3 by
> > > > > the
> > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window
> > > > > stating
> > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- "bradodarb" wrote:
> > > > > > >
> > > > > > > Machine Manager III is available as an install package for beta
> > > > testing
> > > > > > >
> > > > > > >
> > > > > > > You can download it here::
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > e%20Manager%20III.zip/download
> > > > > > >
> > > > > > >
> > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > projects.
> > > > > > >
> > > > > > > Many controls are available and all can be docked in any configuration
> > > > > you
> > > > > > like.
> > > > > > >
> > > > > > >
> > > > > > > You can setup IO led panels for inputs and outputs, create user
> > > > settings
> > > > > > (global variables) that can be accessed from live python scripts. You
> > > > can
> > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > >
> > > > > > > Documentation is lacking(for the moment), but expect top notch help
> > > > for
> > > > > > anyone brave enough to test this application and get it ready for
> > > > > production
> > > > > > use.
> > > > > > >
> > > > > > > Let me know who is interested in using this poweful GUI to control
> > > > your
> > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2514 From: tmday7 Date: 12/1/2011
Subject: Re: Machine Manager III beta
Where is the Version 4.28x?
Troy

--- Brad Murry wrote:
>
> Hello Troy,
>
>
>
> You executed it just fine. MM is build off the very latest .net Interop
> files. Make sure you have Kmotion4.28x installed, and that you downloaded
> the patch from this post::
>
>
>
> http://tech.groups.yahoo.com/group/DynoMotion/message/2487
>
>
>
> Let me know if that does not get things running.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of tmday7
> Sent: Thursday, December 01, 2011 8:25 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> How is this executed? It seemed to install fine, but when i start MM3 by the
> desktop shortcut i get a "Machine Manager Detected an Error" window stating
> "Exception of type 'Kmotion_dotNet.DMException' was thrown."
>
> Troy
>
> --- "bradodarb" wrote:
> >
> > Machine Manager III is available as an install package for beta testing
> >
> >
> > You can download it here::
> >
> >
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> e%20Manager%20III.zip/download
> >
> >
> > Use as a CNC gui, or create custom GUI's for your custom automation
> projects.
> >
> > Many controls are available and all can be docked in any configuration you
> like.
> >
> >
> > You can setup IO led panels for inputs and outputs, create user settings
> (global variables) that can be accessed from live python scripts. You can
> also create custom 'Command Buttons' that will fire off a script.
> >
> > Documentation is lacking(for the moment), but expect top notch help for
> anyone brave enough to test this application and get it ready for production
> use.
> >
> > Let me know who is interested in using this poweful GUI to control your
> Kflop as an alternative to Mach / KMotionCNC
> >
> > -Brad Murry
> >
>
Group: DynoMotion Message: 2515 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
 
Hi Troy
 
 
see also
 
 
TK

Group: DynoMotion Message: 2516 From: tmday7 Date: 12/1/2011
Subject: Re: Machine Manager III beta
Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?

Thanks,
Troy
>
> --- Brad Murry wrote:
> >
> > Hello Troy,
> >
> >
> >
> > You executed it just fine. MM is build off the very latest .net Interop
> > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > the patch from this post::
> >
> >
> >
> > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> >
> >
> >
> > Let me know if that does not get things running.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of tmday7
> > Sent: Thursday, December 01, 2011 8:25 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > How is this executed? It seemed to install fine, but when i start MM3 by the
> > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> >
> > Troy
> >
> > --- "bradodarb" wrote:
> > >
> > > Machine Manager III is available as an install package for beta testing
> > >
> > >
> > > You can download it here::
> > >
> > >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > e%20Manager%20III.zip/download
> > >
> > >
> > > Use as a CNC gui, or create custom GUI's for your custom automation
> > projects.
> > >
> > > Many controls are available and all can be docked in any configuration you
> > like.
> > >
> > >
> > > You can setup IO led panels for inputs and outputs, create user settings
> > (global variables) that can be accessed from live python scripts. You can
> > also create custom 'Command Buttons' that will fire off a script.
> > >
> > > Documentation is lacking(for the moment), but expect top notch help for
> > anyone brave enough to test this application and get it ready for production
> > use.
> > >
> > > Let me know who is interested in using this poweful GUI to control your
> > Kflop as an alternative to Mach / KMotionCNC
> > >
> > > -Brad Murry
> > >
> >
>
Group: DynoMotion Message: 2517 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.

I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(

-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
>
> Thanks,
> Troy
> >
> > --- Brad Murry wrote:
> > >
> > > Hello Troy,
> > >
> > >
> > >
> > > You executed it just fine. MM is build off the very latest .net Interop
> > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > the patch from this post::
> > >
> > >
> > >
> > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > >
> > >
> > >
> > > Let me know if that does not get things running.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > > Behalf Of tmday7
> > > Sent: Thursday, December 01, 2011 8:25 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Machine Manager III is available as an install package for beta testing
> > > >
> > > >
> > > > You can download it here::
> > > >
> > > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > e%20Manager%20III.zip/download
> > > >
> > > >
> > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > projects.
> > > >
> > > > Many controls are available and all can be docked in any configuration you
> > > like.
> > > >
> > > >
> > > > You can setup IO led panels for inputs and outputs, create user settings
> > > (global variables) that can be accessed from live python scripts. You can
> > > also create custom 'Command Buttons' that will fire off a script.
> > > >
> > > > Documentation is lacking(for the moment), but expect top notch help for
> > > anyone brave enough to test this application and get it ready for production
> > > use.
> > > >
> > > > Let me know who is interested in using this poweful GUI to control your
> > > Kflop as an alternative to Mach / KMotionCNC
> > > >
> > > > -Brad Murry
> > > >
> > >
> >
>
Group: DynoMotion Message: 2518 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
I was able to get it to finally get it to run.  I think this is what I did:
 
I'm using a W7 64 machine
 
Downloaded KMotion4.28x
 
Flashed KMotion4.28x cycled power
 
Pasted in all 3 patch folders to the KMotion4.28x install directory
 
Opened BuildAllLibs.sln did a clean all build all for both Release and Debug
 
Set my Windows Path to include C:\KMotion428x\KMotion\Release
 
Edited the MM solution to be Version 10 and opened in VS2008
 
Run in debug configuration.
 
Took several minutes to come up but finally did
 
I'm able to jog
 
 
Probably all those steps aren't necessary.  I'll try to check
 
 
Doing a clean all and re-build all on MM gives me problems.  There are missing project dependancies so I must manually build things individually.
 
It compiles with no errors but then I get:
 
Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
 
 
Regards
TK
 
 

Group: DynoMotion Message: 2519 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Brad,
 
Also KFLOP needs to be connected or I get constant connect errors.
 
TK

Group: DynoMotion Message: 2520 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

You are correct, I noticed that.  It is poling for axis positions and throwing the connection error each time…..

 

-Brad

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 1:19 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

 

Also KFLOP needs to be connected or I get constant connect errors.

 

TK

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 11:46 AM
Subject: [DynoMotion] Re: Machine Manager III beta

 

It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.

I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(

-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
>
> Thanks,
> Troy
> >
> > --- Brad Murry wrote:
> > >
> > > Hello Troy,
> > >
> > >
> > >
> > > You executed it just fine. MM is build off the very latest .net Interop
> > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > the patch from this post::
> > >
> > >
> > >
> > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > >
> > >
> > >
> > > Let me know if that does not get things running.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > > Behalf Of tmday7
> > > Sent: Thursday, December 01, 2011 8:25 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Machine Manager III is available as an install package for beta testing
> > > >
> > > >
> > > > You can download it here::
> > > >
> > > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > e%20Manager%20III.zip/download
> > > >
> > > >
> > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > projects.
> > > >
> > > > Many controls are available and all can be docked in any configuration you
> > > like.
> > > >
> > > >
> > > > You can setup IO led panels for inputs and outputs, create user settings
> > > (global variables) that can be accessed from live python scripts. You can
> > > also create custom 'Command Buttons' that will fire off a script.
> > > >
> > > > Documentation is lacking(for the moment), but expect top notch help for
> > > anyone brave enough to test this application and get it ready for production
> > > use.
> > > >
> > > > Let me know who is interested in using this poweful GUI to control your
> > > Kflop as an alternative to Mach / KMotionCNC
> > > >
> > > > -Brad Murry
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2521 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

So is the possible failure point a stale KMotion\Release from BuildAllLibs?

 

I think it is trying to use the existing dll’s in the release folder, and just copying in the patched projects is not updating the DLL’s.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 1:17 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

I was able to get it to finally get it to run.  I think this is what I did:

 

I'm using a W7 64 machine

 

Downloaded KMotion4.28x

 

Flashed KMotion4.28x cycled power

 

Pasted in all 3 patch folders to the KMotion4.28x install directory

 

Opened BuildAllLibs.sln did a clean all build all for both Release and Debug

 

Set my Windows Path to include C:\KMotion428x\KMotion\Release

 

Edited the MM solution to be Version 10 and opened in VS2008

 

Run in debug configuration.

 

Took several minutes to come up but finally did

 

I'm able to jog

 

 

Probably all those steps aren't necessary.  I'll try to check

 

 

Doing a clean all and re-build all on MM gives me problems.  There are missing project dependancies so I must manually build things individually.

 

It compiles with no errors but then I get:

 

Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

 

 

Regards

TK

 

 

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 11:46 AM
Subject: [DynoMotion] Re: Machine Manager III beta

 

It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.

I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(

-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
>
> Thanks,
> Troy
> >
> > --- Brad Murry wrote:
> > >
> > > Hello Troy,
> > >
> > >
> > >
> > > You executed it just fine. MM is build off the very latest .net Interop
> > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > the patch from this post::
> > >
> > >
> > >
> > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > >
> > >
> > >
> > > Let me know if that does not get things running.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > > Behalf Of tmday7
> > > Sent: Thursday, December 01, 2011 8:25 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Machine Manager III is available as an install package for beta testing
> > > >
> > > >
> > > > You can download it here::
> > > >
> > > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > e%20Manager%20III.zip/download
> > > >
> > > >
> > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > projects.
> > > >
> > > > Many controls are available and all can be docked in any configuration you
> > > like.
> > > >
> > > >
> > > > You can setup IO led panels for inputs and outputs, create user settings
> > > (global variables) that can be accessed from live python scripts. You can
> > > also create custom 'Command Buttons' that will fire off a script.
> > > >
> > > > Documentation is lacking(for the moment), but expect top notch help for
> > > anyone brave enough to test this application and get it ready for production
> > > use.
> > > >
> > > > Let me know who is interested in using this poweful GUI to control your
> > > Kflop as an alternative to Mach / KMotionCNC
> > > >
> > > > -Brad Murry
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2522 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Troy, you may want to try copying these

 

http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download

 

files into your c:\Kmotion4.28x\Kmotion\Release folder.

 

I think the application will run after that.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
Sent: Thursday, December 01, 2011 1:28 PM
To: DynoMotion@yahoogroups.com
Subject: RE: [DynoMotion] Re: Machine Manager III beta

 

 

You are correct, I noticed that.  It is poling for axis positions and throwing the connection error each time…..

 

-Brad

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 1:19 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

 

Also KFLOP needs to be connected or I get constant connect errors.

 

TK

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 11:46 AM
Subject: [DynoMotion] Re: Machine Manager III beta

 

It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.

I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(

-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
>
> Thanks,
> Troy
> >
> > --- Brad Murry wrote:
> > >
> > > Hello Troy,
> > >
> > >
> > >
> > > You executed it just fine. MM is build off the very latest .net Interop
> > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > the patch from this post::
> > >
> > >
> > >
> > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > >
> > >
> > >
> > > Let me know if that does not get things running.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > > Behalf Of tmday7
> > > Sent: Thursday, December 01, 2011 8:25 AM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Machine Manager III is available as an install package for beta testing
> > > >
> > > >
> > > > You can download it here::
> > > >
> > > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > e%20Manager%20III.zip/download
> > > >
> > > >
> > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > projects.
> > > >
> > > > Many controls are available and all can be docked in any configuration you
> > > like.
> > > >
> > > >
> > > > You can setup IO led panels for inputs and outputs, create user settings
> > > (global variables) that can be accessed from live python scripts. You can
> > > also create custom 'Command Buttons' that will fire off a script.
> > > >
> > > > Documentation is lacking(for the moment), but expect top notch help for
> > > anyone brave enough to test this application and get it ready for production
> > > use.
> > > >
> > > > Let me know who is interested in using this poweful GUI to control your
> > > Kflop as an alternative to Mach / KMotionCNC
> > > >
> > > > -Brad Murry
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2523 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Good point.  I target all the final binaries to the KMotion\Release and KMotion\Debug directories
 
The "patch" download only has one DLL and it is in the obj/x86/Release (and one in debug 4 days old).
 
TK

Group: DynoMotion Message: 2525 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
Hello Tom,


I fixed this issue, and I can plug/unplug the card and almost everything works perfectly.


I can jog an axis and manipulate IO, but if I try to interpret a file it aborts on the first axis command stating that an axis is disabled(would be nice to see which one it was complaining about).

Anywho, I went into the AxisManager page (as I still need to allow enabling/disabling axes in the Interpreter Axis Manager page) and enabled each axis. They also show as enabled in Kmotion Executive Application as well.

Is there a special step I need to take to kick-start the Interpreter?

Thank you,
Brad Murry


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Brad,
>  
> Also KFLOP needs to be connected or I get constant connect errors.
>  
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 11:46 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
>
> I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> >
> > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> >
> > Thanks,
> > Troy
> > >
> > > --- Brad Murry wrote:
> > > >
> > > > Hello Troy,
> > > >
> > > >
> > > >
> > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > the patch from this post::
> > > >
> > > >
> > > >
> > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > >
> > > >
> > > >
> > > > Let me know if that does not get things running.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > > > Behalf Of tmday7
> > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > To: DynoMotion@yahoogroups.com
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Machine Manager III is available as an install package for beta testing
> > > > >
> > > > >
> > > > > You can download it here::
> > > > >
> > > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > e%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > projects.
> > > > >
> > > > > Many controls are available and all can be docked in any configuration you
> > > > like.
> > > > >
> > > > >
> > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > (global variables) that can be accessed from live python scripts. You can
> > > > also create custom 'Command Buttons' that will fire off a script.
> > > > >
> > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > anyone brave enough to test this application and get it ready for production
> > > > use.
> > > > >
> > > > > Let me know who is interested in using this poweful GUI to control your
> > > > Kflop as an alternative to Mach / KMotionCNC
> > > > >
> > > > > -Brad Murry
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2526 From: tmday7 Date: 12/1/2011
Subject: Re: Machine Manager III beta
Copied all files to Kmotion\Release folder, but same error window.

Troy

--- Brad Murry wrote:
>
> Troy, you may want to try copying these
>
>
>
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
>
>
>
> files into your c:\Kmotion4.28x\Kmotion\Release folder.
>
>
>
> I think the application will run after that.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> Sent: Thursday, December 01, 2011 1:28 PM
> To: DynoMotion@yahoogroups.com
> Subject: RE: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
>
>
>
> -Brad
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> Sent: Thursday, December 01, 2011 1:19 PM
> To: DynoMotion@yahoogroups.com
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
>
>
> Also KFLOP needs to be connected or I get constant connect errors.
>
>
>
> TK
>
>
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 11:46 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
> It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
>
> I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> >
> > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> >
> > Thanks,
> > Troy
> > >
> > > --- Brad Murry wrote:
> > > >
> > > > Hello Troy,
> > > >
> > > >
> > > >
> > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > the patch from this post::
> > > >
> > > >
> > > >
> > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > >
> > > >
> > > >
> > > > Let me know if that does not get things running.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > Behalf Of tmday7
> > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Machine Manager III is available as an install package for beta testing
> > > > >
> > > > >
> > > > > You can download it here::
> > > > >
> > > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > e%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > projects.
> > > > >
> > > > > Many controls are available and all can be docked in any configuration you
> > > > like.
> > > > >
> > > > >
> > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > (global variables) that can be accessed from live python scripts. You can
> > > > also create custom 'Command Buttons' that will fire off a script.
> > > > >
> > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > anyone brave enough to test this application and get it ready for production
> > > > use.
> > > > >
> > > > > Let me know who is interested in using this poweful GUI to control your
> > > > Kflop as an alternative to Mach / KMotionCNC
> > > > >
> > > > > -Brad Murry
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2527 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Hi Troy,
 
It didn't work for me either.  If I do a Clean all and Build All it works but you would need VS2008 to do this.
 
But then it still runs really slow.  Like 2-3 minutes to finally come up.  A Jog button seems to take like 2 seconds so something is weird.
 
In a bit I'll post my DLL after the rebuild all for you to try...
 
Thanks
TK

Group: DynoMotion Message: 2528 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Troy,
 
Try copying these 3 DLLs to C:\KMotion428x\KMotion\Release
 
 
Also add that directory to your Windows Path (Control Panel | System | Advanced | Enviroment | PATH)
 
Then I'm running
 
C:\MM3\Machine Manager\bin\x86\Debug\Machine Manager.exe
 
TK 
 

Group: DynoMotion Message: 2529 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Troy,
 
Forgot to mention it takes 2-3 minutes to come up for some reason.
 
TK

Group: DynoMotion Message: 2530 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
That is insane, it takes seconds on my rig(not that does anyone any good).

When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Troy,
>  
> Forgot to mention it takes 2-3 minutes to come up for some reason.
>  
> TK
>
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 2:12 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Copied all files to Kmotion\Release folder, but same error window.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, you may want to try copying these
> >
> >
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> >
> >
> >
> > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> >
> >
> >
> > I think the application will run after that.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 1:28 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 1:19 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > Also KFLOP needs to be connected or I get constant connect errors.
> >
> >
> >
> > TK
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 11:46 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> >
> > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > >
> > > Thanks,
> > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > anyone brave enough to test this application and get it ready for production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2531 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Brad,
 
I think it is that checking for a connection stuff you just added.  I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board.  I commented it out in a few places and now it is dramatically faster.
 
int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
 
public void WriteLine(string command)
{
// tktk if (!Connected)
// tktk {
// tktk return;
// tktk }
try
{
KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
}
 
 
 
Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast.  I suspect a board must be connected though or you will get continuous errors.
 
 
Regards
TK
 

Group: DynoMotion Message: 2532 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Yeah, I put that in there before your response about waittoken(). I figured if out boardcount was 0 I was not connected……

 

I have seen zero performance hit on my PC, so I left it in there.  I will take it all out of the .net lib so it will become the responsibility of MM.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 4:59 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

 

I think it is that checking for a connection stuff you just added.  I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board.  I commented it out in a few places and now it is dramatically faster.

 

int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs

 

public void WriteLine(string command)

{

// tktk if (!Connected)

// tktk {

// tktk return;

// tktk }

try

{

KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);

}

 

 

 

Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast.  I suspect a board must be connected though or you will get continuous errors.

 

 

Regards

TK

 

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 3:03 PM
Subject: [DynoMotion] Re: Machine Manager III beta

 

That is insane, it takes seconds on my rig(not that does anyone any good).

When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Troy,
>  
> Forgot to mention it takes 2-3 minutes to come up for some reason.
>  
> TK
>
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 2:12 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Copied all files to Kmotion\Release folder, but same error window.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, you may want to try copying these
> >
> >
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> >
> >
> >
> > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> >
> >
> >
> > I think the application will run after that.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 1:28 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 1:19 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > Also KFLOP needs to be connected or I get constant connect errors.
> >
> >
> >
> > TK
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 11:46 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> >
> > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > >
> > > Thanks,
> > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > anyone brave enough to test this application and get it ready for production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2533 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Well I just don’t buy it….

 

 

I just installed MM on a brand new Industrial PC(limited resources)

 

SmallPC

1.6ghz Atom processor

1 gig ram

Crappy video card

XP SP3

 

Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.

 

 

The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.

 

Jogging, interpreter and IO calls are instantaneous…..

 

 

Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?

 

 

Hmm…..

 

Anyone care to try it with my Kmotion install dir contents?

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 4:59 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

 

I think it is that checking for a connection stuff you just added.  I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board.  I commented it out in a few places and now it is dramatically faster.

 

int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs

 

public void WriteLine(string command)

{

// tktk if (!Connected)

// tktk {

// tktk return;

// tktk }

try

{

KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);

}

 

 

 

Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast.  I suspect a board must be connected though or you will get continuous errors.

 

 

Regards

TK

 

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 3:03 PM
Subject: [DynoMotion] Re: Machine Manager III beta

 

That is insane, it takes seconds on my rig(not that does anyone any good).

When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Troy,
>  
> Forgot to mention it takes 2-3 minutes to come up for some reason.
>  
> TK
>
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 2:12 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Copied all files to Kmotion\Release folder, but same error window.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, you may want to try copying these
> >
> >
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> >
> >
> >
> > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> >
> >
> >
> > I think the application will run after that.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 1:28 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 1:19 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > Also KFLOP needs to be connected or I get constant connect errors.
> >
> >
> >
> > TK
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 11:46 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> >
> > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > >
> > > Thanks,
> > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > anyone brave enough to test this application and get it ready for production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2534 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Well crap,

 

Less than 2 seconds when not connected, 7-9 seconds to start if connected.

 

Either way it is responsive once loaded.

 

I will take all the Board Count stuff out.

 

-Brad

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
Sent: Thursday, December 01, 2011 5:34 PM
To: DynoMotion@yahoogroups.com
Subject: RE: [DynoMotion] Re: Machine Manager III beta

 

 

Well I just don’t buy it….

 

 

I just installed MM on a brand new Industrial PC(limited resources)

 

SmallPC

1.6ghz Atom processor

1 gig ram

Crappy video card

XP SP3

 

Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.

 

 

The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.

 

Jogging, interpreter and IO calls are instantaneous…..

 

 

Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?

 

 

Hmm…..

 

Anyone care to try it with my Kmotion install dir contents?

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 4:59 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

 

I think it is that checking for a connection stuff you just added.  I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board.  I commented it out in a few places and now it is dramatically faster.

 

int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs

 

public void WriteLine(string command)

{

// tktk if (!Connected)

// tktk {

// tktk return;

// tktk }

try

{

KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);

}

 

 

 

Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast.  I suspect a board must be connected though or you will get continuous errors.

 

 

Regards

TK

 

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 3:03 PM
Subject: [DynoMotion] Re: Machine Manager III beta

 

That is insane, it takes seconds on my rig(not that does anyone any good).

When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Troy,
>  
> Forgot to mention it takes 2-3 minutes to come up for some reason.
>  
> TK
>
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 2:12 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Copied all files to Kmotion\Release folder, but same error window.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, you may want to try copying these
> >
> >
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> >
> >
> >
> > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> >
> >
> >
> > I think the application will run after that.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 1:28 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 1:19 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > Also KFLOP needs to be connected or I get constant connect errors.
> >
> >
> >
> > TK
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 11:46 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> >
> > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > >
> > > Thanks,
> > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > anyone brave enough to test this application and get it ready for production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>

 

Group: DynoMotion Message: 2535 From: tmday7 Date: 12/1/2011
Subject: Re: Machine Manager III beta
I must be missing a step some where. I am still getting the same error window when trying to start MM3.

Troy

--- Tom Kerekes wrote:
>
> Troy,
>  
> Try copying these 3 DLLs to C:\KMotion428x\KMotion\Release
>  
> http://www.dynomotion.com/Software/Patch/MMPatch.zip
>  
> Also add that directory to your Windows Path (Control Panel | System | Advanced | Enviroment | PATH)
>  
> Then I'm running
>  
> C:\MM3\Machine Manager\bin\x86\Debug\Machine Manager.exe
>  
> TK 
>  
>
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 2:12 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Copied all files to Kmotion\Release folder, but same error window.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, you may want to try copying these
> >
> >
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> >
> >
> >
> > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> >
> >
> >
> > I think the application will run after that.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 1:28 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 1:19 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > Also KFLOP needs to be connected or I get constant connect errors.
> >
> >
> >
> > TK
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 11:46 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> >
> > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > >
> > > Thanks,
> > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > anyone brave enough to test this application and get it ready for production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2536 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Hi Brad,
 
BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x.  Also when I was trying to debug VS would keep finding incorrect source code.  I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
 
I still can't get MM Release mode to run.  It still given me that null Key exception in
 
Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
 
Thanks
TK
 
Group: DynoMotion Message: 2537 From: Brad Murry Date: 12/1/2011
Subject: Re: Machine Manager III beta

Hello Tom,

 

   I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release.  The path variable makes everything play nice there.

 

I never finalized the release configuration, until about 10 minutes ago.  If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 6:22 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Hi Brad,

 

BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x.  Also when I was trying to debug VS would keep finding incorrect source code.  I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.

 

I still can't get MM Release mode to run.  It still given me that null Key exception in

 

Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.

 

Thanks

TK

 

From: Brad Murry <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 4:41 PM
Subject: RE: [DynoMotion] Re: Machine Manager III beta

 

Well crap,

 

Less than 2 seconds when not connected, 7-9 seconds to start if connected.

 

Either way it is responsive once loaded.

 

I will take all the Board Count stuff out.

 

-Brad

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
Sent: Thursday, December 01, 2011 5:34 PM
To: DynoMotion@yahoogroups.com
Subject: RE: [DynoMotion] Re: Machine Manager III beta

 

 

Well I just don’t buy it….

 

 

I just installed MM on a brand new Industrial PC(limited resources)

 

SmallPC

1.6ghz Atom processor

1 gig ram

Crappy video card

XP SP3

 

Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.

 

 

The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.

 

Jogging, interpreter and IO calls are instantaneous…..

 

 

Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?

 

 

Hmm…..

 

Anyone care to try it with my Kmotion install dir contents?

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
Sent: Thursday, December 01, 2011 4:59 PM
To: DynoMotion@yahoogroups.com
Subject: Re: [DynoMotion] Re: Machine Manager III beta

 

 

Brad,

 

I think it is that checking for a connection stuff you just added.  I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board.  I commented it out in a few places and now it is dramatically faster.

 

int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs

 

public void WriteLine(string command)

{

// tktk if (!Connected)

// tktk {

// tktk return;

// tktk }

try

{

KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);

}

 

 

 

Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast.  I suspect a board must be connected though or you will get continuous errors.

 

 

Regards

TK

 

 

From: bradodarb <bradodarb@...>
To: DynoMotion@yahoogroups.com
Sent: Thursday, December 1, 2011 3:03 PM
Subject: [DynoMotion] Re: Machine Manager III beta

 

That is insane, it takes seconds on my rig(not that does anyone any good).

When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Troy,
>  
> Forgot to mention it takes 2-3 minutes to come up for some reason.
>  
> TK
>
> From: tmday7 <tmday@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 2:12 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Copied all files to Kmotion\Release folder, but same error window.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, you may want to try copying these
> >
> >
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> >
> >
> >
> > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> >
> >
> >
> > I think the application will run after that.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 1:28 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 1:19 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > Also KFLOP needs to be connected or I get constant connect errors.
> >
> >
> >
> > TK
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 11:46 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> >
> > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > >
> > > Thanks,
> > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Hello Troy,
> > > > >
> > > > >
> > > > >
> > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > the patch from this post::
> > > > >
> > > > >
> > > > >
> > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > >
> > > > >
> > > > >
> > > > > Let me know if that does not get things running.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > Behalf Of tmday7
> > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Machine Manager III is available as an install package for beta testing
> > > > > >
> > > > > >
> > > > > > You can download it here::
> > > > > >
> > > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > e%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > projects.
> > > > > >
> > > > > > Many controls are available and all can be docked in any configuration you
> > > > > like.
> > > > > >
> > > > > >
> > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > >
> > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > anyone brave enough to test this application and get it ready for production
> > > > > use.
> > > > > >
> > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > >
> > > >
> > >
> >
>

 

 

Group: DynoMotion Message: 2538 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
Hello Tom,

What a spectacular failure this has been thus far....


Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....

Not sure what is going on.


I have debugged for weeks without issue and now no dice.

I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.


Any thoughts on what would make things hang?

-Brad

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Hello Tom,
>
>
>
> I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
>
>
>
> I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> Sent: Thursday, December 01, 2011 6:22 PM
> To: DynoMotion@yahoogroups.com
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Hi Brad,
>
>
>
> BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
>
>
>
> I still can't get MM Release mode to run. It still given me that null Key exception in
>
>
>
> Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
>
>
>
> Thanks
>
> TK
>
>
>
> From: Brad Murry <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 4:41 PM
> Subject: RE: [DynoMotion] Re: Machine Manager III beta
>
>
>
> Well crap,
>
>
>
> Less than 2 seconds when not connected, 7-9 seconds to start if connected.
>
>
>
> Either way it is responsive once loaded.
>
>
>
> I will take all the Board Count stuff out.
>
>
>
> -Brad
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> Sent: Thursday, December 01, 2011 5:34 PM
> To: DynoMotion@yahoogroups.com
> Subject: RE: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Well I just don’t buy it….
>
>
>
>
>
> I just installed MM on a brand new Industrial PC(limited resources)
>
>
>
> SmallPC
>
> 1.6ghz Atom processor
>
> 1 gig ram
>
> Crappy video card
>
> XP SP3
>
>
>
> Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
>
>
>
>
>
> The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
>
>
>
> Jogging, interpreter and IO calls are instantaneous…..
>
>
>
>
>
> Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
>
>
>
>
>
> Hmm…..
>
>
>
> Anyone care to try it with my Kmotion install dir contents?
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> Sent: Thursday, December 01, 2011 4:59 PM
> To: DynoMotion@yahoogroups.com
> Subject: Re: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Brad,
>
>
>
> I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
>
>
>
> int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
>
>
>
> public void WriteLine(string command)
>
> {
>
> // tktk if (!Connected)
>
> // tktk {
>
> // tktk return;
>
> // tktk }
>
> try
>
> {
>
> KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
>
> }
>
>
>
>
>
>
>
> Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
>
>
>
> http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
>
>
>
> Regards
>
> TK
>
>
>
>
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 3:03 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
> That is insane, it takes seconds on my rig(not that does anyone any good).
>
> When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> >
> > Troy,
> > Â
> > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > Â
> > TK
> >
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > Sent: Thursday, December 1, 2011 2:12 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> > Â
> > Copied all files to Kmotion\Release folder, but same error window.
> >
> > Troy
> >
> > --- Brad Murry wrote:
> > >
> > > Troy, you may want to try copying these
> > >
> > >
> > >
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > >
> > >
> > >
> > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > >
> > >
> > >
> > > I think the application will run after that.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > Sent: Thursday, December 01, 2011 1:28 PM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> > >
> > >
> > >
> > > -Brad
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > Sent: Thursday, December 01, 2011 1:19 PM
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > >
> > >
> > > Also KFLOP needs to be connected or I get constant connect errors.
> > >
> > >
> > >
> > > TK
> > >
> > >
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Sent: Thursday, December 1, 2011 11:46 AM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > >
> > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > >
> > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > >
> > > > Thanks,
> > > > Troy
> > > > >
> > > > > --- Brad Murry wrote:
> > > > > >
> > > > > > Hello Troy,
> > > > > >
> > > > > >
> > > > > >
> > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > the patch from this post::
> > > > > >
> > > > > >
> > > > > >
> > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > >
> > > > > >
> > > > > >
> > > > > > Let me know if that does not get things running.
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > Behalf Of tmday7
> > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- "bradodarb" wrote:
> > > > > > >
> > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > >
> > > > > > >
> > > > > > > You can download it here::
> > > > > > >
> > > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > e%20Manager%20III.zip/download
> > > > > > >
> > > > > > >
> > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > projects.
> > > > > > >
> > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > like.
> > > > > > >
> > > > > > >
> > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > >
> > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > use.
> > > > > > >
> > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2539 From: bradodarb Date: 12/1/2011
Subject: Re: Machine Manager III beta
I think it is down to thread locking.
When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?

I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
>
> Hello Tom,
>
> What a spectacular failure this has been thus far....
>
>
> Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
>
> Not sure what is going on.
>
>
> I have debugged for weeks without issue and now no dice.
>
> I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
>
>
> Any thoughts on what would make things hang?
>
> -Brad
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > Hello Tom,
> >
> >
> >
> > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> >
> >
> >
> > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 6:22 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Hi Brad,
> >
> >
> >
> > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> >
> >
> >
> > I still can't get MM Release mode to run. It still given me that null Key exception in
> >
> >
> >
> > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> >
> >
> >
> > Thanks
> >
> > TK
> >
> >
> >
> > From: Brad Murry <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 4:41 PM
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > Well crap,
> >
> >
> >
> > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> >
> >
> >
> > Either way it is responsive once loaded.
> >
> >
> >
> > I will take all the Board Count stuff out.
> >
> >
> >
> > -Brad
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > Sent: Thursday, December 01, 2011 5:34 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Well I just don’t buy it….
> >
> >
> >
> >
> >
> > I just installed MM on a brand new Industrial PC(limited resources)
> >
> >
> >
> > SmallPC
> >
> > 1.6ghz Atom processor
> >
> > 1 gig ram
> >
> > Crappy video card
> >
> > XP SP3
> >
> >
> >
> > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> >
> >
> >
> >
> >
> > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> >
> >
> >
> > Jogging, interpreter and IO calls are instantaneous…..
> >
> >
> >
> >
> >
> > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> >
> >
> >
> >
> >
> > Hmm…..
> >
> >
> >
> > Anyone care to try it with my Kmotion install dir contents?
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > Sent: Thursday, December 01, 2011 4:59 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Brad,
> >
> >
> >
> > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> >
> >
> >
> > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> >
> >
> >
> > public void WriteLine(string command)
> >
> > {
> >
> > // tktk if (!Connected)
> >
> > // tktk {
> >
> > // tktk return;
> >
> > // tktk }
> >
> > try
> >
> > {
> >
> > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> >
> > }
> >
> >
> >
> >
> >
> >
> >
> > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> >
> >
> >
> > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> >
> >
> >
> > Regards
> >
> > TK
> >
> >
> >
> >
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 3:03 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> > That is insane, it takes seconds on my rig(not that does anyone any good).
> >
> > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > >
> > > Troy,
> > > Â
> > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > Â
> > > TK
> > >
> > > From: tmday7 <tmday@>
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Sent: Thursday, December 1, 2011 2:12 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > > Â
> > > Copied all files to Kmotion\Release folder, but same error window.
> > >
> > > Troy
> > >
> > > --- Brad Murry wrote:
> > > >
> > > > Troy, you may want to try copying these
> > > >
> > > >
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > >
> > > >
> > > >
> > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > >
> > > >
> > > >
> > > > I think the application will run after that.
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> > > >
> > > >
> > > >
> > > > -Brad
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brad,
> > > >
> > > >
> > > >
> > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > >
> > > >
> > > >
> > > > TK
> > > >
> > > >
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > >
> > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > >
> > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > >
> > > > > Thanks,
> > > > > Troy
> > > > > >
> > > > > > --- Brad Murry wrote:
> > > > > > >
> > > > > > > Hello Troy,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > the patch from this post::
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Let me know if that does not get things running.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > Behalf Of tmday7
> > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > >
> > > > > > > Troy
> > > > > > >
> > > > > > > --- "bradodarb" wrote:
> > > > > > > >
> > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > >
> > > > > > > >
> > > > > > > > You can download it here::
> > > > > > > >
> > > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > e%20Manager%20III.zip/download
> > > > > > > >
> > > > > > > >
> > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > projects.
> > > > > > > >
> > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > like.
> > > > > > > >
> > > > > > > >
> > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > >
> > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > use.
> > > > > > > >
> > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2540 From: Tom Kerekes Date: 12/1/2011
Subject: Re: Machine Manager III beta
Hi Brad,
 
Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
 
Hang in there Brad :}
 
Regards
TK

Group: DynoMotion Message: 2541 From: tmday7 Date: 12/2/2011
Subject: Re: Machine Manager III beta
For what its worth,
Also noticed in my process of Task Manager that i had like 20 Machine Managers running. Even thow the error window pops up and clicking OK, that it still runs in the background.

Troy

--- "tmday7" wrote:
>
> I must be missing a step some where. I am still getting the same error window when trying to start MM3.
>
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Troy,
> >  
> > Try copying these 3 DLLs to C:\KMotion428x\KMotion\Release
> >  
> > http://www.dynomotion.com/Software/Patch/MMPatch.zip
> >  
> > Also add that directory to your Windows Path (Control Panel | System | Advanced | Enviroment | PATH)
> >  
> > Then I'm running
> >  
> > C:\MM3\Machine Manager\bin\x86\Debug\Machine Manager.exe
> >  
> > TK 
> >  
> >
> > From: tmday7 <tmday@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 2:12 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > Copied all files to Kmotion\Release folder, but same error window.
> >
> > Troy
> >
> > --- Brad Murry wrote:
> > >
> > > Troy, you may want to try copying these
> > >
> > >
> > >
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > >
> > >
> > >
> > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > >
> > >
> > >
> > > I think the application will run after that.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > Sent: Thursday, December 01, 2011 1:28 PM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each time…..
> > >
> > >
> > >
> > > -Brad
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > Sent: Thursday, December 01, 2011 1:19 PM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > >
> > >
> > > Also KFLOP needs to be connected or I get constant connect errors.
> > >
> > >
> > >
> > > TK
> > >
> > >
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 11:46 AM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > >
> > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > >
> > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > >
> > > > Thanks,
> > > > Troy
> > > > >
> > > > > --- Brad Murry wrote:
> > > > > >
> > > > > > Hello Troy,
> > > > > >
> > > > > >
> > > > > >
> > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > the patch from this post::
> > > > > >
> > > > > >
> > > > > >
> > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > >
> > > > > >
> > > > > >
> > > > > > Let me know if that does not get things running.
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > Behalf Of tmday7
> > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- "bradodarb" wrote:
> > > > > > >
> > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > >
> > > > > > >
> > > > > > > You can download it here::
> > > > > > >
> > > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > e%20Manager%20III.zip/download
> > > > > > >
> > > > > > >
> > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > projects.
> > > > > > >
> > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > like.
> > > > > > >
> > > > > > >
> > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > >
> > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > use.
> > > > > > >
> > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2542 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
Well I must have been zombie coding last night....

When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....


So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.

-Brad Murry


--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Brad,
>  
> Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
>  
> Hang in there Brad :}
>  
> Regards
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Thursday, December 1, 2011 10:24 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> I think it is down to thread locking.
> When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
>
> I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> >
> > Hello Tom,
> >
> > What a spectacular failure this has been thus far....
> >
> >
> > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> >
> > Not sure what is going on.
> >
> >
> > I have debugged for weeks without issue and now no dice.
> >
> > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> >
> >
> > Any thoughts on what would make things hang?
> >
> > -Brad
> >
> > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > >
> > > Hello Tom,
> > >
> > >
> > >
> > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > >
> > >
> > >
> > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > Sent: Thursday, December 01, 2011 6:22 PM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Hi Brad,
> > >
> > >
> > >
> > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > >
> > >
> > >
> > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > >
> > >
> > >
> > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > >
> > >
> > >
> > > Thanks
> > >
> > > TK
> > >
> > >
> > >
> > > From: Brad Murry <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 4:41 PM
> > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > > Well crap,
> > >
> > >
> > >
> > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > >
> > >
> > >
> > > Either way it is responsive once loaded.
> > >
> > >
> > >
> > > I will take all the Board Count stuff out.
> > >
> > >
> > >
> > > -Brad
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > Sent: Thursday, December 01, 2011 5:34 PM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Well I just don’t buy it….
> > >
> > >
> > >
> > >
> > >
> > > I just installed MM on a brand new Industrial PC(limited resources)
> > >
> > >
> > >
> > > SmallPC
> > >
> > > 1.6ghz Atom processor
> > >
> > > 1 gig ram
> > >
> > > Crappy video card
> > >
> > > XP SP3
> > >
> > >
> > >
> > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > >
> > >
> > >
> > >
> > >
> > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > >
> > >
> > >
> > > Jogging, interpreter and IO calls are instantaneous…..
> > >
> > >
> > >
> > >
> > >
> > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > >
> > >
> > >
> > >
> > >
> > > Hmm…..
> > >
> > >
> > >
> > > Anyone care to try it with my Kmotion install dir contents?
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > Sent: Thursday, December 01, 2011 4:59 PM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > Brad,
> > >
> > >
> > >
> > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > >
> > >
> > >
> > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > >
> > >
> > >
> > > public void WriteLine(string command)
> > >
> > > {
> > >
> > > // tktk if (!Connected)
> > >
> > > // tktk {
> > >
> > > // tktk return;
> > >
> > > // tktk }
> > >
> > > try
> > >
> > > {
> > >
> > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > >
> > > }
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > >
> > >
> > >
> > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > >
> > >
> > >
> > > Regards
> > >
> > > TK
> > >
> > >
> > >
> > >
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 3:03 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > >
> > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > >
> > > > Troy,
> > > > Â
> > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > Â
> > > > TK
> > > >
> > > > From: tmday7 <tmday@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > > Â
> > > > Copied all files to Kmotion\Release folder, but same error window.
> > > >
> > > > Troy
> > > >
> > > > --- Brad Murry wrote:
> > > > >
> > > > > Troy, you may want to try copying these
> > > > >
> > > > >
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > >
> > > > >
> > > > >
> > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > >
> > > > >
> > > > >
> > > > > I think the application will run after that.
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > >
> > > > >
> > > > >
> > > > > -Brad
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Brad,
> > > > >
> > > > >
> > > > >
> > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > >
> > > > >
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > >
> > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > >
> > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > >
> > > > > > Thanks,
> > > > > > Troy
> > > > > > >
> > > > > > > --- Brad Murry wrote:
> > > > > > > >
> > > > > > > > Hello Troy,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > the patch from this post::
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Let me know if that does not get things running.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > Behalf Of tmday7
> > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > >
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > --- "bradodarb" wrote:
> > > > > > > > >
> > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > You can download it here::
> > > > > > > > >
> > > > > > > > >
> > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > projects.
> > > > > > > > >
> > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > like.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > >
> > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > use.
> > > > > > > > >
> > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2544 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
Ok, Lets try this again....


First, I uploaded my entire Kmotion4.28 directory here::

http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download

There were many incremental changes to the .net and .net interop files.



Once you have the files in place(Maybe Tom can make a 4.28xx install)

You can try the new install::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download


And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download


(fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Well I must have been zombie coding last night....
>
> When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
>
>
> So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
>
> -Brad Murry
>
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Brad,
> >  
> > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> >  
> > Hang in there Brad :}
> >  
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Thursday, December 1, 2011 10:24 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > I think it is down to thread locking.
> > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> >
> > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > >
> > > Hello Tom,
> > >
> > > What a spectacular failure this has been thus far....
> > >
> > >
> > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > >
> > > Not sure what is going on.
> > >
> > >
> > > I have debugged for weeks without issue and now no dice.
> > >
> > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > >
> > >
> > > Any thoughts on what would make things hang?
> > >
> > > -Brad
> > >
> > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > >
> > > > Hello Tom,
> > > >
> > > >
> > > >
> > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > >
> > > >
> > > >
> > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > To: DynoMotion@yahoogroups.com
> > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hi Brad,
> > > >
> > > >
> > > >
> > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > >
> > > >
> > > >
> > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > >
> > > >
> > > >
> > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > >
> > > >
> > > >
> > > > Thanks
> > > >
> > > > TK
> > > >
> > > >
> > > >
> > > > From: Brad Murry <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > > Well crap,
> > > >
> > > >
> > > >
> > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > >
> > > >
> > > >
> > > > Either way it is responsive once loaded.
> > > >
> > > >
> > > >
> > > > I will take all the Board Count stuff out.
> > > >
> > > >
> > > >
> > > > -Brad
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > To: DynoMotion@yahoogroups.com
> > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Well I just don’t buy it….
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > >
> > > >
> > > >
> > > > SmallPC
> > > >
> > > > 1.6ghz Atom processor
> > > >
> > > > 1 gig ram
> > > >
> > > > Crappy video card
> > > >
> > > > XP SP3
> > > >
> > > >
> > > >
> > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > >
> > > >
> > > >
> > > > Jogging, interpreter and IO calls are instantaneous…..
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Hmm…..
> > > >
> > > >
> > > >
> > > > Anyone care to try it with my Kmotion install dir contents?
> > > >
> > > >
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > >
> > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > To: DynoMotion@yahoogroups.com
> > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Brad,
> > > >
> > > >
> > > >
> > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > >
> > > >
> > > >
> > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > >
> > > >
> > > >
> > > > public void WriteLine(string command)
> > > >
> > > > {
> > > >
> > > > // tktk if (!Connected)
> > > >
> > > > // tktk {
> > > >
> > > > // tktk return;
> > > >
> > > > // tktk }
> > > >
> > > > try
> > > >
> > > > {
> > > >
> > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > >
> > > > }
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > >
> > > >
> > > >
> > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > >
> > > >
> > > >
> > > > Regards
> > > >
> > > > TK
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >
> > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > >
> > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Troy,
> > > > > Â
> > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > Â
> > > > > TK
> > > > >
> > > > > From: tmday7 <tmday@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > > Â
> > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > >
> > > > > Troy
> > > > >
> > > > > --- Brad Murry wrote:
> > > > > >
> > > > > > Troy, you may want to try copying these
> > > > > >
> > > > > >
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > >
> > > > > >
> > > > > >
> > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I think the application will run after that.
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Brad,
> > > > > >
> > > > > >
> > > > > >
> > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > >
> > > > > >
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > >
> > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > >
> > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Troy
> > > > > > > >
> > > > > > > > --- Brad Murry wrote:
> > > > > > > > >
> > > > > > > > > Hello Troy,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > the patch from this post::
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Let me know if that does not get things running.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > Behalf Of tmday7
> > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > >
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > >
> > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You can download it here::
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > projects.
> > > > > > > > > >
> > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > like.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > >
> > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > use.
> > > > > > > > > >
> > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2545 From: Brad Murry Date: 12/2/2011
Subject: Re: Machine Manager III beta
Cripes....

Just realized I did a 'Clean Solution' on Build All Libs, so the dlls will not be there..



Group: DynoMotion Message: 2546 From: himykabibble Date: 12/2/2011
Subject: Re: Machine Manager III beta
Brad,

Sorry, I wasn't able to try anything yesterday - first our power went out, then our Internet access went down!

So, if I want to try this, do I just copy your entire 428x directory on top of mine, or is there more to it than that?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Ok, Lets try this again....
>
>
> First, I uploaded my entire Kmotion4.28 directory here::
>
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
>
> There were many incremental changes to the .net and .net interop files.
>
>
>
> Once you have the files in place(Maybe Tom can make a 4.28xx install)
>
> You can try the new install::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
>
>
> (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Well I must have been zombie coding last night....
> >
> > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> >
> >
> > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Brad,
> > >  
> > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > >  
> > > Hang in there Brad :}
> > >  
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 10:24 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > I think it is down to thread locking.
> > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > >
> > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > >
> > > > Hello Tom,
> > > >
> > > > What a spectacular failure this has been thus far....
> > > >
> > > >
> > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > >
> > > > Not sure what is going on.
> > > >
> > > >
> > > > I have debugged for weeks without issue and now no dice.
> > > >
> > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > >
> > > >
> > > > Any thoughts on what would make things hang?
> > > >
> > > > -Brad
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Tom,
> > > > >
> > > > >
> > > > >
> > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > >
> > > > >
> > > > >
> > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Brad,
> > > > >
> > > > >
> > > > >
> > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > >
> > > > >
> > > > >
> > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > >
> > > > >
> > > > >
> > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > >
> > > > >
> > > > >
> > > > > Thanks
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > > From: Brad Murry <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > Well crap,
> > > > >
> > > > >
> > > > >
> > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > >
> > > > >
> > > > >
> > > > > Either way it is responsive once loaded.
> > > > >
> > > > >
> > > > >
> > > > > I will take all the Board Count stuff out.
> > > > >
> > > > >
> > > > >
> > > > > -Brad
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Well I just don’t buy it….
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > >
> > > > >
> > > > >
> > > > > SmallPC
> > > > >
> > > > > 1.6ghz Atom processor
> > > > >
> > > > > 1 gig ram
> > > > >
> > > > > Crappy video card
> > > > >
> > > > > XP SP3
> > > > >
> > > > >
> > > > >
> > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > >
> > > > >
> > > > >
> > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hmm…..
> > > > >
> > > > >
> > > > >
> > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Brad,
> > > > >
> > > > >
> > > > >
> > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > >
> > > > >
> > > > >
> > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > >
> > > > >
> > > > >
> > > > > public void WriteLine(string command)
> > > > >
> > > > > {
> > > > >
> > > > > // tktk if (!Connected)
> > > > >
> > > > > // tktk {
> > > > >
> > > > > // tktk return;
> > > > >
> > > > > // tktk }
> > > > >
> > > > > try
> > > > >
> > > > > {
> > > > >
> > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > >
> > > > >
> > > > >
> > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > >
> > > > >
> > > > >
> > > > > Regards
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > >
> > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Troy,
> > > > > > Â
> > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > Â
> > > > > > TK
> > > > > >
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > > Â
> > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- Brad Murry wrote:
> > > > > > >
> > > > > > > Troy, you may want to try copying these
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I think the application will run after that.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > >
> > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > >
> > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > >
> > > > > > > > > > Hello Troy,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > the patch from this post::
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > >
> > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can download it here::
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > projects.
> > > > > > > > > > >
> > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > like.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > >
> > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > use.
> > > > > > > > > > >
> > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2547 From: brad murry Date: 12/2/2011
Subject: Re: Machine Manager III beta
Nope, that's it

-Brad Murry

From: himykabibble
Sent: 12/2/2011 9:25 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

Brad,

Sorry, I wasn't able to try anything yesterday - first our power went out, then our Internet access went down!

So, if I want to try this, do I just copy your entire 428x directory on top of mine, or is there more to it than that?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> Ok, Lets try this again....
>
>
> First, I uploaded my entire Kmotion4.28 directory here::
>
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
>
> There were many incremental changes to the .net and .net interop files.
>
>
>
> Once you have the files in place(Maybe Tom can make a 4.28xx install)
>
> You can try the new install::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
>
>
> (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Well I must have been zombie coding last night....
> >
> > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> >
> >
> > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Brad,
> > >  
> > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > >  
> > > Hang in there Brad :}
> > >  
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 10:24 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > I think it is down to thread locking.
> > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > >
> > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > >
> > > > Hello Tom,
> > > >
> > > > What a spectacular failure this has been thus far....
> > > >
> > > >
> > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > >
> > > > Not sure what is going on.
> > > >
> > > >
> > > > I have debugged for weeks without issue and now no dice.
> > > >
> > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > >
> > > >
> > > > Any thoughts on what would make things hang?
> > > >
> > > > -Brad
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Tom,
> > > > >
> > > > >
> > > > >
> > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > >
> > > > >
> > > > >
> > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Brad,
> > > > >
> > > > >
> > > > >
> > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > >
> > > > >
> > > > >
> > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > >
> > > > >
> > > > >
> > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > >
> > > > >
> > > > >
> > > > > Thanks
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > > From: Brad Murry <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > Well crap,
> > > > >
> > > > >
> > > > >
> > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > >
> > > > >
> > > > >
> > > > > Either way it is responsive once loaded.
> > > > >
> > > > >
> > > > >
> > > > > I will take all the Board Count stuff out.
> > > > >
> > > > >
> > > > >
> > > > > -Brad
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Well I just don’t buy it….
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > >
> > > > >
> > > > >
> > > > > SmallPC
> > > > >
> > > > > 1.6ghz Atom processor
> > > > >
> > > > > 1 gig ram
> > > > >
> > > > > Crappy video card
> > > > >
> > > > > XP SP3
> > > > >
> > > > >
> > > > >
> > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > >
> > > > >
> > > > >
> > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hmm…..
> > > > >
> > > > >
> > > > >
> > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Brad,
> > > > >
> > > > >
> > > > >
> > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > >
> > > > >
> > > > >
> > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > >
> > > > >
> > > > >
> > > > > public void WriteLine(string command)
> > > > >
> > > > > {
> > > > >
> > > > > // tktk if (!Connected)
> > > > >
> > > > > // tktk {
> > > > >
> > > > > // tktk return;
> > > > >
> > > > > // tktk }
> > > > >
> > > > > try
> > > > >
> > > > > {
> > > > >
> > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > >
> > > > >
> > > > >
> > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > >
> > > > >
> > > > >
> > > > > Regards
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > >
> > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Troy,
> > > > > > Â
> > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > Â
> > > > > > TK
> > > > > >
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > > Â
> > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- Brad Murry wrote:
> > > > > > >
> > > > > > > Troy, you may want to try copying these
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I think the application will run after that.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > >
> > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > >
> > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > >
> > > > > > > > > > Hello Troy,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > the patch from this post::
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > >
> > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can download it here::
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > projects.
> > > > > > > > > > >
> > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > like.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > >
> > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > use.
> > > > > > > > > > >
> > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Group: DynoMotion Message: 2548 From: tmday7 Date: 12/2/2011
Subject: Re: Machine Manager III beta
Tried the following and still get the error window.

Troy

--- "bradodarb" wrote:
>
> Ok, Lets try this again....
>
>
> First, I uploaded my entire Kmotion4.28 directory here::
>
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
>
> There were many incremental changes to the .net and .net interop files.
>
>
>
> Once you have the files in place(Maybe Tom can make a 4.28xx install)
>
> You can try the new install::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
>
>
> (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Well I must have been zombie coding last night....
> >
> > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> >
> >
> > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Brad,
> > >  
> > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > >  
> > > Hang in there Brad :}
> > >  
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 10:24 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > I think it is down to thread locking.
> > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > >
> > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > >
> > > > Hello Tom,
> > > >
> > > > What a spectacular failure this has been thus far....
> > > >
> > > >
> > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > >
> > > > Not sure what is going on.
> > > >
> > > >
> > > > I have debugged for weeks without issue and now no dice.
> > > >
> > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > >
> > > >
> > > > Any thoughts on what would make things hang?
> > > >
> > > > -Brad
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Tom,
> > > > >
> > > > >
> > > > >
> > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > >
> > > > >
> > > > >
> > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Brad,
> > > > >
> > > > >
> > > > >
> > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > >
> > > > >
> > > > >
> > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > >
> > > > >
> > > > >
> > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > >
> > > > >
> > > > >
> > > > > Thanks
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > > From: Brad Murry <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > Well crap,
> > > > >
> > > > >
> > > > >
> > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > >
> > > > >
> > > > >
> > > > > Either way it is responsive once loaded.
> > > > >
> > > > >
> > > > >
> > > > > I will take all the Board Count stuff out.
> > > > >
> > > > >
> > > > >
> > > > > -Brad
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Well I just don’t buy it….
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > >
> > > > >
> > > > >
> > > > > SmallPC
> > > > >
> > > > > 1.6ghz Atom processor
> > > > >
> > > > > 1 gig ram
> > > > >
> > > > > Crappy video card
> > > > >
> > > > > XP SP3
> > > > >
> > > > >
> > > > >
> > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > >
> > > > >
> > > > >
> > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hmm…..
> > > > >
> > > > >
> > > > >
> > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Brad,
> > > > >
> > > > >
> > > > >
> > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > >
> > > > >
> > > > >
> > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > >
> > > > >
> > > > >
> > > > > public void WriteLine(string command)
> > > > >
> > > > > {
> > > > >
> > > > > // tktk if (!Connected)
> > > > >
> > > > > // tktk {
> > > > >
> > > > > // tktk return;
> > > > >
> > > > > // tktk }
> > > > >
> > > > > try
> > > > >
> > > > > {
> > > > >
> > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > >
> > > > >
> > > > >
> > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > >
> > > > >
> > > > >
> > > > > Regards
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > >
> > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Troy,
> > > > > > Â
> > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > Â
> > > > > > TK
> > > > > >
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > > Â
> > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- Brad Murry wrote:
> > > > > > >
> > > > > > > Troy, you may want to try copying these
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I think the application will run after that.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > >
> > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > >
> > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > >
> > > > > > > > > > Hello Troy,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > the patch from this post::
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > >
> > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can download it here::
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > projects.
> > > > > > > > > > >
> > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > like.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > >
> > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > use.
> > > > > > > > > > >
> > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2550 From: Brad Murry Date: 12/2/2011
Subject: Re: Machine Manager III beta

Troy, Thanks for your patience

 

 

Did you flash your Kflop with the 4.28x ?

 

This will cause an issue if not.

 

Don’t forget to kill any ‘rouge processes’ after a false start.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of tmday7
Sent: Friday, December 02, 2011 10:43 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

Tried the following and still get the error window.

Troy

--- "bradodarb" wrote:

>
> Ok, Lets try this again....
>
>
> First, I uploaded my entire Kmotion4.28 directory here::
>
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
>
> There were many incremental changes to the .net and .net interop files.
>
>
>
> Once you have the files in place(Maybe Tom can make a 4.28xx install)
>
> You can try the new install::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
>
> And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
>
>
> (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > Well I must have been zombie coding last night....
> >
> > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> >
> >
> > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> >
> > -Brad Murry
> >
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hi Brad,
> > >  
> > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > >  
> > > Hang in there Brad :}
> > >  
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Thursday, December 1, 2011 10:24 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > I think it is down to thread locking.
> > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > >
> > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > >
> > > > Hello Tom,
> > > >
> > > > What a spectacular failure this has been thus far....
> > > >
> > > >
> > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > >
> > > > Not sure what is going on.
> > > >
> > > >
> > > > I have debugged for weeks without issue and now no dice.
> > > >
> > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > >
> > > >
> > > > Any thoughts on what would make things hang?
> > > >
> > > > -Brad
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > >
> > > > > Hello Tom,
> > > > >
> > > > >
> > > > >
> > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > >
> > > > >
> > > > >
> > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi Brad,
> > > > >
> > > > >
> > > > >
> > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > >
> > > > >
> > > > >
> > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > >
> > > > >
> > > > >
> > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > >
> > > > >
> > > > >
> > > > > Thanks
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > > From: Brad Murry <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > Well crap,
> > > > >
> > > > >
> > > > >
> > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > >
> > > > >
> > > > >
> > > > > Either way it is responsive once loaded.
> > > > >
> > > > >
> > > > >
> > > > > I will take all the Board Count stuff out.
> > > > >
> > > > >
> > > > >
> > > > > -Brad
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Well I just don’t buy it….
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > >
> > > > >
> > > > >
> > > > > SmallPC
> > > > >
> > > > > 1.6ghz Atom processor
> > > > >
> > > > > 1 gig ram
> > > > >
> > > > > Crappy video card
> > > > >
> > > > > XP SP3
> > > > >
> > > > >
> > > > >
> > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > >
> > > > >
> > > > >
> > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hmm…..
> > > > >
> > > > >
> > > > >
> > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > >
> > > > >
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > >
> > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Brad,
> > > > >
> > > > >
> > > > >
> > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > >
> > > > >
> > > > >
> > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > >
> > > > >
> > > > >
> > > > > public void WriteLine(string command)
> > > > >
> > > > > {
> > > > >
> > > > > // tktk if (!Connected)
> > > > >
> > > > > // tktk {
> > > > >
> > > > > // tktk return;
> > > > >
> > > > > // tktk }
> > > > >
> > > > > try
> > > > >
> > > > > {
> > > > >
> > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > >
> > > > > }
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > >
> > > > >
> > > > >
> > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > >
> > > > >
> > > > >
> > > > > Regards
> > > > >
> > > > > TK
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >
> > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > >
> > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Troy,
> > > > > > Â
> > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > Â
> > > > > > TK
> > > > > >
> > > > > > From: tmday7 <tmday@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > > Â
> > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- Brad Murry wrote:
> > > > > > >
> > > > > > > Troy, you may want to try copying these
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I think the application will run after that.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > >
> > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > >
> > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > >
> > > > > > > > > > Hello Troy,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > the patch from this post::
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > >
> > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can download it here::
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > projects.
> > > > > > > > > > >
> > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > like.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > >
> > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > use.
> > > > > > > > > > >
> > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Group: DynoMotion Message: 2551 From: tmday7 Date: 12/2/2011
Subject: Re: Machine Manager III beta
Ahh, my bad, i was trying this on a PC that does not have a KFLOP on it. :)
Ill have to try on machine another time, iam set up on it right now.

Troy

--- Brad Murry wrote:
>
> Troy, Thanks for your patience
>
>
>
>
>
> Did you flash your Kflop with the 4.28x ?
>
>
>
> This will cause an issue if not.
>
>
>
> Don’t forget to kill any ‘rouge processes’ after a false start.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of tmday7
> Sent: Friday, December 02, 2011 10:43 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> Tried the following and still get the error window.
>
> Troy
>
> --- "bradodarb" wrote:
> >
> > Ok, Lets try this again....
> >
> >
> > First, I uploaded my entire Kmotion4.28 directory here::
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> >
> > There were many incremental changes to the .net and .net interop files.
> >
> >
> >
> > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> >
> > You can try the new install::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> >
> > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> >
> >
> > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > >
> > > Well I must have been zombie coding last night....
> > >
> > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > >
> > >
> > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > >
> > > -Brad Murry
> > >
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Brad,
> > > > Â
> > > > Single calls like those don't need locking it is built in. But things with multiple lines of reponse need it.
> > > > Â
> > > > Hang in there Brad :}
> > > > Â
> > > > Regards
> > > > TK
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > > Â
> > > > I think it is down to thread locking.
> > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > >
> > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > >
> > > > >
> > > > > Hello Tom,
> > > > >
> > > > > What a spectacular failure this has been thus far....
> > > > >
> > > > >
> > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > >
> > > > > Not sure what is going on.
> > > > >
> > > > >
> > > > > I have debugged for weeks without issue and now no dice.
> > > > >
> > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > >
> > > > >
> > > > > Any thoughts on what would make things hang?
> > > > >
> > > > > -Brad
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > >
> > > > > > Hello Tom,
> > > > > >
> > > > > >
> > > > > >
> > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi Brad,
> > > > > >
> > > > > >
> > > > > >
> > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > >
> > > > > >
> > > > > >
> > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: Brad Murry <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > > Well crap,
> > > > > >
> > > > > >
> > > > > >
> > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Either way it is responsive once loaded.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I will take all the Board Count stuff out.
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Well I just don’t buy it….
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > >
> > > > > >
> > > > > >
> > > > > > SmallPC
> > > > > >
> > > > > > 1.6ghz Atom processor
> > > > > >
> > > > > > 1 gig ram
> > > > > >
> > > > > > Crappy video card
> > > > > >
> > > > > > XP SP3
> > > > > >
> > > > > >
> > > > > >
> > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hmm…..
> > > > > >
> > > > > >
> > > > > >
> > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Brad,
> > > > > >
> > > > > >
> > > > > >
> > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > >
> > > > > >
> > > > > >
> > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > >
> > > > > >
> > > > > >
> > > > > > public void WriteLine(string command)
> > > > > >
> > > > > > {
> > > > > >
> > > > > > // tktk if (!Connected)
> > > > > >
> > > > > > // tktk {
> > > > > >
> > > > > > // tktk return;
> > > > > >
> > > > > > // tktk }
> > > > > >
> > > > > > try
> > > > > >
> > > > > > {
> > > > > >
> > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > >
> > > > > > }
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > >
> > > > > >
> > > > > >
> > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > >
> > > > > >
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > >
> > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Troy,
> > > > > > > ÃÆ'‚
> > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > ÃÆ'‚
> > > > > > > TK
> > > > > > >
> > > > > > > From: tmday7 <tmday@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > > ÃÆ'‚
> > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > >
> > > > > > > Troy
> > > > > > >
> > > > > > > --- Brad Murry wrote:
> > > > > > > >
> > > > > > > > Troy, you may want to try copying these
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I think the application will run after that.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Brad,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > >
> > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > >
> > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hello Troy,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > the patch from this post::
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > >
> > > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You can download it here::
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > projects.
> > > > > > > > > > > >
> > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > like.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > >
> > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > use.
> > > > > > > > > > > >
> > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2552 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
Hello Tom,

I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?

I have installed it on three different test boxes that have no dev tools and it is working.

I'd kill to know what the hang up is.

-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Tried the following and still get the error window.
>
> Troy
>
> --- "bradodarb" wrote:
> >
> > Ok, Lets try this again....
> >
> >
> > First, I uploaded my entire Kmotion4.28 directory here::
> >
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> >
> > There were many incremental changes to the .net and .net interop files.
> >
> >
> >
> > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> >
> > You can try the new install::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> >
> > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> >
> >
> > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > >
> > > Well I must have been zombie coding last night....
> > >
> > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > >
> > >
> > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > >
> > > -Brad Murry
> > >
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hi Brad,
> > > >  
> > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > >  
> > > > Hang in there Brad :}
> > > >  
> > > > Regards
> > > > TK
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >  
> > > > I think it is down to thread locking.
> > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > >
> > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > >
> > > > >
> > > > > Hello Tom,
> > > > >
> > > > > What a spectacular failure this has been thus far....
> > > > >
> > > > >
> > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > >
> > > > > Not sure what is going on.
> > > > >
> > > > >
> > > > > I have debugged for weeks without issue and now no dice.
> > > > >
> > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > >
> > > > >
> > > > > Any thoughts on what would make things hang?
> > > > >
> > > > > -Brad
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > >
> > > > > > Hello Tom,
> > > > > >
> > > > > >
> > > > > >
> > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi Brad,
> > > > > >
> > > > > >
> > > > > >
> > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > >
> > > > > >
> > > > > >
> > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Thanks
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: Brad Murry <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > > Well crap,
> > > > > >
> > > > > >
> > > > > >
> > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Either way it is responsive once loaded.
> > > > > >
> > > > > >
> > > > > >
> > > > > > I will take all the Board Count stuff out.
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Well I just don’t buy it….
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > >
> > > > > >
> > > > > >
> > > > > > SmallPC
> > > > > >
> > > > > > 1.6ghz Atom processor
> > > > > >
> > > > > > 1 gig ram
> > > > > >
> > > > > > Crappy video card
> > > > > >
> > > > > > XP SP3
> > > > > >
> > > > > >
> > > > > >
> > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hmm…..
> > > > > >
> > > > > >
> > > > > >
> > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > >
> > > > > >
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Brad,
> > > > > >
> > > > > >
> > > > > >
> > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > >
> > > > > >
> > > > > >
> > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > >
> > > > > >
> > > > > >
> > > > > > public void WriteLine(string command)
> > > > > >
> > > > > > {
> > > > > >
> > > > > > // tktk if (!Connected)
> > > > > >
> > > > > > // tktk {
> > > > > >
> > > > > > // tktk return;
> > > > > >
> > > > > > // tktk }
> > > > > >
> > > > > > try
> > > > > >
> > > > > > {
> > > > > >
> > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > >
> > > > > > }
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > >
> > > > > >
> > > > > >
> > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > >
> > > > > >
> > > > > >
> > > > > > Regards
> > > > > >
> > > > > > TK
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >
> > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > >
> > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Troy,
> > > > > > > Â
> > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > Â
> > > > > > > TK
> > > > > > >
> > > > > > > From: tmday7 <tmday@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > > Â
> > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > >
> > > > > > > Troy
> > > > > > >
> > > > > > > --- Brad Murry wrote:
> > > > > > > >
> > > > > > > > Troy, you may want to try copying these
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I think the application will run after that.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'¢â‚¬Â¦..
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Brad,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > >
> > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > >
> > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hello Troy,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > the patch from this post::
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > >
> > > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You can download it here::
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > projects.
> > > > > > > > > > > >
> > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > like.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > >
> > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > use.
> > > > > > > > > > > >
> > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2554 From: Tom Kerekes Date: 12/2/2011
Subject: Re: Machine Manager III beta
Hey Brad,
 
Works for me.  Here is what I did:
 
Downloaded and unzipped this:
 
Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
 
Added a Windows Path as C:\KMotion428x\Release
 
From Windows Cmd prompt verify PATH contains above
 
Downloaded this:
 
Unzip then run setup (It made me uninstall a previous version first)
 
Connected KFLOP
 
Run Machine Manager MM3 from Start Menu
 
It comes up instantly
 
TK
 

Group: DynoMotion Message: 2555 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
Acutually,

I just tried running it with no card connected and aside from dozens of KMotion Boards not Connected errors 1 for each command sent out as the axes were configured) the GUI did load.

-Brad Murry

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> Ahh, my bad, i was trying this on a PC that does not have a KFLOP on it. :)
> Ill have to try on machine another time, iam set up on it right now.
>
> Troy
>
> --- Brad Murry wrote:
> >
> > Troy, Thanks for your patience
> >
> >
> >
> >
> >
> > Did you flash your Kflop with the 4.28x ?
> >
> >
> >
> > This will cause an issue if not.
> >
> >
> >
> > Don’t forget to kill any ‘rouge processes’ after a false start.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of tmday7
> > Sent: Friday, December 02, 2011 10:43 AM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > Tried the following and still get the error window.
> >
> > Troy
> >
> > --- "bradodarb" wrote:
> > >
> > > Ok, Lets try this again....
> > >
> > >
> > > First, I uploaded my entire Kmotion4.28 directory here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > >
> > > There were many incremental changes to the .net and .net interop files.
> > >
> > >
> > >
> > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > >
> > > You can try the new install::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > >
> > >
> > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > >
> > >
> > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > >
> > > > Well I must have been zombie coding last night....
> > > >
> > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > >
> > > >
> > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Brad,
> > > > > Â
> > > > > Single calls like those don't need locking it is built in. But things with multiple lines of reponse need it.
> > > > > Â
> > > > > Hang in there Brad :}
> > > > > Â
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > > Â
> > > > > I think it is down to thread locking.
> > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > >
> > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > >
> > > > > >
> > > > > > Hello Tom,
> > > > > >
> > > > > > What a spectacular failure this has been thus far....
> > > > > >
> > > > > >
> > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > >
> > > > > > Not sure what is going on.
> > > > > >
> > > > > >
> > > > > > I have debugged for weeks without issue and now no dice.
> > > > > >
> > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > >
> > > > > >
> > > > > > Any thoughts on what would make things hang?
> > > > > >
> > > > > > -Brad
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > >
> > > > > > > Hello Tom,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Well crap,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Either way it is responsive once loaded.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I will take all the Board Count stuff out.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Well I just don’t buy it….
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > SmallPC
> > > > > > >
> > > > > > > 1.6ghz Atom processor
> > > > > > >
> > > > > > > 1 gig ram
> > > > > > >
> > > > > > > Crappy video card
> > > > > > >
> > > > > > > XP SP3
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hmm…..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > public void WriteLine(string command)
> > > > > > >
> > > > > > > {
> > > > > > >
> > > > > > > // tktk if (!Connected)
> > > > > > >
> > > > > > > // tktk {
> > > > > > >
> > > > > > > // tktk return;
> > > > > > >
> > > > > > > // tktk }
> > > > > > >
> > > > > > > try
> > > > > > >
> > > > > > > {
> > > > > > >
> > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > >
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Regards
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > >
> > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Troy,
> > > > > > > > ÃÆ'‚
> > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > ÃÆ'‚
> > > > > > > > TK
> > > > > > > >
> > > > > > > > From: tmday7 <tmday@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'‚
> > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > >
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > --- Brad Murry wrote:
> > > > > > > > >
> > > > > > > > > Troy, you may want to try copying these
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think the application will run after that.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > >
> > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > >
> > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > >
> > > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > projects.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > like.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > use.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2557 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
Hooray!!!


Thanks Tom!!

Best news all day.



Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:

"Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."


I'm sure you get the point.



I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.

-Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hey Brad,
>  
> Works for me.  Here is what I did:
>  
> Downloaded and unzipped this:
>  
> http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
>
> Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
>  
> Added a Windows Path as C:\KMotion428x\Release
>  
> From Windows Cmd prompt verify PATH contains above
>  
> Downloaded this:
>  
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
> Unzip then run setup (It made me uninstall a previous version first)
>  
> Connected KFLOP
>  
> Run Machine Manager MM3 from Start Menu
>  
> It comes up instantly
>  
> TK
>  
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, December 2, 2011 11:24 AM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Hello Tom,
>
> I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
>
> I have installed it on three different test boxes that have no dev tools and it is working.
>
> I'd kill to know what the hang up is.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> >
> > Tried the following and still get the error window.
> >
> > Troy
> >
> > --- "bradodarb" wrote:
> > >
> > > Ok, Lets try this again....
> > >
> > >
> > > First, I uploaded my entire Kmotion4.28 directory here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > >
> > > There were many incremental changes to the .net and .net interop files.
> > >
> > >
> > >
> > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > >
> > > You can try the new install::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > >
> > >
> > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > >
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > >
> > >
> > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > >
> > > > Well I must have been zombie coding last night....
> > > >
> > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > >
> > > >
> > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > >
> > > > -Brad Murry
> > > >
> > > >
> > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hi Brad,
> > > > >  
> > > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > > >  
> > > > > Hang in there Brad :}
> > > > >  
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com
> > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > >  
> > > > > I think it is down to thread locking.
> > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > >
> > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > >
> > > > > >
> > > > > > Hello Tom,
> > > > > >
> > > > > > What a spectacular failure this has been thus far....
> > > > > >
> > > > > >
> > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > >
> > > > > > Not sure what is going on.
> > > > > >
> > > > > >
> > > > > > I have debugged for weeks without issue and now no dice.
> > > > > >
> > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > >
> > > > > >
> > > > > > Any thoughts on what would make things hang?
> > > > > >
> > > > > > -Brad
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > >
> > > > > > > Hello Tom,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Thanks
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Well crap,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Either way it is responsive once loaded.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I will take all the Board Count stuff out.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Well I just don’t buy it….
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > SmallPC
> > > > > > >
> > > > > > > 1.6ghz Atom processor
> > > > > > >
> > > > > > > 1 gig ram
> > > > > > >
> > > > > > > Crappy video card
> > > > > > >
> > > > > > > XP SP3
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Jogging, interpreter and IO calls are instantaneous…..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hmm…..
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Brad,
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > public void WriteLine(string command)
> > > > > > >
> > > > > > > {
> > > > > > >
> > > > > > > // tktk if (!Connected)
> > > > > > >
> > > > > > > // tktk {
> > > > > > >
> > > > > > > // tktk return;
> > > > > > >
> > > > > > > // tktk }
> > > > > > >
> > > > > > > try
> > > > > > >
> > > > > > > {
> > > > > > >
> > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > >
> > > > > > > }
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Regards
> > > > > > >
> > > > > > > TK
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > >
> > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Troy,
> > > > > > > > ÃÆ'‚
> > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > ÃÆ'‚
> > > > > > > > TK
> > > > > > > >
> > > > > > > > From: tmday7 <tmday@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'‚
> > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > >
> > > > > > > > Troy
> > > > > > > >
> > > > > > > > --- Brad Murry wrote:
> > > > > > > > >
> > > > > > > > > Troy, you may want to try copying these
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think the application will run after that.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > >
> > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > >
> > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > >
> > > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > projects.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > like.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > use.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2559 From: Tom Kerekes Date: 12/2/2011
Subject: Re: Machine Manager III beta
Hi Brad,
 
Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
 
Regards
TK

Group: DynoMotion Message: 2561 From: tmday7 Date: 12/2/2011
Subject: Re: Machine Manager III beta
I like that idea ;)

Troy

--- Tom Kerekes wrote:
>
> Hi Brad,
>  
> Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
>  
> Regards
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, December 2, 2011 12:26 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Hooray!!!
>
> Thanks Tom!!
>
> Best news all day.
>
> Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
>
> "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
>
> I'm sure you get the point.
>
> I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hey Brad,
> >  
> > Works for me.  Here is what I did:
> >  
> > Downloaded and unzipped this:
> >  
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> >
> > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> >  
> > Added a Windows Path as C:\KMotion428x\Release
> >  
> > From Windows Cmd prompt verify PATH contains above
> >  
> > Downloaded this:
> >  
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> > Unzip then run setup (It made me uninstall a previous version first)
> >  
> > Connected KFLOP
> >  
> > Run Machine Manager MM3 from Start Menu
> >  
> > It comes up instantly
> >  
> > TK
> >  
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, December 2, 2011 11:24 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > Hello Tom,
> >
> > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> >
> > I have installed it on three different test boxes that have no dev tools and it is working.
> >
> > I'd kill to know what the hang up is.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> > >
> > > Tried the following and still get the error window.
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Ok, Lets try this again....
> > > >
> > > >
> > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > >
> > > > There were many incremental changes to the .net and .net interop files.
> > > >
> > > >
> > > >
> > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > >
> > > > You can try the new install::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > >
> > > >
> > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > >
> > > >
> > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > >
> > > > > Well I must have been zombie coding last night....
> > > > >
> > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > >
> > > > >
> > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hi Brad,
> > > > > >  
> > > > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > > > >  
> > > > > > Hang in there Brad :}
> > > > > >  
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >  
> > > > > > I think it is down to thread locking.
> > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > >
> > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Hello Tom,
> > > > > > >
> > > > > > > What a spectacular failure this has been thus far....
> > > > > > >
> > > > > > >
> > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > >
> > > > > > > Not sure what is going on.
> > > > > > >
> > > > > > >
> > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > >
> > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > >
> > > > > > >
> > > > > > > Any thoughts on what would make things hang?
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > > >
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi Brad,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Well crap,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Either way it is responsive once loaded.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I will take all the Board Count stuff out.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Well I just donÃÆ'¢â‚¬â„¢t buy itÃÆ'¢â‚¬Â¦.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > SmallPC
> > > > > > > >
> > > > > > > > 1.6ghz Atom processor
> > > > > > > >
> > > > > > > > 1 gig ram
> > > > > > > >
> > > > > > > > Crappy video card
> > > > > > > >
> > > > > > > > XP SP3
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'¢â‚¬Â¦..
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > HmmÃÆ'¢â‚¬Â¦..
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Brad,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > public void WriteLine(string command)
> > > > > > > >
> > > > > > > > {
> > > > > > > >
> > > > > > > > // tktk if (!Connected)
> > > > > > > >
> > > > > > > > // tktk {
> > > > > > > >
> > > > > > > > // tktk return;
> > > > > > > >
> > > > > > > > // tktk }
> > > > > > > >
> > > > > > > > try
> > > > > > > >
> > > > > > > > {
> > > > > > > >
> > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > >
> > > > > > > > }
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Regards
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > >
> > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > >
> > > > > > > > > Troy,
> > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > >
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > >
> > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think the application will run after that.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Brad,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > >
> > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > >
> > > > > > > > > > > > > Troy
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > projects.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > like.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > use.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2562 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
The source or the executable?

I would kind of like to keep the source separated and managed on the Source Forge Site.


As far as distributing the application, I have no problems with that.

-Brad Murry



--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Brad,
>  
> Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
>  
> Regards
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, December 2, 2011 12:26 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> Hooray!!!
>
> Thanks Tom!!
>
> Best news all day.
>
> Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
>
> "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
>
> I'm sure you get the point.
>
> I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hey Brad,
> >  
> > Works for me.  Here is what I did:
> >  
> > Downloaded and unzipped this:
> >  
> > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> >
> > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> >  
> > Added a Windows Path as C:\KMotion428x\Release
> >  
> > From Windows Cmd prompt verify PATH contains above
> >  
> > Downloaded this:
> >  
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> > Unzip then run setup (It made me uninstall a previous version first)
> >  
> > Connected KFLOP
> >  
> > Run Machine Manager MM3 from Start Menu
> >  
> > It comes up instantly
> >  
> > TK
> >  
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, December 2, 2011 11:24 AM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > Hello Tom,
> >
> > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> >
> > I have installed it on three different test boxes that have no dev tools and it is working.
> >
> > I'd kill to know what the hang up is.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> > >
> > > Tried the following and still get the error window.
> > >
> > > Troy
> > >
> > > --- "bradodarb" wrote:
> > > >
> > > > Ok, Lets try this again....
> > > >
> > > >
> > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > >
> > > > There were many incremental changes to the .net and .net interop files.
> > > >
> > > >
> > > >
> > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > >
> > > > You can try the new install::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > >
> > > >
> > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > >
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > >
> > > >
> > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > >
> > > > > Well I must have been zombie coding last night....
> > > > >
> > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > >
> > > > >
> > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hi Brad,
> > > > > >  
> > > > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > > > >  
> > > > > > Hang in there Brad :}
> > > > > >  
> > > > > > Regards
> > > > > > TK
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com
> > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > >  
> > > > > > I think it is down to thread locking.
> > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > >
> > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > >
> > > > > > >
> > > > > > > Hello Tom,
> > > > > > >
> > > > > > > What a spectacular failure this has been thus far....
> > > > > > >
> > > > > > >
> > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > >
> > > > > > > Not sure what is going on.
> > > > > > >
> > > > > > >
> > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > >
> > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > >
> > > > > > >
> > > > > > > Any thoughts on what would make things hang?
> > > > > > >
> > > > > > > -Brad
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > > >
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi Brad,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Well crap,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Either way it is responsive once loaded.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I will take all the Board Count stuff out.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Well I just donÃÆ'¢â‚¬â„¢t buy itÃÆ'¢â‚¬Â¦.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > SmallPC
> > > > > > > >
> > > > > > > > 1.6ghz Atom processor
> > > > > > > >
> > > > > > > > 1 gig ram
> > > > > > > >
> > > > > > > > Crappy video card
> > > > > > > >
> > > > > > > > XP SP3
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'¢â‚¬Â¦..
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > HmmÃÆ'¢â‚¬Â¦..
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Brad,
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > public void WriteLine(string command)
> > > > > > > >
> > > > > > > > {
> > > > > > > >
> > > > > > > > // tktk if (!Connected)
> > > > > > > >
> > > > > > > > // tktk {
> > > > > > > >
> > > > > > > > // tktk return;
> > > > > > > >
> > > > > > > > // tktk }
> > > > > > > >
> > > > > > > > try
> > > > > > > >
> > > > > > > > {
> > > > > > > >
> > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > >
> > > > > > > > }
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Regards
> > > > > > > >
> > > > > > > > TK
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > >
> > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > >
> > > > > > > > > Troy,
> > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > >
> > > > > > > > > Troy
> > > > > > > > >
> > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > >
> > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think the application will run after that.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Brad,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > >
> > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > >
> > > > > > > > > > > > > Troy
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > projects.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > like.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > use.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2564 From: Tom Kerekes Date: 12/2/2011
Subject: Re: Machine Manager III beta
Hi Brad,
 
Well I was thinking of both.  Would it really hurt to have a copy included?  You could still have the primary source there on source forge.  Because the problem is we have all these dependencies.  The MM depends on the Version of KMotion_dotNet which depends of the KMotion DLLs and the KFLOP firmware etc...  So if we want to debug we have the source right there that matches the executable and we know what the references were when it was compiled and everything is coherent.
 
Regards
TK

Group: DynoMotion Message: 2565 From: bradodarb Date: 12/2/2011
Subject: Re: Machine Manager III beta
Yes, the dependencies are a nuisance...

Recall that I originally included a subset of your .dlls so that MM would not require the Kmotion files to be installed on the system.

I think we both agreed that maintaining code in both places could lead to confusion, which is why KMotion_dotNet now ships with DynoMotion code. To keep MM code reasonably portable I still reference a separate KMotion_dotNet.dll in the xlib folder(as well as the associated files for richer debugging).

To debug with MM source, you only need to have Kmotion installed(or at least the directory structure it requires located somewhere) and then you just need to copy that one KMotion_dotNet.dll to MM's xlib folder.

Actually, you only even need to update KMotion_dotNet.dll if KMotion_dotNetInterop calls were added that you want to take advantage of or I add a feature, etc... What I mean that feature additions to MM in the next few months at least are likely to be more frequent than Kmotion so does it not make more sense to keep them separate?


For the sake of maintaining a reference to one file (KMotion_dotNet.dll) I do not see that much convenience gained.


Thank you,

Brad Murry

--- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@...> wrote:
>
> Hi Brad,
>  
> Well I was thinking of both.  Would it really hurt to have a copy included?  You could still have the primary source there on source forge.  Because the problem is we have all these dependencies.  The MM depends on the Version of KMotion_dotNet which depends of the KMotion DLLs and the KFLOP firmware etc...  So if we want to debug we have the source right there that matches the executable and we know what the references were when it was compiled and everything is coherent.
>  
> Regards
> TK
>
> From: bradodarb <bradodarb@...>
> To: DynoMotion@yahoogroups.com
> Sent: Friday, December 2, 2011 1:50 PM
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>  
> The source or the executable?
>
> I would kind of like to keep the source separated and managed on the Source Forge Site.
>
> As far as distributing the application, I have no problems with that.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> >
> > Hi Brad,
> >  
> > Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
> >  
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, December 2, 2011 12:26 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > Hooray!!!
> >
> > Thanks Tom!!
> >
> > Best news all day.
> >
> > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> >
> > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> >
> > I'm sure you get the point.
> >
> > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hey Brad,
> > >  
> > > Works for me.  Here is what I did:
> > >  
> > > Downloaded and unzipped this:
> > >  
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > >
> > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > >  
> > > Added a Windows Path as C:\KMotion428x\Release
> > >  
> > > From Windows Cmd prompt verify PATH contains above
> > >  
> > > Downloaded this:
> > >  
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > >
> > > Unzip then run setup (It made me uninstall a previous version first)
> > >  
> > > Connected KFLOP
> > >  
> > > Run Machine Manager MM3 from Start Menu
> > >  
> > > It comes up instantly
> > >  
> > > TK
> > >  
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, December 2, 2011 11:24 AM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > Hello Tom,
> > >
> > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > >
> > > I have installed it on three different test boxes that have no dev tools and it is working.
> > >
> > > I'd kill to know what the hang up is.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> > > >
> > > > Tried the following and still get the error window.
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Ok, Lets try this again....
> > > > >
> > > > >
> > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > >
> > > > > There were many incremental changes to the .net and .net interop files.
> > > > >
> > > > >
> > > > >
> > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > >
> > > > > You can try the new install::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > >
> > > > >
> > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > >
> > > > > > Well I must have been zombie coding last night....
> > > > > >
> > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > >
> > > > > >
> > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > > ÃÆ'‚ 
> > > > > > > Single calls like those don't need locking it is built in.ÃÆ'‚  But things with multiple lines of reponse need it.
> > > > > > > ÃÆ'‚ 
> > > > > > > Hang in there Brad :}
> > > > > > > ÃÆ'‚ 
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > > ÃÆ'‚ 
> > > > > > > I think it is down to thread locking.
> > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > >
> > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > >
> > > > > > > >
> > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > >
> > > > > > > > Not sure what is going on.
> > > > > > > >
> > > > > > > >
> > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > >
> > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > >
> > > > > > > >
> > > > > > > > Any thoughts on what would make things hang?
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > > > >
> > > > > > > > > Hello Tom,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Well crap,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Well I just donÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'¢â€žÂ¢t buy itÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > SmallPC
> > > > > > > > >
> > > > > > > > > 1.6ghz Atom processor
> > > > > > > > >
> > > > > > > > > 1 gig ram
> > > > > > > > >
> > > > > > > > > Crappy video card
> > > > > > > > >
> > > > > > > > > XP SP3
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > HmmÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > public void WriteLine(string command)
> > > > > > > > >
> > > > > > > > > {
> > > > > > > > >
> > > > > > > > > // tktk if (!Connected)
> > > > > > > > >
> > > > > > > > > // tktk {
> > > > > > > > >
> > > > > > > > > // tktk return;
> > > > > > > > >
> > > > > > > > > // tktk }
> > > > > > > > >
> > > > > > > > > try
> > > > > > > > >
> > > > > > > > > {
> > > > > > > > >
> > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > >
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Regards
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > >
> > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > >
> > > > > > > > > > Troy,
> > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > >
> > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'†'ÃÆ'Æ'‚ÃÆ'‚¢ÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡ÃÆ'Æ'‚ÃÆ'‚¬ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > >
> > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > Troy
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2566 From: carlcnc Date: 12/2/2011
Subject: Re: Machine Manager III beta
I'll SECOND that,
no reason to have us dummies make you guys lose any more hair!
\Carl

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> I like that idea ;)
>
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Brad,
> >  
> > Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
> >  
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, December 2, 2011 12:26 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > Hooray!!!
> >
> > Thanks Tom!!
> >
> > Best news all day.
> >
> > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> >
> > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> >
> > I'm sure you get the point.
> >
> > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hey Brad,
> > >  
> > > Works for me.  Here is what I did:
> > >  
> > > Downloaded and unzipped this:
> > >  
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > >
> > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > >  
> > > Added a Windows Path as C:\KMotion428x\Release
> > >  
> > > From Windows Cmd prompt verify PATH contains above
> > >  
> > > Downloaded this:
> > >  
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > >
> > > Unzip then run setup (It made me uninstall a previous version first)
> > >  
> > > Connected KFLOP
> > >  
> > > Run Machine Manager MM3 from Start Menu
> > >  
> > > It comes up instantly
> > >  
> > > TK
> > >  
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, December 2, 2011 11:24 AM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > Hello Tom,
> > >
> > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > >
> > > I have installed it on three different test boxes that have no dev tools and it is working.
> > >
> > > I'd kill to know what the hang up is.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> > > >
> > > > Tried the following and still get the error window.
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Ok, Lets try this again....
> > > > >
> > > > >
> > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > >
> > > > > There were many incremental changes to the .net and .net interop files.
> > > > >
> > > > >
> > > > >
> > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > >
> > > > > You can try the new install::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > >
> > > > >
> > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > >
> > > > > > Well I must have been zombie coding last night....
> > > > > >
> > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > >
> > > > > >
> > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > >  
> > > > > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > > > > >  
> > > > > > > Hang in there Brad :}
> > > > > > >  
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >  
> > > > > > > I think it is down to thread locking.
> > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > >
> > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > >
> > > > > > > >
> > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > >
> > > > > > > > Not sure what is going on.
> > > > > > > >
> > > > > > > >
> > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > >
> > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > >
> > > > > > > >
> > > > > > > > Any thoughts on what would make things hang?
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > > > >
> > > > > > > > > Hello Tom,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Well crap,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Well I just donÃÆ'¢â‚¬â„¢t buy itÃÆ'¢â‚¬Â¦.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > SmallPC
> > > > > > > > >
> > > > > > > > > 1.6ghz Atom processor
> > > > > > > > >
> > > > > > > > > 1 gig ram
> > > > > > > > >
> > > > > > > > > Crappy video card
> > > > > > > > >
> > > > > > > > > XP SP3
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'¢â‚¬Â¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > HmmÃÆ'¢â‚¬Â¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > public void WriteLine(string command)
> > > > > > > > >
> > > > > > > > > {
> > > > > > > > >
> > > > > > > > > // tktk if (!Connected)
> > > > > > > > >
> > > > > > > > > // tktk {
> > > > > > > > >
> > > > > > > > > // tktk return;
> > > > > > > > >
> > > > > > > > > // tktk }
> > > > > > > > >
> > > > > > > > > try
> > > > > > > > >
> > > > > > > > > {
> > > > > > > > >
> > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > >
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Regards
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > >
> > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > >
> > > > > > > > > > Troy,
> > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > >
> > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > >
> > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > Troy
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2567 From: Brad Murry Date: 12/2/2011
Subject: Re: Machine Manager III beta

I agree, having MM install automatically alongside KMotion sure would make things painless.

 

-Brad Murry

 

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
Sent: Friday, December 02, 2011 6:22 PM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

 

I'll SECOND that,
no reason to have us dummies make you guys lose any more hair!
\Carl

--- In DynoMotion@yahoogroups.com, "tmday7" <tmday@...> wrote:
>
> I like that idea ;)
>
> Troy
>
> --- Tom Kerekes wrote:
> >
> > Hi Brad,
> >  
> > Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
> >  
> > Regards
> > TK
> >
> > From: bradodarb <bradodarb@>
> > To: DynoMotion@yahoogroups.com
> > Sent: Friday, December 2, 2011 12:26 PM
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >  
> > Hooray!!!
> >
> > Thanks Tom!!
> >
> > Best news all day.
> >
> > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> >
> > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> >
> > I'm sure you get the point.
> >
> > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > >
> > > Hey Brad,
> > >  
> > > Works for me.  Here is what I did:
> > >  
> > > Downloaded and unzipped this:
> > >  
> > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > >
> > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > >  
> > > Added a Windows Path as C:\KMotion428x\Release
> > >  
> > > From Windows Cmd prompt verify PATH contains above
> > >  
> > > Downloaded this:
> > >  
> > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > >
> > > Unzip then run setup (It made me uninstall a previous version first)
> > >  
> > > Connected KFLOP
> > >  
> > > Run Machine Manager MM3 from Start Menu
> > >  
> > > It comes up instantly
> > >  
> > > TK
> > >  
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, December 2, 2011 11:24 AM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > Hello Tom,
> > >
> > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > >
> > > I have installed it on three different test boxes that have no dev tools and it is working.
> > >
> > > I'd kill to know what the hang up is.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> > > >
> > > > Tried the following and still get the error window.
> > > >
> > > > Troy
> > > >
> > > > --- "bradodarb" wrote:
> > > > >
> > > > > Ok, Lets try this again....
> > > > >
> > > > >
> > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > >
> > > > > There were many incremental changes to the .net and .net interop files.
> > > > >
> > > > >
> > > > >
> > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > >
> > > > > You can try the new install::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > >
> > > > >
> > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > >
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > >
> > > > >
> > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > >
> > > > > > Well I must have been zombie coding last night....
> > > > > >
> > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > >
> > > > > >
> > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > > >
> > > > > > > Hi Brad,
> > > > > > >  
> > > > > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > > > > >  
> > > > > > > Hang in there Brad :}
> > > > > > >  
> > > > > > > Regards
> > > > > > > TK
> > > > > > >
> > > > > > > From: bradodarb <bradodarb@>
> > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > >
> > > > > > >
> > > > > > >  
> > > > > > > I think it is down to thread locking.
> > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > >
> > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > > Hello Tom,
> > > > > > > >
> > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > >
> > > > > > > >
> > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > >
> > > > > > > > Not sure what is going on.
> > > > > > > >
> > > > > > > >
> > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > >
> > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > >
> > > > > > > >
> > > > > > > > Any thoughts on what would make things hang?
> > > > > > > >
> > > > > > > > -Brad
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > > > >
> > > > > > > > > Hello Tom,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Thanks
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Well crap,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Well I just donÃÆ'¢â‚¬â„¢t buy itÃÆ'¢â‚¬Â¦.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > SmallPC
> > > > > > > > >
> > > > > > > > > 1.6ghz Atom processor
> > > > > > > > >
> > > > > > > > > 1 gig ram
> > > > > > > > >
> > > > > > > > > Crappy video card
> > > > > > > > >
> > > > > > > > > XP SP3
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'¢â‚¬Â¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > HmmÃÆ'¢â‚¬Â¦..
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Brad,
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > public void WriteLine(string command)
> > > > > > > > >
> > > > > > > > > {
> > > > > > > > >
> > > > > > > > > // tktk if (!Connected)
> > > > > > > > >
> > > > > > > > > // tktk {
> > > > > > > > >
> > > > > > > > > // tktk return;
> > > > > > > > >
> > > > > > > > > // tktk }
> > > > > > > > >
> > > > > > > > > try
> > > > > > > > >
> > > > > > > > > {
> > > > > > > > >
> > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > >
> > > > > > > > > }
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Regards
> > > > > > > > >
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > >
> > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > >
> > > > > > > > > > Troy,
> > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > >
> > > > > > > > > > Troy
> > > > > > > > > >
> > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > >
> > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > >
> > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > Troy
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Group: DynoMotion Message: 2568 From: tmday7 Date: 12/2/2011
Subject: Re: Machine Manager III beta
lol. :) and i dont need to lose anymore also. ;)

Troy

--- "carlcnc" wrote:
>
> I'll SECOND that,
> no reason to have us dummies make you guys lose any more hair!
> \Carl
>
> --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> >
> > I like that idea ;)
> >
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Brad,
> > >  
> > > Absolutely.  Actually I was thinking to include MM right in the install that way they can just install one thing and run.  What do you think?
> > >  
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com
> > > Sent: Friday, December 2, 2011 12:26 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >  
> > > Hooray!!!
> > >
> > > Thanks Tom!!
> > >
> > > Best news all day.
> > >
> > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > >
> > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > >
> > > I'm sure you get the point.
> > >
> > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > >
> > > > Hey Brad,
> > > >  
> > > > Works for me.  Here is what I did:
> > > >  
> > > > Downloaded and unzipped this:
> > > >  
> > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > >
> > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > >  
> > > > Added a Windows Path as C:\KMotion428x\Release
> > > >  
> > > > From Windows Cmd prompt verify PATH contains above
> > > >  
> > > > Downloaded this:
> > > >  
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > >
> > > > Unzip then run setup (It made me uninstall a previous version first)
> > > >  
> > > > Connected KFLOP
> > > >  
> > > > Run Machine Manager MM3 from Start Menu
> > > >  
> > > > It comes up instantly
> > > >  
> > > > TK
> > > >  
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com
> > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > >  
> > > > Hello Tom,
> > > >
> > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > >
> > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > >
> > > > I'd kill to know what the hang up is.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com, "tmday7" <tmday@> wrote:
> > > > >
> > > > > Tried the following and still get the error window.
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Ok, Lets try this again....
> > > > > >
> > > > > >
> > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > >
> > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > >
> > > > > > You can try the new install::
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > >
> > > > > >
> > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > >
> > > > > > > Well I must have been zombie coding last night....
> > > > > > >
> > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > >
> > > > > > >
> > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com, Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Hi Brad,
> > > > > > > >  
> > > > > > > > Single calls like those don't need locking it is built in.  But things with multiple lines of reponse need it.
> > > > > > > >  
> > > > > > > > Hang in there Brad :}
> > > > > > > >  
> > > > > > > > Regards
> > > > > > > > TK
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > >  
> > > > > > > > I think it is down to thread locking.
> > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > >
> > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hello Tom,
> > > > > > > > >
> > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > >
> > > > > > > > > Not sure what is going on.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > >
> > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > > > > > > > > >
> > > > > > > > > > Hello Tom,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi Brad,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Well crap,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Brad Murry
> > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Well I just donÃÆ'¢â‚¬â„¢t buy itÃÆ'¢â‚¬Â¦.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > SmallPC
> > > > > > > > > >
> > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > >
> > > > > > > > > > 1 gig ram
> > > > > > > > > >
> > > > > > > > > > Crappy video card
> > > > > > > > > >
> > > > > > > > > > XP SP3
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'¢â‚¬Â¦..
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > HmmÃÆ'¢â‚¬Â¦..
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of Tom Kerekes
> > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Brad,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > >
> > > > > > > > > > {
> > > > > > > > > >
> > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > >
> > > > > > > > > > // tktk {
> > > > > > > > > >
> > > > > > > > > > // tktk return;
> > > > > > > > > >
> > > > > > > > > > // tktk }
> > > > > > > > > >
> > > > > > > > > > try
> > > > > > > > > >
> > > > > > > > > > {
> > > > > > > > > >
> > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > >
> > > > > > > > > > }
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Regards
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com
> > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > >
> > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Troy,
> > > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ÃÆ'Æ'‚
> > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > >
> > > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â‚¬Å¡ÃÆ'‚¬ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Brad,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > >
> > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > Troy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2575 From: bradodarb Date: 12/3/2011
Subject: Re: Machine Manager III beta
New install for MM3 available here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download

Some threading performance enhancements were added.

-Brad Murry

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> I agree, having MM install automatically alongside KMotion sure would make things painless.
>
>
>
> -Brad Murry
>
>
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> Sent: Friday, December 02, 2011 6:22 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
>
>
>
>
> I'll SECOND that,
> no reason to have us dummies make you guys lose any more hair!
> \Carl
>
> --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> >
> > I like that idea ;)
> >
> > Troy
> >
> > --- Tom Kerekes wrote:
> > >
> > > Hi Brad,
> > > Â
> > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > Â
> > > Regards
> > > TK
> > >
> > > From: bradodarb <bradodarb@>
> > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > Sent: Friday, December 2, 2011 12:26 PM
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > > Â
> > > Hooray!!!
> > >
> > > Thanks Tom!!
> > >
> > > Best news all day.
> > >
> > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > >
> > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > >
> > > I'm sure you get the point.
> > >
> > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > >
> > > -Brad Murry
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > >
> > > > Hey Brad,
> > > > ÂÂ
> > > > Works for me. Here is what I did:
> > > > ÂÂ
> > > > Downloaded and unzipped this:
> > > > ÂÂ
> > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > >
> > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > ÂÂ
> > > > Added a Windows Path as C:\KMotion428x\Release
> > > > ÂÂ
> > > > From Windows Cmd prompt verify PATH contains above
> > > > ÂÂ
> > > > Downloaded this:
> > > > ÂÂ
> > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > >
> > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > ÂÂ
> > > > Connected KFLOP
> > > > ÂÂ
> > > > Run Machine Manager MM3 from Start Menu
> > > > ÂÂ
> > > > It comes up instantly
> > > > ÂÂ
> > > > TK
> > > > ÂÂ
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > > ÂÂ
> > > > Hello Tom,
> > > >
> > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > >
> > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > >
> > > > I'd kill to know what the hang up is.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > >
> > > > > Tried the following and still get the error window.
> > > > >
> > > > > Troy
> > > > >
> > > > > --- "bradodarb" wrote:
> > > > > >
> > > > > > Ok, Lets try this again....
> > > > > >
> > > > > >
> > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > >
> > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > >
> > > > > >
> > > > > >
> > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > >
> > > > > > You can try the new install::
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > >
> > > > > >
> > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > >
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > >
> > > > > >
> > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > >
> > > > > > > Well I must have been zombie coding last night....
> > > > > > >
> > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > >
> > > > > > >
> > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > >
> > > > > > > > Hi Brad,
> > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > Single calls like those don't need locking it is built in.ÃÆ'‚ÂÂ But things with multiple lines of reponse need it.
> > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > Hang in there Brad :}
> > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > Regards
> > > > > > > > TK
> > > > > > > >
> > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > >
> > > > > > > >
> > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > I think it is down to thread locking.
> > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > >
> > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hello Tom,
> > > > > > > > >
> > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > >
> > > > > > > > > Not sure what is going on.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > >
> > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > >
> > > > > > > > > -Brad
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > >
> > > > > > > > > > Hello Tom,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi Brad,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Thanks
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Well crap,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Well I just donÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'¢â€žÂ¢t buy itÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > SmallPC
> > > > > > > > > >
> > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > >
> > > > > > > > > > 1 gig ram
> > > > > > > > > >
> > > > > > > > > > Crappy video card
> > > > > > > > > >
> > > > > > > > > > XP SP3
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > HmmÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Brad,
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > >
> > > > > > > > > > {
> > > > > > > > > >
> > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > >
> > > > > > > > > > // tktk {
> > > > > > > > > >
> > > > > > > > > > // tktk return;
> > > > > > > > > >
> > > > > > > > > > // tktk }
> > > > > > > > > >
> > > > > > > > > > try
> > > > > > > > > >
> > > > > > > > > > {
> > > > > > > > > >
> > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > >
> > > > > > > > > > }
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Regards
> > > > > > > > > >
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > >
> > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Troy,
> > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > >
> > > > > > > > > > > Troy
> > > > > > > > > > >
> > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'†'ÃÆ'Æ'‚ÃÆ'‚¢ÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡ÃÆ'Æ'‚ÃÆ'‚¬ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Brad,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > >
> > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > Troy
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2576 From: bradodarb Date: 12/3/2011
Subject: Re: Machine Manager III beta
MM Source available here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> New install for MM3 available here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
> Some threading performance enhancements were added.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > I agree, having MM install automatically alongside KMotion sure would make things painless.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> > Sent: Friday, December 02, 2011 6:22 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > I'll SECOND that,
> > no reason to have us dummies make you guys lose any more hair!
> > \Carl
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > I like that idea ;)
> > >
> > > Troy
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Brad,
> > > > Â
> > > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > > Â
> > > > Regards
> > > > TK
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Friday, December 2, 2011 12:26 PM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > > Â
> > > > Hooray!!!
> > > >
> > > > Thanks Tom!!
> > > >
> > > > Best news all day.
> > > >
> > > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > > >
> > > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > > >
> > > > I'm sure you get the point.
> > > >
> > > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hey Brad,
> > > > > ÂÂ
> > > > > Works for me. Here is what I did:
> > > > > ÂÂ
> > > > > Downloaded and unzipped this:
> > > > > ÂÂ
> > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > >
> > > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > > ÂÂ
> > > > > Added a Windows Path as C:\KMotion428x\Release
> > > > > ÂÂ
> > > > > From Windows Cmd prompt verify PATH contains above
> > > > > ÂÂ
> > > > > Downloaded this:
> > > > > ÂÂ
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > >
> > > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > > ÂÂ
> > > > > Connected KFLOP
> > > > > ÂÂ
> > > > > Run Machine Manager MM3 from Start Menu
> > > > > ÂÂ
> > > > > It comes up instantly
> > > > > ÂÂ
> > > > > TK
> > > > > ÂÂ
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > > ÂÂ
> > > > > Hello Tom,
> > > > >
> > > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > > >
> > > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > > >
> > > > > I'd kill to know what the hang up is.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > >
> > > > > > Tried the following and still get the error window.
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- "bradodarb" wrote:
> > > > > > >
> > > > > > > Ok, Lets try this again....
> > > > > > >
> > > > > > >
> > > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > >
> > > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > > >
> > > > > > > You can try the new install::
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > >
> > > > > > >
> > > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > > >
> > > > > > >
> > > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > >
> > > > > > > > Well I must have been zombie coding last night....
> > > > > > > >
> > > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > > >
> > > > > > > >
> > > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > >
> > > > > > > > > Hi Brad,
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > Single calls like those don't need locking it is built in.ÃÆ'‚ÂÂ But things with multiple lines of reponse need it.
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > Hang in there Brad :}
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > Regards
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > I think it is down to thread locking.
> > > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > > >
> > > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hello Tom,
> > > > > > > > > >
> > > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > > >
> > > > > > > > > > Not sure what is going on.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > > >
> > > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > > >
> > > > > > > > > > -Brad
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hello Tom,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Thanks
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Well crap,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Well I just donÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'¢â€žÂ¢t buy itÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > SmallPC
> > > > > > > > > > >
> > > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > > >
> > > > > > > > > > > 1 gig ram
> > > > > > > > > > >
> > > > > > > > > > > Crappy video card
> > > > > > > > > > >
> > > > > > > > > > > XP SP3
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > HmmÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > > >
> > > > > > > > > > > {
> > > > > > > > > > >
> > > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > > >
> > > > > > > > > > > // tktk {
> > > > > > > > > > >
> > > > > > > > > > > // tktk return;
> > > > > > > > > > >
> > > > > > > > > > > // tktk }
> > > > > > > > > > >
> > > > > > > > > > > try
> > > > > > > > > > >
> > > > > > > > > > > {
> > > > > > > > > > >
> > > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > > >
> > > > > > > > > > > }
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Regards
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > > >
> > > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Troy,
> > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > > >
> > > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'†'ÃÆ'Æ'‚ÃÆ'‚¢ÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡ÃÆ'Æ'‚ÃÆ'‚¬ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Brad,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > TK
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>
Group: DynoMotion Message: 2581 From: brad murry Date: 12/3/2011
Subject: Re: Machine Manager III beta
Hello Tom,


Is there anything you want me to do with the build, or do you think it is ok to deploy as it stands?

-Brad Murry

From: bradodarb
Sent: 12/3/2011 9:24 AM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Re: Machine Manager III beta

 

MM Source available here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download

-Brad Murry

--- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@...> wrote:
>
> New install for MM3 available here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
>
> Some threading performance enhancements were added.
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > I agree, having MM install automatically alongside KMotion sure would make things painless.
> >
> >
> >
> > -Brad Murry
> >
> >
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> > Sent: Friday, December 02, 2011 6:22 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Re: Machine Manager III beta
> >
> >
> >
> >
> >
> > I'll SECOND that,
> > no reason to have us dummies make you guys lose any more hair!
> > \Carl
> >
> > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > >
> > > I like that idea ;)
> > >
> > > Troy
> > >
> > > --- Tom Kerekes wrote:
> > > >
> > > > Hi Brad,
> > > > Â
> > > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > > Â
> > > > Regards
> > > > TK
> > > >
> > > > From: bradodarb <bradodarb@>
> > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > Sent: Friday, December 2, 2011 12:26 PM
> > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > >
> > > >
> > > > Â
> > > > Hooray!!!
> > > >
> > > > Thanks Tom!!
> > > >
> > > > Best news all day.
> > > >
> > > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > > >
> > > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > > >
> > > > I'm sure you get the point.
> > > >
> > > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > > >
> > > > -Brad Murry
> > > >
> > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > >
> > > > > Hey Brad,
> > > > > ÂÂ
> > > > > Works for me. Here is what I did:
> > > > > ÂÂ
> > > > > Downloaded and unzipped this:
> > > > > ÂÂ
> > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > >
> > > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > > ÂÂ
> > > > > Added a Windows Path as C:\KMotion428x\Release
> > > > > ÂÂ
> > > > > From Windows Cmd prompt verify PATH contains above
> > > > > ÂÂ
> > > > > Downloaded this:
> > > > > ÂÂ
> > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > >
> > > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > > ÂÂ
> > > > > Connected KFLOP
> > > > > ÂÂ
> > > > > Run Machine Manager MM3 from Start Menu
> > > > > ÂÂ
> > > > > It comes up instantly
> > > > > ÂÂ
> > > > > TK
> > > > > ÂÂ
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > > ÂÂ
> > > > > Hello Tom,
> > > > >
> > > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > > >
> > > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > > >
> > > > > I'd kill to know what the hang up is.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > >
> > > > > > Tried the following and still get the error window.
> > > > > >
> > > > > > Troy
> > > > > >
> > > > > > --- "bradodarb" wrote:
> > > > > > >
> > > > > > > Ok, Lets try this again....
> > > > > > >
> > > > > > >
> > > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > >
> > > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > > >
> > > > > > > You can try the new install::
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > >
> > > > > > >
> > > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > > >
> > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > > >
> > > > > > >
> > > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > > >
> > > > > > > -Brad Murry
> > > > > > >
> > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > >
> > > > > > > > Well I must have been zombie coding last night....
> > > > > > > >
> > > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > > >
> > > > > > > >
> > > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > >
> > > > > > > > > Hi Brad,
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > Single calls like those don't need locking it is built in.ÃÆ'‚ÂÂ But things with multiple lines of reponse need it.
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > Hang in there Brad :}
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > Regards
> > > > > > > > > TK
> > > > > > > > >
> > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ÃÆ'‚ÂÂ
> > > > > > > > > I think it is down to thread locking.
> > > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > > >
> > > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hello Tom,
> > > > > > > > > >
> > > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > > >
> > > > > > > > > > Not sure what is going on.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > > >
> > > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > > >
> > > > > > > > > > -Brad
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > > >
> > > > > > > > > > > Hello Tom,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Thanks
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Well crap,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Well I just donÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'¢â€žÂ¢t buy itÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > SmallPC
> > > > > > > > > > >
> > > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > > >
> > > > > > > > > > > 1 gig ram
> > > > > > > > > > >
> > > > > > > > > > > Crappy video card
> > > > > > > > > > >
> > > > > > > > > > > XP SP3
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > HmmÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'‚¦..
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Brad,
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > > >
> > > > > > > > > > > {
> > > > > > > > > > >
> > > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > > >
> > > > > > > > > > > // tktk {
> > > > > > > > > > >
> > > > > > > > > > > // tktk return;
> > > > > > > > > > >
> > > > > > > > > > > // tktk }
> > > > > > > > > > >
> > > > > > > > > > > try
> > > > > > > > > > >
> > > > > > > > > > > {
> > > > > > > > > > >
> > > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > > >
> > > > > > > > > > > }
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Regards
> > > > > > > > > > >
> > > > > > > > > > > TK
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > > >
> > > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > > >
> > > > > > > > > > > -Brad Murry
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Troy,
> > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡
> > > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > > >
> > > > > > > > > > > > Troy
> > > > > > > > > > > >
> > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃÆ'Æ'Æ'ÃÆ'†'ÃÆ'Æ'‚ÃÆ'‚¢ÃÆ'Æ'Æ'ÃÆ'‚¢ÃÆ'Æ'¢ÃÆ'¢â€šÂ¬ÃÆ'…¡ÃÆ'Æ'‚ÃÆ'‚¬ÃÆ'Æ'Æ'ÃÆ'¢â‚¬Å¡ÃÆ'Æ'‚ÃÆ'‚¦..
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Brad,
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > TK
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > > >
> > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>

Group: DynoMotion Message: 2585 From: bradodarb Date: 12/3/2011
Subject: Re: Machine Manager III beta
OK, here we go..

KMotion_dotNet updated for KMotionCNC style WaitToken()/ReleasToken() management.

Download here::

http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/KMotion_dotNet.zip/download

___________________________________


MM ToolPath Disaplay bug fixed.

MM Install available here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download


MM Source available here::

http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download



-Brad Murry


--- In DynoMotion@yahoogroups.com, brad murry <bradodarb@...> wrote:
>
> Hello Tom,
>
>
> Is there anything you want me to do with the build, or do you think it is ok to deploy as it stands?
>
> -Brad Murry
> ________________________________
> From: bradodarb
> Sent: 12/3/2011 9:24 AM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Re: Machine Manager III beta
>
> MM Source available here::
>
> http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
>
> -Brad Murry
>
> --- In DynoMotion@yahoogroups.com, "bradodarb" <bradodarb@> wrote:
> >
> > New install for MM3 available here::
> >
> > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> >
> > Some threading performance enhancements were added.
> >
> > -Brad Murry
> >
> > --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> > >
> > > I agree, having MM install automatically alongside KMotion sure would make things painless.
> > >
> > >
> > >
> > > -Brad Murry
> > >
> > >
> > >
> > > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of carlcnc
> > > Sent: Friday, December 02, 2011 6:22 PM
> > > To: DynoMotion@yahoogroups.com
> > > Subject: [DynoMotion] Re: Machine Manager III beta
> > >
> > >
> > >
> > >
> > >
> > > I'll SECOND that,
> > > no reason to have us dummies make you guys lose any more hair!
> > > \Carl
> > >
> > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > >
> > > > I like that idea ;)
> > > >
> > > > Troy
> > > >
> > > > --- Tom Kerekes wrote:
> > > > >
> > > > > Hi Brad,
> > > > > Â
> > > > > Absolutely. Actually I was thinking to include MM right in the install that way they can just install one thing and run. What do you think?
> > > > > Â
> > > > > Regards
> > > > > TK
> > > > >
> > > > > From: bradodarb <bradodarb@>
> > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > Sent: Friday, December 2, 2011 12:26 PM
> > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > >
> > > > >
> > > > > Â
> > > > > Hooray!!!
> > > > >
> > > > > Thanks Tom!!
> > > > >
> > > > > Best news all day.
> > > > >
> > > > > Any chance on expediting a 4.28xx build so I can write install instructions over on CNCZone? It might come off as a little 'iffy' if I say:
> > > > >
> > > > > "Well first download the experimental version of KMotion, and then download this pile of files from me and dump them on top...."
> > > > >
> > > > > I'm sure you get the point.
> > > > >
> > > > > I sure do ask for a lot; hope .net and MM moves some kflops to make up for my pestering.
> > > > >
> > > > > -Brad Murry
> > > > >
> > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > >
> > > > > > Hey Brad,
> > > > > > ÂÂ
> > > > > > Works for me. Here is what I did:
> > > > > > ÂÂ
> > > > > > Downloaded and unzipped this:
> > > > > > ÂÂ
> > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > >
> > > > > > Moved/renamed the BuildAllLibs Directory as C:\KMotion428x
> > > > > > ÂÂ
> > > > > > Added a Windows Path as C:\KMotion428x\Release
> > > > > > ÂÂ
> > > > > > From Windows Cmd prompt verify PATH contains above
> > > > > > ÂÂ
> > > > > > Downloaded this:
> > > > > > ÂÂ
> > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > >
> > > > > > Unzip then run setup (It made me uninstall a previous version first)
> > > > > > ÂÂ
> > > > > > Connected KFLOP
> > > > > > ÂÂ
> > > > > > Run Machine Manager MM3 from Start Menu
> > > > > > ÂÂ
> > > > > > It comes up instantly
> > > > > > ÂÂ
> > > > > > TK
> > > > > > ÂÂ
> > > > > >
> > > > > > From: bradodarb <bradodarb@>
> > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > Sent: Friday, December 2, 2011 11:24 AM
> > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > >
> > > > > >
> > > > > > ÂÂ
> > > > > > Hello Tom,
> > > > > >
> > > > > > I know you have better stuff to do than test software, but since you had similar issues would you mind giving it a shot and see if you encounter the same lag you had yesterday?
> > > > > >
> > > > > > I have installed it on three different test boxes that have no dev tools and it is working.
> > > > > >
> > > > > > I'd kill to know what the hang up is.
> > > > > >
> > > > > > -Brad Murry
> > > > > >
> > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > >
> > > > > > > Tried the following and still get the error window.
> > > > > > >
> > > > > > > Troy
> > > > > > >
> > > > > > > --- "bradodarb" wrote:
> > > > > > > >
> > > > > > > > Ok, Lets try this again....
> > > > > > > >
> > > > > > > >
> > > > > > > > First, I uploaded my entire Kmotion4.28 directory here::
> > > > > > > >
> > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/BuildAllLibs.zip/download
> > > > > > > >
> > > > > > > > There were many incremental changes to the .net and .net interop files.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Once you have the files in place(Maybe Tom can make a 4.28xx install)
> > > > > > > >
> > > > > > > > You can try the new install::
> > > > > > > >
> > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machine%20Manager%20III.zip/download
> > > > > > > >
> > > > > > > >
> > > > > > > > And if that does not work, or you just want to see what's going on behind the scenes you can download the full source here::
> > > > > > > >
> > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Source/CNCTW.zip/download
> > > > > > > >
> > > > > > > >
> > > > > > > > (fingers crossed), and thans everybody for helping to get this thing going. Hopefully it will be worth the effort.
> > > > > > > >
> > > > > > > > -Brad Murry
> > > > > > > >
> > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > >
> > > > > > > > > Well I must have been zombie coding last night....
> > > > > > > > >
> > > > > > > > > When I removed the BoardCount logic from the Connected Property, I replaced it with a WaitToken(args..) as you suggested. The problem was I did not call ReleaseToken() after that call.....
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > So it working again on my systems and is quite performant, but I still do not have a concrete resolution as to why it will not even start on some people's machines.
> > > > > > > > >
> > > > > > > > > -Brad Murry
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > >
> > > > > > > > > > Hi Brad,
> > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > Single calls like those don't need locking it is built in.�'‚ But things with multiple lines of reponse need it.
> > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > Hang in there Brad :}
> > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > Regards
> > > > > > > > > > TK
> > > > > > > > > >
> > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > Sent: Thursday, December 1, 2011 10:24 PM
> > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Ã�'‚ÂÂ
> > > > > > > > > > I think it is down to thread locking.
> > > > > > > > > > When firing off a script command or using WriteLine/WriteLineReadLine, shoud I be calling WaitToken and then ReleaseToken()?
> > > > > > > > > >
> > > > > > > > > > I will add some thread locking on my app side to prevent these race conditions, but I'm not sure if I need to lock things as above.
> > > > > > > > > >
> > > > > > > > > > -Brad Murry
> > > > > > > > > >
> > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , "bradodarb" <bradodarb@> wrote:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hello Tom,
> > > > > > > > > > >
> > > > > > > > > > > What a spectacular failure this has been thus far....
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Now I am getting hangs on various commands. Sometimes EnableAxis<x>, sometimes Dest<x>....
> > > > > > > > > > >
> > > > > > > > > > > Not sure what is going on.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > I have debugged for weeks without issue and now no dice.
> > > > > > > > > > >
> > > > > > > > > > > I even debugged it to a know point where it will hang and then called the same command in KMotion.exe and it hung there too.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Any thoughts on what would make things hang?
> > > > > > > > > > >
> > > > > > > > > > > -Brad
> > > > > > > > > > >
> > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> , Brad Murry <bradodarb@> wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > Hello Tom,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I moved the reference of the KMotion_dotNet.dll to the xlib folder as a convenience to not need to re - reference it for each new DynoMotion release. The path variable makes everything play nice there.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I never finalized the release configuration, until about 10 minutes ago. If you select the release config and then go to configuration and click everything except MM3 to build and also set every project that references KMotion to x86(since it is a win32).
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 6:22 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi Brad,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > BTW in the zip file there are numerous copies of many different build dates of most every DLL including copies of KMotion_dotNet.dll which I think should not even be in there at all as it should be using the one in KMotion428x. Also when I was trying to debug VS would keep finding incorrect source code. I finally deleted many of the dlls and then it wouldn't compile until I re-directed the references to the KMotion_dotNet.dll in KMotion428x then I was able to step through code properly.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I still can't get MM Release mode to run. It still given me that null Key exception in
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Could not load file or assembly 'ViewModel.Root, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks
> > > > > > > > > > > >
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: Brad Murry <bradodarb@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 4:41 PM
> > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Well crap,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Less than 2 seconds when not connected, 7-9 seconds to start if connected.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Either way it is responsive once loaded.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I will take all the Board Count stuff out.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 5:34 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Well I just donÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'¢â€žÂ¢t buy itÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'‚¦.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I just installed MM on a brand new Industrial PC(limited resources)
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > SmallPC
> > > > > > > > > > > >
> > > > > > > > > > > > 1.6ghz Atom processor
> > > > > > > > > > > >
> > > > > > > > > > > > 1 gig ram
> > > > > > > > > > > >
> > > > > > > > > > > > Crappy video card
> > > > > > > > > > > >
> > > > > > > > > > > > XP SP3
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Rather than install KMotion, I just copied my entire KMotion4.28x folder from my dev machine over.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > The first time it started it took about 4 seconds to come up(.net lazy loading) subsequent app starts are less than 2 seconds.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Jogging, interpreter and IO calls are instantaneousÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'‚¦..
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Not sure what the French toast is going on here, maybe I changed some other stuff in BuildAllLibs and forgot about it?
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > HmmÃ�'Æ'¢Ã�'¢â€šÂ¬Ã�'‚¦..
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Anyone care to try it with my Kmotion install dir contents?
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > Sent: Thursday, December 01, 2011 4:59 PM
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Brad,
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > I think it is that checking for a connection stuff you just added. I single stepped it through and I don't understand your logic but it keeps looping back asking the driver for the list of connected boards a few times every WriteLine to the board. I commented it out in a few places and now it is dramatically faster.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > int C:\KMotion428x\KMotion_dotNet\DM Controller\KM_Controller.cs
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > public void WriteLine(string command)
> > > > > > > > > > > >
> > > > > > > > > > > > {
> > > > > > > > > > > >
> > > > > > > > > > > > // tktk if (!Connected)
> > > > > > > > > > > >
> > > > > > > > > > > > // tktk {
> > > > > > > > > > > >
> > > > > > > > > > > > // tktk return;
> > > > > > > > > > > >
> > > > > > > > > > > > // tktk }
> > > > > > > > > > > >
> > > > > > > > > > > > try
> > > > > > > > > > > >
> > > > > > > > > > > > {
> > > > > > > > > > > >
> > > > > > > > > > > > KM_dotnet_Interop_WriteLine(_InstanceHandle, _BoardNumber, command);
> > > > > > > > > > > >
> > > > > > > > > > > > }
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Here are the 3 DLLs with some of the Connection stuff commented out that runs reasonably fast. I suspect a board must be connected though or you will get continuous errors.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > http://www.dynomotion.com/Software/Patch/MMPatchFast.zip
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Regards
> > > > > > > > > > > >
> > > > > > > > > > > > TK
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > Sent: Thursday, December 1, 2011 3:03 PM
> > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > That is insane, it takes seconds on my rig(not that does anyone any good).
> > > > > > > > > > > >
> > > > > > > > > > > > When you debug it and it is taking that long, are you able to see a particular part of the code it is hanging on?
> > > > > > > > > > > >
> > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > >
> > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , Tom Kerekes <tk@> wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > Troy,
> > > > > > > > > > > > > Ã�'Æ'Æ'Ã�'¢â‚¬Å¡
> > > > > > > > > > > > > Forgot to mention it takes 2-3 minutes to come up for some reason.
> > > > > > > > > > > > > Ã�'Æ'Æ'Ã�'¢â‚¬Å¡
> > > > > > > > > > > > > TK
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: tmday7 <tmday@>
> > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > Sent: Thursday, December 1, 2011 2:12 PM
> > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Ã�'Æ'Æ'Ã�'¢â‚¬Å¡
> > > > > > > > > > > > > Copied all files to Kmotion\Release folder, but same error window.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Troy
> > > > > > > > > > > > >
> > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Troy, you may want to try copying these
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/DynoMotion%20c%23/Patch%20DLLs/KMotion_dotNet%20Patch.zip/download
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > files into your c:\Kmotion4.28x\Kmotion\Release folder.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I think the application will run after that.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Brad Murry
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:28 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: RE: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > You are correct, I noticed that. It is poling for axis positions and throwing the connection error each timeÃ�'Æ'Æ'Ã�'†'Ã�'Æ'‚Ã�'‚¢Ã�'Æ'Æ'Ã�'‚¢Ã�'Æ'¢Ã�'¢â€šÂ¬Ã�'…¡Ã�'Æ'‚Ã�'‚¬Ã�'Æ'Æ'Ã�'¢â‚¬Å¡Ã�'Æ'‚Ã�'‚¦..
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On Behalf Of Tom Kerekes
> > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 1:19 PM
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Subject: Re: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Brad,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Also KFLOP needs to be connected or I get constant connect errors.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > TK
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: bradodarb <bradodarb@>
> > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > Sent: Thursday, December 1, 2011 11:46 AM
> > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > It does not need to be connected. There seems to be an issue that I think Ray and maybe Tom can debug to see whats going on.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I cannot reproduce the issue on my end, whether on my test rig or my dev machine >:(
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > --- In DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> , "tmday7" <tmday@> wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Ok got 4.28x (thanks Tom). I downloaded patch. Then placed all 3 folders into the Kmotion 4.28x folder, then reinstalled MM3, but still get same error window. Does KFLOP board need to be hooked up to PC in order to install MM3 correctly?
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > --- Brad Murry wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hello Troy,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > You executed it just fine. MM is build off the very latest .net Interop
> > > > > > > > > > > > > > > > > files. Make sure you have Kmotion4.28x installed, and that you downloaded
> > > > > > > > > > > > > > > > > the patch from this post::
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > http://tech.groups.yahoo.com/group/DynoMotion/message/2487
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Let me know if that does not get things running.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > From: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> [mailto:DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> ] On
> > > > > > > > > > > > > > > > > Behalf Of tmday7
> > > > > > > > > > > > > > > > > Sent: Thursday, December 01, 2011 8:25 AM
> > > > > > > > > > > > > > > > > To: DynoMotion@yahoogroups.com <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com> <mailto:DynoMotion%40yahoogroups.com>
> > > > > > > > > > > > > > > > > Subject: [DynoMotion] Re: Machine Manager III beta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > How is this executed? It seemed to install fine, but when i start MM3 by the
> > > > > > > > > > > > > > > > > desktop shortcut i get a "Machine Manager Detected an Error" window stating
> > > > > > > > > > > > > > > > > "Exception of type 'Kmotion_dotNet.DMException' was thrown."
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Troy
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > --- "bradodarb" wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Machine Manager III is available as an install package for beta testing
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > You can download it here::
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > http://sourceforge.net/projects/cnctw/files/Machine%20Manager/Install/Machin
> > > > > > > > > > > > > > > > > e%20Manager%20III.zip/download
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Use as a CNC gui, or create custom GUI's for your custom automation
> > > > > > > > > > > > > > > > > projects.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Many controls are available and all can be docked in any configuration you
> > > > > > > > > > > > > > > > > like.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > You can setup IO led panels for inputs and outputs, create user settings
> > > > > > > > > > > > > > > > > (global variables) that can be accessed from live python scripts. You can
> > > > > > > > > > > > > > > > > also create custom 'Command Buttons' that will fire off a script.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Documentation is lacking(for the moment), but expect top notch help for
> > > > > > > > > > > > > > > > > anyone brave enough to test this application and get it ready for production
> > > > > > > > > > > > > > > > > use.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Let me know who is interested in using this poweful GUI to control your
> > > > > > > > > > > > > > > > > Kflop as an alternative to Mach / KMotionCNC
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > -Brad Murry
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > >
> > >
> >
>