Hello Guest it is April 24, 2024, 07:12:46 PM

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 - Ya-Nvr-No

391
no,  :-X

393
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 10:10:44 PM »
I'm just making an educated guess, but it does make sense not sure yet on the screenId
this is the section where id put the fro=100 so the feed rate always started up at 100%
then create some script code to set the slider to that value on load

394
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 09:56:37 PM »
scr.SetProperty
scr.ShowPage
scr.ExecMdi
scr.GetCurrentPage
scr.GetProperty
scr.IsControl
scr.IsProperty


395
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 09:42:31 PM »
i found it by starting to retype a command and the options came up for me to choose from, kind of a lucky oops

the list of wx.wxlua file I posted was created that way, what a tedious process
copied and pasted every command I could find that started with a wx.wx into a script then cut and pasted all to a text file.


also the load script routine is where the global variables get set, so I believe using a pageId = 2 would be the page it starts in

pageId = 0
screenId = 0
testcount = 0
machState = 0
machStateOld = -1
machEnabled = 0
machWasEnabled = 0
enableBlink = 0
enableBlinkCount = 0
jogstate1 = 0
a = 0
Hz = 0

396
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 09:11:58 PM »
found this works to change pages  ;D

rc = scr.ShowPage('2'); -- two is the page #

397
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 08:35:49 PM »
The first page is always displayed as gerry said
so if nothing is on it, nothing gets displayed
all other pages can be called and jumped around with buttons
have not found a scr command to jump to a page.

has to be one... don't ya think?

398
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 03:29:06 PM »
    rc = scr.SetProperty('MainTabs', 'Current Tab', '1');

already there, just change the tab number and the first field name to what the tabs group is named

399
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 10:40:55 AM »
you still did good Russ, I like it

400
Mach4 General Discussion / Re: ScreenSet Question
« on: May 12, 2014, 10:37:34 AM »
I believe if you put fro=100 in the load script and then later create a keyboard action and associate that key to the fro variable you would have a hot key function.
so in reality I believe we could use the keyboard to step up  or down by 10% the fro value.
Now that I understand the signal script routine it should work and function keys can have uses like Terry desires.