<
From version < 2.1 >
edited by Matej Durcik
on 2022/05/17 14:24
To version < 5.1 >
edited by Matej Durcik
on 2022/05/17 14:35
>
Change comment: There is no comment for this version

Summary

Details

Icon Page properties
Content
... ... @@ -7,7 +7,8 @@
7 7  
8 8  Below is an example of a sensor named "MySensor" that measures speed and direction with raw measurements of voltage and counts.
9 9  
10 -> {{code language="<Apache>"}}[{"sensorcode":"MySensor","sensorid":102,"variablecode":"Volts","variableid":1,"value":1.54,"units":"V","DateTime":"2016-03-18 19:00:00"}
10 +{{code language="<JSON>"}}
11 +[{"sensorcode":"MySensor","sensorid":102,"variablecode":"Volts","variableid":1,"value":1.54,"units":"V","DateTime":"2016-03-18 19:00:00"}
11 11  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Direction","variableid":3,"value":224,"units":"Degrees","DateTime":"2016-03-18 19:00:00"}
12 12  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Counts","variableid":1,"value":6,"units":"#","DateTime":"2016-03-18 19:00:00"}
13 13  ,{"sensorcode":"MySensor","sensorid":102,"variablecode":"Velocity","variableid":4,"value":0.112,"units":"m/s","DateTime":"2016-03-18 19:00:00"}
... ... @@ -48,7 +48,7 @@
48 48  
49 49  The current convention for file naming is “DeviceName_TimeStamp.txt”, and example filename is “cRIO-LEO-Center-P01_20131121173002.txt” for a device named “cRIO-LEO-Center-P01” and a timestamp 2013/11/21 at 17:30:02. An example of the file contents for a measurement file containing data for 8 sensors with 14 data points is shown below:
50 50  
51 -|(((
52 +(((
52 52  2013-11-21 17:30:01 LEO-C_10_-4_4_GMM222 0.121902 341.325300
53 53  2013-11-21 17:30:01 LEO-C_10_4_4_GMM222 0.142809 399.866131
54 54  2013-11-21 17:30:01 LEO-C_6_-4_1_HFP-1 -0.001208 -18.838927
... ... @@ -58,3 +58,4 @@
58 58  2013-11-21 17:30:01 LEO-C_6_-4_1_TCAV 23.783472
59 59  2013-11-21 17:30:01 LEO-C_6_0_1_TCAV 23.336414
60 60  )))
62 +
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 13.10.5 - Documentation