Page 1 of 1

Sact field flickers

PostPosted: Fri Jan 06, 2017 8:47 pm
by Dan911
Am I doing something wrong here? I'm trying to send to the spindle RPM field and it comes and goes and sometimes just flickers. I read that Validatefeild was suppose to stop this so I'm wondering if I'm doing something wrong before I delete field and replace with a new 1.

int myInt = intRead[5] | intRead[4] << 8;
string RPM = myInt.ToString();

UC.Setfieldtext(true, RPM, 870);
UC.Validatefield(true, 870);


Thanks,
Dan

Re: Sact field flickers

PostPosted: Fri Jan 06, 2017 8:59 pm
by cncdrive
You can't write the Sact textfield (870.), because that DRO is updated by the UCCNC, it means the actual spindle speed, I mean you can write it, but the UCCNC will overwrite the value in cycles.
And yes, what you could do is to replace it with your own textfield number.

Re: Sact field flickers

PostPosted: Sat Jan 07, 2017 2:58 am
by Dan911
I must of misinterpreted what I read. Creating a new text box worked great.

Thanks,
Dan