I have a application where I am totaling a flow value for the day and logging that total at midnight, resetting to zero and starting the total for the next day.
The value is set up to Floating Point (FP2) and is placed in a table.
The total should be around 50,000 but I am getting a value every night of 7999.The exact same value every time
Any ideas where this value is coming from??
FP2 is a decimal encoded floating point value with a thirteen bit mantissa and a negative exponent. As such, it is incapable of storing a value greater than 7999. I suggest that you change the data type from FP2 to Float.
Ron, change the data type in your output instruction from FP2 to IEEE4
Totalize (1,Source,IEEE4,False)
or
Sample (1,Source,IEEE4)
Janet
Thank you,
Yes, I had the Data Type as Float but left the Table FP2
Ron
FP2 is a decimal encoded floating point value with a thirteen bit mantissa and a negative exponent. As such, it is incapable of storing a value greater than 7999. I suggest that you change the data type from FP2 to Float.