Hello Guest it is April 27, 2024, 05:54:06 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Screwie Louie

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 »
61
Hi Dan,Tim,Simpson36, can you load this up and try it out for me? Just need a another pair of eyeballs. Basically, I am using switches that will mirror my order of operations for a project. The screenset is designed for full screen viewing. The gCode can be viewd in gcedit (the last toggle...btw, some toggles will auto shut off, ie gcedit) It's not done yet. The 'open' toggles will be for probing and tool setting when I finish moving and get everything back together. It's all basic screen calls. Revamped the screen load up script and PLC. This was just done with m4's screen editor...--add, delete, modify, PLAY :)

--josh

62
Thanx Scott!

63
That it so cool Tim!  Thanx for sharing! I'm definitely gonna learn something from studying this  :)

64
Mach4 General Discussion / Re: Regfile Plugin
« on: June 16, 2015, 05:22:18 AM »
Why would you ask that?
 I would assume it would be virtually unlimited...

65
That's weird. Huh...frame:SetStatusText("MPG OFF")  "MPG OFF" is just being passed as a string not a command. I wonder why it is interpreted that way? Although I think MPG_OFF is a C++ argument, but I don't think that would matter. Weird!

Thanx Tim! I'll try stripping out the window definition and see if the panel connects to my screen instead of a pop-up. So mcLuaPanelParent must be a defined global variable in wx.Lua.....

66
Mach4 General Discussion / Re: need a little bit of help
« on: June 12, 2015, 04:51:22 PM »
Don't see a for loop. I see a while loop in your original code then Smurph gave you an expamle to do the moves with an 'if' conditional statement based on mach's operating state before making the second move. All done in the PLC. If/then statements work. I'd avoid while/repeat loops like the plague inside the plc or button script because of the constant refresh. try the mc.CntrlMdiExecute function. My DROs always update with movement and the screen doesn't freeze. Now, mc.CntlGcodeExecuteWait on the other hand is different. That functions locks everything out (except motion controller/core request/reporting) and gives sole ownership of Mach 4 to that Gcode block until it is complete and nothing updates until done. I know you have mc.CntlGcodeExecute written. I sware my DROs move with that function too...I'll have to check.

--josh

67
Andrew...Lawrence Livermore National Labs was where testing is being done. The lab itself has a $1.5b operating budget. Don't know how much is in the additive manuf. product development program tho.

68
Yah, thanx Tim. That's not what I am talking about tho (where you insulting my intelligence, haha! j/k). I am taking about how to tell the window that the panel has a parent; connect the panel to parent (ie, Default page) so my image does not "pop up" as it' own window. I want it to stick to Mach4's window (or "Default page")

my question was referencing the use of-

local window = panel:GetParent();  


or connect the window(that was coded) to the lua panel that I just added to the screen.....



-josh

69
just wanted to say something. this error has nothing to do with Mach 4. It is my own error that was caused by me doing a work around on my limitations. (that's why I asked for help) I was trying to report messages to m4 core whereas m4 was receiving messages at the same time causing the conflict. I jut wanted to put that out there. that's all....

--j

70
Mach4 General Discussion / Re: need a little bit of help
« on: June 11, 2015, 06:40:52 AM »
type the 'for' loop out exactly as you typed it...where is it located? ie. button, plc, start up?

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 »