Jump to content

SGI

Members
  • Content Count

    5
  • Joined

  • Last visited

Community Reputation

0

About SGI

  • Rank
    LAVA groupie

LabVIEW Information

  • Version
    LabVIEW 2014
  • Since
    2001

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. 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
  2. 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.
  3. 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? JSONtext - issues reading variant data type from JSON.vi
  4. 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? JSON API - issue reading from JSON.vi
  5. I have a variant of an Enum that I want to convert from JSON text. When using JSONtext, not only the Enum datastrings are lost, but also the datatype is changed (from unsigned long to signed long) I also tested "JSON API" with the same data, and that worked just fine. Am I doing something wrong?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.