Jump to content

kosist90

Members
  • Content Count

    8
  • Joined

  • Last visited

Community Reputation

0

About kosist90

  • Rank
    LAVA groupie

Profile Information

  • Gender
    Male

Contact Methods

LabVIEW Information

  • Version
    LabVIEW 2016
  • Since
    2012
  1. Actually, we have implemented it in the following way - I attach snippet, and VI itself. VI is broken, b/c it is not part of the library... And the issue is that we are kind of able to use this solution, but then we need to manage somehow the fact, that it should be part of SQLite library. And then, we will not be able to update it from VIPM, b/c we will loose the changes. Could you please suggest, whether such solution could be the part of the original toolkit? If so, my colleague could open pull request, or something... The original VI (which returns just single cluster) was modified in a way, that now multiple rows are read, and built into array. And then, this array is possible to convert to array of clusters using "Variant to Data". Execute SQL (Array Variant Cluster results mod).vi
  2. Thank you for the answer! Actually, I'd like to prepare some "universal" VI, which could be reused to read different cluster types, for different tables. My colleague has implemented code which does something similar as reading of variant is done (Execute Query polymorphic VI), but anyway it has limitation of column numbers, and it uses some Vis from your toolkit which have "private" scope. So actually then we can not distribute it, because it is not part of toolkit's package... As we use LabVIEW 2015, VIM is also not a solution for us... The only workaround now seems to be to convert 2D strings array to cluster somehow - but that is also not the best solution...
  3. Is there a way to read from database array of clusters? It is possible to read single row as cluster, but I'm curious whether it is possible to read all rows to clusters array?.. Thanks a lot in advance!
  4. Thanks a lot! Now I see - I didn't know, that there is no exact standart for it.
  5. Let me, please, also ask a question regarding the toolkit. Currently to prettify JSON string, I use function Reformat.vi. But, no matter which value of "Pretty Print Levels" I set, the output is the following: { "Item":{ "Property1":{"Name":"Property1 Name","Active":true}, "Property2":{"Name":"Property2 Name","Active":true}, "UID":43, "Active":true } } But, I'd like to have it as the following (with prettified nested objects): { "Item": { "Property1": { "Name": "Property1 Name", "Active": true }, "Property2": { "Name": "Property2 Name", "Active": true }, "UID": 43, "Active": true } } Is it the expactable behavior, or some kind of bug - that somehow it does not prettify nested JSON objects... JSON itself I generate using Unflatten JSONpath Array to Object.vi function - as inputs I set JSON paths, and values - and after that, Reformat.vi is applied... Thanks a lot in advance, Sincerely, Ivan.
  6. Thank you for your reply - I've already tried, and succeed to downconvert it to LabVIEW 2015; everything seems to be working. I'd rather use it as plain lvlib, because I do not prefer using packed libraries... Thank you!
  7. If I'd like to use this library in LV 2015 - is it permitted that I could re-save code to LV 2015, and use it as library there?
×
×
  • Create New...

Important Information

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