I have installed TinyG V2 on an ARduino DUe.
Code: Select all
{"r":{"sr":{"line":0,"posx":0.000,"posy":0.000,"posz":0.000,"posa":0.000,"feed":0.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"momo":4,"stat":1}},"f":[1,0,9]}
> {"sr":""}
########## Newtonsoft.Json.JsonReaderException: Error reading JObject from JsonReader. Current JsonReader item is not an object: String. Path '', line 1, position 13.
at Newtonsoft.Json.Linq.JObject.Load(JsonReader reader)
at Newtonsoft.Json.Linq.JObject.Parse(String json)
at LitePlacer.CNC.InterpretLine(String line)
at LitePlacer.SerialComm.DataReceived(Object sender, SerialDataReceivedEventArgs e)
{"r":{"sr":{"line":0,"posx":0.000,"posy":0.000,"posz":0.000,"posa":0.000,"feed":0.00,"vel":0.00,"unit":1,"coor":1,"dist":0,"frmo":1,"momo":4,"stat":1}},"f":[1,0,9]}
> {"xjm":""}
{"r":{"xjm":20},"f":[1,0,10]}
> {"xvm":""}
{"r":{"xvm":1000},"f":[1,0,10]}
> {"xsv":""}
{"r":{"xsv":500},"f":[1,0,10]}
> {"xsn":""}
{"r":{"xsn":1},"f":[1,0,10]}
> {"xjh":""}
{"r":{"xjh":20},"f":[1,0,10]}
{"r":{"xsx":0},"f":[1,0,10]}
> {"xsx":""}
> {"1mi":""}
{"r":{"1mi":8},"f":[1,0,10]}
> {"1sa":""}
{"r":{"1sa":1.800},"f":[1,0,10]}
> {"1tr":""}
{"r":{"1tr":1.2500},"f":[1,0,10]}
> {"yjm":""}
{"r":{"yjm":20},"f":[1,0,10]}
> {"yvm":""}
{"r":{"yvm":1000},"f":[1,0,10]}
> {"ysn":""}
{"r":{"ysn":1},"f":[1,0,10]}
> {"ysx":""}
{"r":{"ysx":0},"f":[1,0,10]}
> {"yjh":""}
{"r":{"yjh":20},"f":[1,0,10]}
> {"ysv":""}
{"r":{"ysv":500},"f":[1,0,10]}
> {"2mi":""}
{"r":{"2mi":8},"f":[1,0,10]}
> {"2sa":""}
{"r":{"2sa":1.800},"f":[1,0,10]}
> {"2tr":""}
{"r":{"2tr":1.2500},"f":[1,0,10]}
> {"zjm":""}
{"r":{"zjm":20},"f":[1,0,10]}
> {"zvm":""}
{"r":{"zvm":1000},"f":[1,0,10]}
> {"zsn":""}
{"r":{"zsn":3},"f":[1,0,10]}
> {"zsx":""}
{"r":{"zsx":2},"f":[1,0,10]}
> {"zjh":""}
{"r":{"zjh":20},"f":[1,0,10]}
> {"zsv":""}
{"r":{"zsv":400},"f":[1,0,10]}
> {"3mi":""}
{"r":{"3mi":8},"f":[1,0,10]}
> {"3sa":""}
{"r":{"3sa":1.800},"f":[1,0,10]}
> {"3tr":""}
{"r":{"3tr":1.2500},"f":[1,0,10]}
> {"ajm":""}
{"r":{"ajm":5760},"f":[1,0,10]}
> {"avm":""}
{"r":{"avm":288000},"f":[1,0,10]}
> {"4mi":""}
{"r":{"4mi":8},"f":[1,0,10]}
> {"4sa":""}
{"r":{"4sa":1.800},"f":[1,0,10]}
> {"4tr":""}
{"r":{"4tr":360.0000},"f":[1,0,10]}
> {"4po":""}
{"r":{"4po":0},"f":[1,0,10]}
> {"zsn",3}
{"r":{"zsn":3},"f":[1,0,9]}
> {"zsx",2}
{"r":{"zsx":2},"f":[1,0,9]}
> {"zzb",2}
{"r":{"zzb":2.000},"f":[1,0,9]}
No _textBox or _maskedText For Field zzb