Machsupport Forum

Mach Discussion => Mach4 General Discussion => Topic started by: Screwie Louie on June 21, 2015, 01:08:36 AM

Title: well that's a Screwie Screenset.....having fun with the screen editor
Post by: Screwie Louie on June 21, 2015, 01:08:36 AM
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
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: Screwie Louie on June 21, 2015, 02:06:43 AM
imported the set into another computer. gotta unhide the dros in the screen tree manager and adjust in mach config-toolpath-top & bottom color to black....must be a personal *ini setting. I can just set it at startup in the next edit.
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: dude1 on June 21, 2015, 03:21:26 AM
its ok it`s not for me but it worked well done black death LOL
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: Screwie Louie on June 21, 2015, 04:00:36 AM
haha, thanx Dan! I just wanted to make sure I wasn't sacrificing safety or resources by using simple screen calls for a cosmetic make over....hey, we all have our dream girl! :)
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: TimGS on June 22, 2015, 09:39:05 AM
I will try this tonight ;D  ... it looks pretty cool; I like the black background :D
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: tgirard on October 23, 2015, 06:52:37 PM
Nice job Louie. I actually learned a lot about Lua control over UI elements. I didn't know about the Screen Load and PLC Scripts until I dug into your screens. IS there some documentation that you could point me to?

Thanks
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: DazTheGas on October 23, 2015, 07:31:23 PM
Where is Screwie??

Daz
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: dude1 on October 23, 2015, 07:33:17 PM
probably over sea`s deployed
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: tgirard on October 23, 2015, 07:35:02 PM
DAZ!!!
Man, I have been watching your videos on Youtube.

Any chance I could bend you ear a little bit about communication between the Arduino and Mach?
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: tgirard on October 23, 2015, 07:36:05 PM
So, some things that would make screen dev a lot more intuitive:
Mouse select of Objects
Ability to place objects in front or back of other objects
UNDO!!!!

I think the Biggest thing for me would be the ability to read and write the width and the height of the MACH screen so that I could place a series of size buttons on my screen and maintain aspect ratio.
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: tgirard on October 23, 2015, 07:42:01 PM
Hopefully DazTheGas might have a solution here. I'm a little stumped trying to get a Serial connection to an arduino. At first  I thought that Lua would be the right way to go because there is already a luars232 package and connection is real easy (I verified this with my LuaForWindows installation on my machine).

When I tried to move that package into Mach, it doesn't work.

Should I just scrap that and dive into Modbus?

I need to be able to:
Read DRO values
Send and receive data from an external box (arduino)
Control the External box via buttons on Mach

Any documentation or help would be greatly appreciated. I'm finishing up our screens and this is the next big chunk
Title: Re: well that's a Screwie Screenset.....having fun with the screen editor
Post by: tgirard on October 23, 2015, 08:07:32 PM
Some more issues
Tabbing through the Screen Tree Manager and properties
More control over color on objects (Like Groups)
Reference images in a folder rather than compile them (Easier to update / manage)
Better Font management / more options