Search found 282 matches

by Moray
Thu Mar 21, 2024 9:16 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

Hi Moray, Sounds like good news for you, bad news for us :) Is there a reason you don't just make it public? There's some code/functionality that I don't really want to make public yet. The main bit is I started work on making the main init.c being automatically generated a while ago, and I can't a...
by Moray
Sun Mar 17, 2024 9:02 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

Latest update on this, is I'm 95% happy with my screen designer (I have added buttons to move controls a chosen distance, however I need to split up another function to implement the code). However, I have (probably foolishly!) gained another full time job, along with some more part time work, so my...
by Moray
Sat Feb 17, 2024 12:42 am
Forum: C Programs
Topic: idk why lathe changes
Replies: 37
Views: 443

Re: idk why lathe changes

Nothing should change without a reason, but to eliminate the possibility of something pointing to an old install, rename the directories. I usually put an 'x' at the end, so that way if anything does happen to still be using an old install, it will break the link and generate an error, and renaming ...
by Moray
Wed Feb 07, 2024 11:24 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

That is all correct except GetUserDataFloat expects the value to be a float not an integer. KFLOP and the PC must agree on what the 32-bit value represents. Either an Integer or the binary image of a float. In this case it is an integer offset into the Gather Buffer so GetUserData would be appropri...
by Moray
Wed Feb 07, 2024 11:21 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

And I now have functioning LabelDROs (although I have since realised you named them DROLabels!) I also have the ability to set LabelDROs to read any VAR value, and display it as a label. And having gone through the full list of ServiceKFlopCommands, the only things I still need to add are PC_COMM_GE...
by Moray
Sat Feb 03, 2024 10:09 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

I think the main thing is I'm currently failing to understand how the whole LabelDRO process works, however having found and looked at the Add example, I'm a bit closer to understanding it. This is what I think the process is- C( Program/KFlop) loads the gather buffer. C then sets the relevant VAR t...
by Moray
Fri Feb 02, 2024 11:11 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

Oops I thought that was what you were after. I think you'll want: int CScreen::ServiceImageButtons() Tom, I'm finally getting around to LabelDROs, but my understanding of c++ is somewhat hindering me. I see the relevant code for LabelDROs in the top function initially gets a result from GCodeDlg.Ge...
by Moray
Tue Jan 30, 2024 11:17 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

After quite a bit of code refactoring, and changing how Bit controlling is handled, I now have the full suite of Buttons coded. Normal single hit buttons, toggle buttons, and momentary buttons now exist. You can also set an unlimited number of bits for any Button that controls bits. I still need to ...
by Moray
Fri Jan 26, 2024 9:58 pm
Forum: User Machines
Topic: 5 axis CNC Router/3d printer
Replies: 171
Views: 10262

Re: 5 axis CNC Router/3d printer

You'll need to ensure the KFlop/Kogna is updated to the same version of Firmware, however there is an issue if you're going from 4.xx to 5.xx - https://dynomotion.com/forum/viewtopic.php?f=9&t=1706 And also see https://www.dynomotion.com/forum/viewtopic.php?f=12&t=1708 I used the Recovery option to ...
by Moray
Tue Jan 23, 2024 11:51 pm
Forum: User PC Applications and Libraries .Net
Topic: G-codes/offsets/tools with .Net
Replies: 153
Views: 33807

Re: G-codes/offsets/tools with .Net

Latest version attached. It's a full Zip that needs unzipped into the Kmotion/Release directory, and includes a few images and the default Screen (still technicolour!) with a few userbuttons, label, and image in the lower left corner of the screen to show the new functionality. I now have what I'm c...