Jump to content

SGI

Members
  • Posts

    5
  • Joined

  • Last visited

Posts posted by SGI

  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 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?

    JSONText - Enum data and typedef are lost in json to enum variant conversion.png

×
×
  • Create New...

Important Information

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