07-29-2020 11:12 AM
Hello All,
I am trying to parse the data from a Json string via. thingspeak server.
Read URL: https://api.thingspeak.com/channels/1038537/feeds.json?results=2
However, I keep getting an error or a broken wire issue. The thingspeak server offers two URL's one to read the channel field and other to read feed. I have tried both but didn't get any help.
Since I don't have much experience in building clusters to define data type I used the JSON to Cluster VI to generate the cluster.
Attached is the VI, can someone help me with this.
Solved! Go to Solution.
07-29-2020 11:43 AM
I recommend installing JSONtext (from JDP Science) package from VIpackage manager and using that instead. The VI Attached works I rewired body output to from JSON VI as well
07-29-2020 12:08 PM
I took a second look at your problem and found out that your cluster was just defined wrong; you put the array in the channel cluster and didn't define name for cluster inside array and caused the wire to break
07-29-2020 12:35 PM
Thank you Sebram99,
It works now, yes I figured it out why it was causing the wire to break.
Thank you