NI TestStand Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
MaximeR

Add JSON string function

when manipulating data between different system, JSON string are very usefull to have a standardize, simple and readable exchange format.

 

Python or LabVIEW can dump structure (dictionnaires or Cluster) to JSON and vice versa.

It can be very usefull to allow to dump a TestStand variable or container to JSON and vice versa.

 

It can be good to have also a way to have native function in string functions to read, write or add a specific value in a JSON string.

 

MaximeR

Maxime R.  

  CLA - Certified LabVIEW Architect / Architecte LabVIEW Certifié
  CTA - Certified TestStand Architect / Architecte TestStand Certifié

4 Comments
JSlavic
Member

I agree with this.  Python natively can determine data types "automatically".  All NI software is very manual for selecting and managing data types.  I'd like to see this more easily managed.  

 

My last project with Python/TS, we passed data through JSON strings as it was the easiest method we could figure out to make the transfer work.

Jonathan (Jon) Slavic | Customer Solutions & Analytics Architect
Circuit Check Inc
Cell: 315-294-0035
6550 Wedgwood Road; Suite 120, Maple Grove, MN 55311
Karthik_Abiram
Member

+1. Having native JSON support in TestStand would be very useful.

 

In the mean time, I had recently created a python open source library that can convert TestStand XML to JSON:

https://github.com/KarthikAbiram/tsxml

------
Using LabVIEW since 2012. Certified LabVIEW & TestStand Architect
HarshaBhushan
Member
Status changed to: Under Consideration
 
JSlavic
Member

any update to this??

Jonathan (Jon) Slavic | Customer Solutions & Analytics Architect
Circuit Check Inc
Cell: 315-294-0035
6550 Wedgwood Road; Suite 120, Maple Grove, MN 55311