07-05-2016 06:15 AM
Hello,
I have a question about the numeric field. I have the following problem. I have two numeric fields. In one field I write a value. Now a calcualtion gives me a new value with the old value. I would like to print the new value in the second nummeric field.
So my problem is this.
The main program starts when I press a start button. So what I would like to have is the new value printed without pressing the start button. Basically I would like to see the solution before I start the programm. I enter a value and see the solution, now the solution is not correct so I change the value and see the new solution. This solution is correct and I start the program. This is to save calculation time. I can change the value and in the same moment I see if it is ok to start with the value. (as example: first field 1000 Hz, second field (T=1/f) 0,01 s).
I hope you understand what I mean and somebody can help me?
Best Regards
Solved! Go to Solution.
07-05-2016 09:52 AM - edited 07-05-2016 09:52 AM
This is normally done installing a callback function in the numeric control and handling EVENT_COMMIT event (supposing the control is left in HOT mode as the default).
Starting the probgram, whatever this means, will be done by the callback function of some START command button