Major issues exist with the constructor and destructor

If you think you've found a bug post it here.

Re: Major issues exist with the constructor and destructor

Postby ger21 » Thu Feb 09, 2023 11:53 am

I'm also writing/logging about 70 fields/checkboxes.


UCCNC automatically saves user fields and checkboxes. I have hundreds in my screenset that are automatically saved without me doing anything.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Major issues exist with the constructor and destructor

Postby Battwell » Sat Feb 11, 2023 2:06 pm

what user field numbers range are you using ger? (mine dont save :-( )
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: Major issues exist with the constructor and destructor

Postby ger21 » Mon Feb 13, 2023 12:23 pm

Here's a portion of my Profile:

[UserCheckboxes]
20301=False
20302=False
20303=True
20304=False
20305=False
20306=False
20307=False
20308=False
20312=False
20309=False
20310=False
20311=False
[UserTextfields]
20333=0.1
20334=0.0
20335=0.01
20336=0.01
20337=0.01
20338=0.01
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Major issues exist with the constructor and destructor

Postby Battwell » Tue Feb 14, 2023 8:37 pm

ger. do you have the screen set applying the user textfield values, as initial values?
my user textfields look the same but in 20401 up range. (screen set doesnt show these on startup unless i populate them)
im using the 115 version.
Uc300eth on router and mill.
UK uccnc powered machine sales. https://cncrouter.uk/atc-cnc-routers.htm
Automateanything/duzzit cnc/mercury cnc
Battwell
 
Posts: 867
Joined: Sun Sep 25, 2016 7:39 pm
Location: South Wales. Uk

Re: Major issues exist with the constructor and destructor

Postby wmgeorge » Wed Feb 15, 2023 12:30 pm

If your running Windows 10/11 keep it off the internet and don't let it update. Sounds like you also might have computer or HD/SSD issues, what do you have running besides UCCNC? IF its USB it can be flaky at times.

My shop computer runs my CNC router and two lasers is only allowed to update when I decide. Virus programs especially Windows Defender can mess with your setup along with the Firewall. You do not need either if your not online. I have ran my Shop for years without issues this way.
wmgeorge
 
Posts: 68
Joined: Wed Jan 11, 2023 11:55 pm

Re: Major issues exist with the constructor and destructor

Postby ger21 » Wed Feb 15, 2023 12:58 pm

ger. do you have the screen set applying the user textfield values, as initial values?

Yes, my plugin reads the values and populates the fields.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Major issues exist with the constructor and destructor

Postby Parkgrr » Thu Feb 16, 2023 9:58 am

UCCNC automatically saves user fields and checkboxes. I have hundreds in my screenset that are automatically saved without me doing anything.


You have custom fields that are saved and recalled on startup with no action from you?

If your running Windows 10/11 keep it off the internet and don't let it update. Sounds like you also might have computer or HD/SSD issues, what do you have running besides UCCNC? IF its USB it can be flaky at times.


People are running windows 11? I saw on the documentation that it only is supported up to 10. I will try literally anything at this point. What points to an SSD issue? I have one app that is reading my spindle temp from USB and writing it to a file for UCCNC to read and populate a field. The extent of "USB problems" I get is that it reads a range bad temps occasionally which I have error handling for. Nothing else.
Parkgrr
 
Posts: 98
Joined: Mon Dec 07, 2020 9:12 am

Re: Major issues exist with the constructor and destructor

Postby ger21 » Thu Feb 16, 2023 12:01 pm

You have custom fields that are saved and recalled on startup with no action from you?


All User fields are automatically saved to your profile, with all the other UCCNC settings. On Startup, I use a plugin to read the data from the profile and fill the fields.
In my previous screenset, I used the Constructor macro, with code like this:

Code: Select all
readfield = exec.Readkey("UserTextfields", "20309", "1");
AS3.Setfieldtext(readfield, 20309); // Set Jog Percent Value #1
AS3.Validatefield(20309);


I've never had a single issue in 6 years.
Something in your code is most likely the culprit, as you seem to be the only one having issues.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Major issues exist with the constructor and destructor

Postby wmgeorge » Thu Feb 16, 2023 1:27 pm

Or something in His computer set up and did he say that it was a USB connection to the controller.
wmgeorge
 
Posts: 68
Joined: Wed Jan 11, 2023 11:55 pm

Re: Major issues exist with the constructor and destructor

Postby Parkgrr » Fri Feb 17, 2023 9:18 am

I'd love to agree, except my destructor is dead simple and just grabbing values from fields and writing them to the profile. It works 9/10 times. To test I will write in little message boxes or status messages to make sure the macro is actually firing all the way through, and the macro will run to where the messages are called, and display the messages but not write the values that were commanded before the messages. No stopped macros, no errorlog messages. I sent the Const and Dest, by CNCDrive's request, to Dezsoe and have never heard back and they are no longer responding on forum. I'm gathering quite a lot of reason to believe I'm blacklisted by them for being persistent about issues they know exist and can't be bothered to fix.

Are people using windows 11? I'm getting pretty weary of people saying I'm the only one. As well many of these issues existed before I had written a single macro or done any customization *whatsoever*. I'm in too deep to switch now, there are obviously issues with UCCNC, and there's something about my setup that is making these existing QC issues, and definitely not just this one, come out of the woodwork and the list just seems to be growing.

I appreciate the help. Again, are people using W11? What PCs are you (or anyone reading this) running? I'm running a high spec Alienware gaming computer with win 10 because it's recommended. The PC is dead clean. It's running exclusively what's needed to run the machine which is UCCNC and is network disconnected.
Parkgrr
 
Posts: 98
Joined: Mon Dec 07, 2020 9:12 am

PreviousNext

Return to Report a bug

Who is online

Users browsing this forum: No registered users and 14 guests