Skip to main content
How Can We Help?

Search for answers or browse our knowledge base.

Unable to convert raw value error

You are here:
< Back

This error typically has two causes.

1. This can occur when there is a letter in a numeric field. Most often it is caused by the  letter D in PowerMeterType column of tblWellDetails.

2. It can also be caused by the wrong datatype in a parameter. The error should tell you the description/name of the parameter, and will say what the current type it cannot convert from i.e. Discrete.

Tools-Database, open tblParameters

Use the SQL button to find the parameter i.e. Poctype=1 and Description like ‘%pressure%

Change the data type to correct type.

 

Description DataType Comment
Baker Numeric as Text 0
Discrete 1 Byte used for Binary value only / TAI_BOOL1
Integer 2 Int16 / TAI_SHORT
Float (IEEE) 3 float / TAI_FLOAT
Float (modicon) 4
Time (Baker) 5
Date (Baker) 6
Long (modicon) 7 Int32 / TAI_LONG
Float (IEEE rev) 8
Date since ’70 9 UINT32 (Unix Time) / TAI_TIME
Integer (BCD) 10
Long (unico) 11
Long (pickford) 12
Timer (AB) 13
Integer (signed) 14
Byte 15 Int8 / TAI_CHAR
Time (DJAX) 16
Date (DJAX) 17
Date since ’70 reversed 18
Long (Enron) 19
Float (Enron) 20
Date (Enron) 21
Time (Enron) 22
Trend (FB) 23
Long (signed) 24
Long (BCD) 25
ROC TLP 26 Byte[3] TLP Pointer used by Fisher ROC
Float (dual swap) 27
String 28
Totalflow Register 29 TAI_REGISTER(4 byte struct; app, array, index)
Double 30 real64 / TAI_DOUBLE