Hello Guest it is October 17, 2019, 04:46:28 AM

Author Topic: GetOemDro reads the previous value  (Read 2368 times)

0 Members and 1 Guest are viewing this topic.

GetOemDro reads the previous value
« on: June 18, 2015, 06:57:19 AM »
I'm writing a new plug in based on Custom_Plugin. Until now all are well.
I have to set the Dros X,Y,Z,A with new values and then I need to read the values from them.

With mach3, win7/64 VS2003

I click RESET with the mouse, Mach3 displays +0.000 at all Dros
 I set Dro X to 123mm with --> SetOemDro(800,123.00);
Ok much 3 deysplay 123.0000
Now I have to read the DRoX  --> ThevalueX=GetOemDro(800); -->ThevalueX got 0.00000

If I sent a new value to Drox ->SetOemDro(800,100.00);
Then the --> ThevalueX=Get(oemDro(800) gets the value of 123.00
This is the previous value I set.

What Is that I must do before read the Dro value to synchronize the displayed value with the ''soul'' of mach3?