v1.0 CALIBRATION: MultispeQ PAR to LiCOR PAR (slow lights)


goes with the protocol of the same name
//============================================
// Macro for data evaluation on PhotosynQ.org
// created: 07/10/2016
//============================================

//Define the output object here
var output = {};

var licor_values = [];
var licor_values_csv = "";
for (var i = 1; i < json.message.length; i++) {
  licor_values[i-1] = json.message[i][2];
  if (i < json.message.length - 1) {
    licor_values_csv += json.message[i][2]+",";
  }
  else if (i == json.message.length - 1) {
    licor_values_csv += json.message[i][2];
  }
}
output["licor_values"] = licor_values;
output["licor_values_csv"] = licor_values_csv;

//Return data
return output;
{
  "time_offset": 240,
  "time": 1475849830011,
  "device_version": "1",
  "device_id": "d4:f5:00:00:00:00",
  "device_battery": -115,
  "device_firmware": "1.08",
  "firmware_version": "1.08",
  "device_time": 1475498447,
  "sample": [
    [
      {
        "time": 1475849830031,
        "protocol_id": 1,
        "message": [
          [
            "0",
            "0",
            ""
          ],
          [
            "prompt",
            " enter LiCOR value",
            "50.22"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "75.5"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "126.3"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "176.5"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "53"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "79.99"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "134.2"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "187.4"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "54.05"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "82.24"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "137.25"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "190.7"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "50.8"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "76.8"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "129.3"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "181.0"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "49.76"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "75.71"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "126.3"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "175.5"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "49.05"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "74.7"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "126.4"
          ],
          [
            "prompt",
            " enter LiCOR value",
            "178."
          ]
        ],
        "data_raw": [

        ]
      }
    ]
  ],
  "app_os": "linux",
  "app_name": "PhotosynQ",
  "app_version": "0.3.5",
  "app_device": "x86-64",
  "ConsoleMacro": "203"
}
012409 pbi 160 low low res headshot
Created by

Greg Austic


Protocol connections:
3
Latest Update:
Oct 2016