Mike Lieberman wrote:
[...]
> The device sends back a four digit number. Example:
>
> Temp 7502. The actual value is intended to be understood as 75.02F
>
> Humidity 2462 The actual value is intended to be understood as 24.62.02RH
>
[...]
>
> <snmp-device-display>
>
> \5\Temperature Probes\0\
>
> \4\${stProbeName2}:\0\ ${stProbeData2 / 100}\3IG\¡ F\P0M\
>
> \4\${stProbeName3}:\0\ ${stProbeData3 / 100}\3IG\¡ HR\P0M\
>
> </snmp-device-display>
For inline expressions in the display area, you'll need to use the
${chartable:... } macro.
eg.
\4\${stProbeName2}:\0\ ${chartable: #.## : $stProbeData2 / 100}\3IG\¡ F\P0M\
The #.## tells InterMapper that there are two decimal places to track. The
third part (after the second colon) is your
arithmetic expression. If you leave out the #.## in the first part, the result
of your expression is rounded to the
nearest integer.
Hope that helps,
Bill Fisher
Dartware, LLC
____________________________________________________________________
List archives:
http://www.mail-archive.com/intermapper-talk%40list.dartware.com/
To unsubscribe: send email to: [EMAIL PROTECTED]