Machsupport Forum
Mach Discussion => General Mach Discussion => Topic started by: Tarak on April 03, 2009, 06:36:54 PM
-
Hi Guys, I just upgraded to v3.042.025 from an older version (quite a few revisions ago) and I've noticed that my dro's will not accept a negative value unless the format string for the dro is set to %+.4f, previously I had %.4f so as it wouldn't show the positive symbol but it would still show the negative symbol.
Has the formatting for the dro's changed?
Darc
-
Yes, its to do with the incremental input, if you highlight a DRO and press the + key and enter .1 it will add .1 to the value, if you press the - key and enter .1 it will minus it off the value, for it to work the format string must have the + sign in it.
Graham
-
Thanks Graham, That actually explains alot. I like the idea of that.
-
Just for your info you can also multiply and divide direct into a DRO as well, division being very handy in my opinion :)
Hood
-
I never knew that. Learn something everyday.
However I must be doing something silly. Not unusual. ;D
I can not get it to minus any value. If the value is 10 and I minus 2 it should then read 8 right? It reads -2
+, * and /, all work as expected but not -
Tried all sorts of combinations of entry and can't get it right. Can someone set me straight.
Greg
-
Never actually tried a -subtraction, maybe you need to add a negative number? Will test it out in a bit once I get Mach installed on this computer.
Hood
-
Yes, seems to work if you add a negative number, seems a bit of a strange way to have to do it but I suppose it is because you have to be able to also enter a negative value direct into the DRO like before.
Hood