03-01-2018 06:03 AM - edited 03-01-2018 06:04 AM
Hi everyone,
I am flattening a string array to json in LabVIEW 2013. As soon as it executes LV crashes with the report. Worked fine on my 2014 version, converted the version to 2013. My guess is that the transpose array has to do with it, since it runs fine without the transpose function. Any ideas anyone? Thanks.
Solved! Go to Solution.
03-02-2018
02:28 AM
- last edited on
01-10-2025
06:25 PM
by
Content Cleaner
Hello San_Punt,
to me this seems to be connected to this known issue of LabVIEW 2013: https://www.ni.com/en/support/documentation/bugs/13/archived--labview-2013-and-2013-sp1-known-issues.... It does not fit your code exactly, but maybe the workaround works for you as well.
LabVIEW will crash on run if array on connector pane is wired to Flatten to JSON primitive
N/A
Workaround: Remove array from connector pane, or wrap array in a cluster. Alternatively, add an Always Copy primitive before calling Flatten to JSON.
Reported Version: 2013 Resolved Version: 2014 Added: 08/19/2013
03-13-2018 07:22 AM
03-13-2018 07:28 AM
07-01-2018 05:25 AM
I am also using json file to Deploy a classification model, earlier i trained a SVM classifier with csv file data set by which i get trained model file in JSON format. now when i give this json file as input to the classification Deployment, I always show the data mismatch between json & labview(Error Code - 370004, 370005). I am not able to attach JSON file but can mail it, with json file reply was not posting. All the details & data are also attached.
07-01-2018 02:11 PM
Try putting the json file in a zip file!
07-02-2018 12:32 AM
i have attached the json file
07-10-2018 02:56 AM
Hello Aman,
I digged a bit deeper into your json. And found two problems in it which are the causes for aml_Read Model from JSON.vi not working:
Does this help you?
P.S.: Apart from this you should have posted your question as a new thread. This ensures more people will read it and you will get an answer much faster!