JSON Toolkit for LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

JSON in LabVIEW!!

Hi,

This may sound like a stupid question, but I'll ask it nonetheless:

How do you actually open and read a .json file into Labview? I have the i3 JSON toolkit but all the examples I've seen that use this generate their own data in Labview, not read it in from an existing file. I need to read in the data from a already existing .json file and am getting weird behavior when I try to us the labview file i/o functions. Can you give an example of the sequence of steps to get data from the .json into labview?

Thanks so much,

Fred

0 Kudos
Message 11 of 15
(7,866 Views)

Replied to in the following duplicate post: https://decibel.ni.com/content/thread/23902


Milan
0 Kudos
Message 12 of 15
(7,866 Views)

Tom, how did you fix the issue. We are having the same problem with posting type double numbers in JSON. We want to keep the value at 2 digits of precision and flatten to JSON, but the number will have 13 digits to the right of the decimal place in the JSON string. How do we stop this behavior? I have played around in the control's/indicator's properties, but this only changes the display format, not the value.

0 Kudos
Message 13 of 15
(7,866 Views)

PSA - the community pages got shuffled around a bit so it is difficult to find the download link now (Milan, you may want to update the "Group Overview" which unfortunately seems to have gotten lost).

 

For anyone looking, here is where you can find the latest VI package file that you can then install on your computer:

https://github.com/rajsite/i3-labview/releases

 

Joey S.
Senior Product Manager, Software
National Instruments
0 Kudos
Message 14 of 15
(6,840 Views)

Thanks for the heads-up Joey!

 

 

VI Package Manager link: vipm://i3_json 

and the Github Pages link: https://github.com/rajsite/i3-labview/releases

 

to the Overview Section 👍


Milan
0 Kudos
Message 15 of 15
(6,803 Views)