SGI
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by SGI
-
-
I'm trying to use JSON to store control and indicator values of which I don't know the datatype.
I use dynamic VI calling, I set controls using VI Reference -> Set Control values, run the VI, and get the indicators using 'Get Control values'; those need an give back variants, which I want to load from JSON and store back to JSON.
-
I have problems converting the data back from JSON to the correct variant data type, even when using the VIM instead of the VI and using 'Variant to data'.
At the moment, I have no alternative for using variants as my data type.
Any other suggestions for making this work?
-
With JSON API v.1.5.4.39 , I have a problem converting variant data from JSON back to the correct data type.
See attached image/vi
Did I misread something, or did I forget to enable 'variant naming' somewhere else in the JSON API?
-
[CR] JSON LabVIEW
in Code Repository (Certified)
Posted
I'm using JSON to store control and indicator values of which I don't know the datatype.
I use dynamic VI calling, I set controls using VI Reference -> Set Control values, run the VI, and get the indicators using 'Get Control values'; those need an give back variants. These values I want to load from JSON and store back to JSON