JSON Toolkit for LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

JSON to Tree Control

I am attempting to use the JSON i3 tools and wish to display a simple LabVIEW cluster in a tree control. The 'JSON Tree View" seems to be missing the most basic parsing of placing the JSON field value in a 2nd column of the tree control?

Or am I missing something.image.pngimage.png

0 Kudos
Message 1 of 3
(5,750 Views)

hi, looking to the image, i don’t see the error... may you explain better and attach the vi?

0 Kudos
Message 2 of 3
(5,706 Views)

Hi MrJackHamilton,

 

The JSON Tree View node does not utilize the second column as you have found. The value is shown inline as part of the text of the first column.

 

You can see how this is implemented in the JSON Tree View Recursive.vi as follows:

i3 json single column.PNG

If you made a change similar to the following you could have the value placed in the second column:

i3 json two column.PNG

Which looks similar to the following:

example.PNG

 

Unfortunately this is not currently a feature the toolkit exposes and is not something I expect to be added in the foreseeable future.


Milan
0 Kudos
Message 3 of 3
(5,624 Views)