How to create tags with decimal point on viewon..?

Hi,

I try to find the solution how i can create tag from integer and showing on viewon with decimal point.?

May i need to scripting on basic script or need to setup somewhere when i config on viewon setup.?

If need to scripting… is there have any sanple how can i writing.?

Ex,
Integer tag = 800 and need showing on voewon is 80.0…

Help pleaseee

Tq

Hi Kris,

You should be able to this by first scaling the value you’re reading by 1/10 like below:

image

After this, you should then be able to go into eBuddy and just use the following pattern in viewon

set the pattern in your viewon page to this #.0

See the image and document below for more info

https://hmsnetworks.blob.core.windows.net/www/docs/librariesprovider10/downloads-monitored/manuals/application-user-guide/aug-0006-01-en-viewon-objects-animations-and-actions.pdf?sfvrsn=3c0249d7_10

Hi Tim,

Your reply is very helpful…

Tq,

KRIS

You’re welcome,

Let me know if you have any further questions with this

Sure…

And one more question… Is your script support only java.?

In Viewon we have support for Java Script, and BASIC.

Is your basic scripting mean for VB right.?

How can i find the basic script’ manual on viewon or some script sample…?

We have a BASIC reference guide. Is there something specific you’re trying to do?

eWON Programming Reference Guide (BASIC)
RG-006-0-EN-(Programming Reference Guide)(1).pdf (865.6 KB)

Hi tim i have done as you explained about the decimal point, But the result is differant !

My ewon tag value 249 its atuvally room temperature (24.9 C). i scaled this 1/10 in the ewon now tag value showing 24 in the ewon web page.
And i have set pattern in the viewON symbol #.0, But result is 24.0 in the viewON. (point 9 is missed )

How to display this Ewon value 249 to 24.9 in the viewon page ?