Hey camsoft,
Thanks for the reply....found one little problem with it though (in my particular application)....seems you gotta have a spindle encoder for this to work. I don't have one unfortunately.
Because of time limitations, I gave up on using gauges for now and opted for using bar graphs instead. And because I need a real-time display that includes the pot trimming, I found and used the ANALOG command in my Timer.fil.
My code now looks like this:
ANALOG2 \66
\66={s*(\66/5)}
BAR 1;\66;2
So, I am routing my analog input directly to variable 66 and then taking that value, dividing it by 5 (0 to 10 corresponds to 0 to 200%) and mulitplying the speed setpoing by the result. This is placed immediately back into variable 66. BARGRAPH 1 looks at this value and displays it in Dark Blue.
Now that I have this and one other bar graph working, I actually like them better anyway.
Steve |