06-30-2008 12:47 PM - edited 06-30-2008 12:52 PM
07-01-2008 04:03 AM
Pria,
From what I understand the raw values in your file are delta values, refering to the previous value in the file. This use case is not covered by the offset property for a channel. There is an option to read the file value by value (GetNextBinaryValue) and then do some calculation before it shows up in the dataportal. What type of file are you trying to read ? Is there documentation avalaible ?
Andreas
07-01-2008 11:14 AM
Hi,
Thanks for your reposnse, but this is a ASCII file, I have attached the Data file.
There is no any detailed data definition but have few to reach the channel data. The channel data is seperated by comma.
Data Values:
The data starts after the header information with [Data].
Only the information on the Right hand side of the equals will be considered for data interpretation. For Example
[Data]
1=1,2,3
Here only 1,2,3 will be considered for data value interpretation.
Each data value here is not available in absolute form. Each value of data represents the amount of change that is occurred from the previous scan. The offset for each channel is available in their respective headers under the header scale. Hence conversion of data is accomplished by multiplying the data value with its offset and adding this result to the previous scan.
Can you let me know how I can get the delta infromation and populate the channels?
Thanks
07-01-2008 04:13 PM
Hello Pria,
Please have a look at the attached example. It reads you file, hopefully the way you expected it. Please let me know ho it goes.
Andreas
07-02-2008 09:39 AM