Hello Ua,
In response to your scaling issue. I have taken Joel's advice previously and have used the Meta data source to good affect. Our data loggers supply a raw value from 0 to 20000 representing 0 to 20 mA from the sensor. The data could actually be just about anything, i.e 0 - 20 mA = 0 - 100 Bar or 0 - 60 meters per second etc... it all depends on the sensor attached.
We have created a data source for the data logger and then another meta data source that uses the raw data as its source. In the meta data source we apply the following script:
variable script.jpg
Just change the first 4 numbers to change the scaling factor. The above example will move the decimal point to the left one place. But the script will work with any scaling required not just factors of ten. Also we have named the data source as raw under the VAR column, hence raw.value in the equation. Just change the equation to match your naming convention.
I hope this helps.
Cheers
Brian