06-01-2023 03:00 PM
Hi, I am inexperienced with labview and need some help.
I am reading sensor data on labview from a database. The data I am receiving is in json. I want to separate the data so i can manipulate the data and use for other tasks. i.e. draw a graph, other tasks of similar sort
attached is a sample program of part of the code. Please can someone assist.
Thanks in advance
Solved! Go to Solution.
06-01-2023 03:52 PM
You need to specify the correct data structure.
The modified example uses JSONtext Toolkit for LabVIEW
06-02-2023 03:44 AM - edited 06-02-2023 03:58 AM
I am using 2015 version of LabVIEW, is it possible to provide a solution compatible with the older versions where I can plot the 'acc' results to a line graph
Sorry for the inconvenience.
06-02-2023 04:59 AM
As ZYOng said, the important part is to define a LabVIEW data structure according to the json data.
I do not have the JKI toolkit installed, you have to replace "timestamp" and "dataStored" with timestamps if you need them.