Description |
If you use OpenFormat Zero there are some points you have to know in order to get it working with LogView Studio.
Line Start / EndEvery data lines (including the headers) start with $ and ends with \r\n (0Dh, 0Ah).
Every dataset has it's headerEvery dataset in OpenFormat Zero starts with it's own header. The smallest header is a simple dataset name: $N$;MyDatasetName
A dataset is a block of data which has it's own Entry in LogView Studio. Example: $N$;Logging 01 $5.1;2.3 $6.1;3.3 $N$;Logging 02 $15.1;2.13 $61.1;3.23
Result in LogView Studio:
Decimal separatorYou can use . (dot) or , (comma) as decimal separator. LogView Studio will convert it automatically to the correct value which is used in your system. Be aware of sending data with 1000th separator like this: 1.500,45 Send values without the separator: 1500,45
Default TimeOpenFormat Zero uses the time when a package is received as time stamp for the data as Default. Take a look at the Time format chapter for more information.
Column, Data, Factor, Offset and SumOffset count must be the sameIf you send a header followed by data you can transmit some information where the count must match. First of all your Column count must be the same as your Data count. If you send additional Factor, Offset or SumOffset values the count must also be the same as your Column / Data count. Good Example: $C$;Temp 1 [°C,T];Voltage[V] $F$;1.2;1.0 $5.1;2.3 $6.1;3.3
Bad Example: $C$;Temp 1 [°C,T];Voltage[V] $F$;1.2;1.0;2.0 $5.1;2.3 $6.1;3.3;5.0
Two lines have different item counts !
Watch the samplesThings will get more clear if you take a look at the attached samples. |
Send feedback on this topic
Copyright (C) 2013-2014 Dominik Schmidt / Holger Hemmecke. All rights reserved. |