Hello Guest it is November 22, 2019, 07:59:06 AM

Author Topic: Problem with GetRPM()  (Read 1501 times)

0 Members and 1 Guest are viewing this topic.

Problem with GetRPM()
« on: August 08, 2012, 02:15:31 PM »
Hi,

I'm writing a plugin for Mach3, and I have an error with this line:

xyzDemoDialog->textBoxS->Text = GetRPM().ToString("F4");

I take the XYZTutor and I created a new textBox for read the speed spindle. I wrote some code like
SetGetDRO or DoubleShort GetDRO for GetRPM, but Mach3 give me an error 9988 and 9911 when I open It (if
i comment xyzDemoDialog->textBoxS->Text = GetRPM().ToString("F4"); this error disappears).

All relationated with GetRPM in the code, have this line commented:
//Escriure

I attach the program.

I need help, a lot of thanks.