Hello Ray, I was able to run your program in the KMotion_dot_NET Console app with no issues, even got the LED blinking. I was wondering if you were running it...
Brad, Yes, I sent you exactly what I was trying to run, and my c# code specifies a full path to the Init.c. I could understand there being some kind of path...
Brad, There does seem to be a serious problem with error handling here. If I pass a bogus path to CompileAndLoadCoff, it throws an "Attempted to read or write...
Hello Ray, Yes it is unfortunate that error handling is not as robust in interop situations as it is in pure .Net single Appdomain. I would like to see if...
Hello Ray, The source for the .net DLL is included with every DynoMotion install, just open the BuilAllLibs solution and you will see it. I often add a...
Brad, Yes, I did re-flash with 428 - had to. It IS doing the compile - I moved the source code, ran my program, and it put a new COFF in the new location....
Hello Ray, As it is working perfect on my end, the only thing I am able to suggest at this point is open up BuildAllLibs from your KMotion install folder, add...
Hi Ray, After the compile load a separate Execute command is required. Are you doing this? TK ... Hi Ray, After the compile load a separate Execute command is...
Brad, OK, I missed that, which gets me going with a pre-compiled binary. But the CompileAndLoadCoff is still not working, unless I set the bypasserror...
Thanks for pointing that out Tom, I had not thought of suggesting it. Ray - I wonder if I am not handling the string interop correctly. I started doing it one...
Brad, Having no luck at all here.... I un-installed and re-installed KMotion428, then opened "BuildAllLibs.sln" in VC2008. I added a new C# Windows Form...
Sounds like we are back to needing to set the output and working paths. -Brad From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of...
Brad, OK, you're right again.... I feel like a dope, but I just don't fully "grok" all the gazillions of options and settings in VS.... However, it now works...
Tom, Brad, I can use some help over here. Just tried to test v4.28, flashed the controller and now StraightFeed() does not work. I'm using .NET dll and am able...
Brad, What is the correct way to handle unexpected disconnects and re-connects? My C# app initializes the board, defines I/Os, axes, etc. But if not board is...
Brad, I tried copying the example interpreter code from VCS dotNet Console example, but pointing the interpreter to the "box.ngc" example G-code file. When it...
Hello Ray, I am not sure what difference could be causing the issue. I would double check everything, it’s easy to pass something over. In the meantime, I...
Hello Kyryl, I hate it when this happens.. Works just fine right off the bat with me. Can you tell me how you are referencing the KM.net dll to your project? I...
I tried several combinations with similar results. For the console app repro I reference the dll from \KMotion428\KMotion\Release and also set the output path...
Hello Ray, There was much discussion on this matter and it was decided in the end for the calling application to handle connect/disconnect/reconnect ...
Hello Kyryl, Let me know how that fares. To further clarify the problems I remember encountering involved running KMotion.exe while running an app utilizing...
Brad, OK, I can do that easily, since I already have a 100mSec timer to sync up display objects. Thanks. So I also need to wrap each access with a if...
Hello Ray, You need to set the KM_Controller.Interpreter.CoordMotion.MaintPathRoot to the path of your KMotion directory. It's a bit obtuse but is adjustable...
Hello Ray, I agree with you and that is why there was a lot of discussion about it. In the end I think it boils down to minimizing USB traffic. If an...
Brad, That should be just: KM_Controller.Interpreter.MaintPathRoot This should be added to the example code, since it won't work as-is. That resolved that...
So show much can I get away with.... I have a number of GUI elements - DROs, indicator LEDs, etc. that need to be kept updated, and their states can change...
Another problem I'm having - I sometimes open KMotion while my app is open, so I can monitor the board state. But, frequently, when I exit my app, KMotion...
Nope, I'm using the same interval on a separate thread with no issues. Try using the KM_Controller.MainStatus structure and supporting methods if you can. You...
Brad, I was just looking at that, and will be switching over to it shortly.... I now have G-code working, including FeedHold, most of the on-screen controls...
Its pretty cool that with a bit o .net skills a pretty fully functioned cnc app. I here you on the updated script list. Hopefully Tom will find time or at...