Aristos Queue Posted August 31, 2012 Report Posted August 31, 2012 Over in the community forum, I have finally gotten around to posting the prototype for my serialization library. The prototype supports serialization to and from JSON for 9 data types and to XML (my own schema) for the same 9 (listed below). https://decibel.ni.com/content/docs/DOC-24015 Please take a look. I've made it a priority to finish out the data type support for the framework generally and for the JSON format specifically. I will need community help to tackle any other formats: the framework is designed to make a single pair of functions on a class handle any file format, but the particular formats on the back end are not my specialty. Please post all feedback on the ni.com site so that they stay all in one place and I can follow the threads easier. 1 Quote
ShaunR Posted August 31, 2012 Report Posted August 31, 2012 Over in the community forum, I have finally gotten around to posting the prototype for my serialization library. The prototype supports serialization to and from JSON for 9 data types and to XML (my own schema) for the same 9 (listed below). https://decibel.ni.c.../docs/DOC-24015 Please take a look. I've made it a priority to finish out the data type support for the framework generally and for the JSON format specifically. I will need community help to tackle any other formats: the framework is designed to make a single pair of functions on a class handle any file format, but the particular formats on the back end are not my specialty. Please post all feedback on the ni.com site so that they stay all in one place and I can follow the threads easier. There is a broken VI in the latest version 0.3 (never seen this error before, presumably because I shy away from xnodes). Quote
Aristos Queue Posted September 1, 2012 Author Report Posted September 1, 2012 Did you install the Error Ring XNode from the web or something? This shouldn't happen with the one that ships with LV 2012. (And you probably don't shy away from them... lots of nodes in the palettes are XNodes but don't look like it.) Quote
ShaunR Posted September 1, 2012 Report Posted September 1, 2012 (edited) Did you install the Error Ring XNode from the web or something? This shouldn't happen with the one that ships with LV 2012. Nope. It's a (2012) vanilla install (same in both 32 and 64 by-the-way). Edited September 1, 2012 by ShaunR Quote
Onno Posted September 3, 2012 Report Posted September 3, 2012 (edited) Getting the same error here (LabVIEW 12.0f1 32-bit). The project looks very interesting though! Edited September 3, 2012 by Onno Quote
Aristos Queue Posted September 4, 2012 Author Report Posted September 4, 2012 Fixed. I had edited my XNode... the equivalent of the "conpane does not match" error for subVIs. I was playing around and forgot to undo my changes before posting the library. Quote
ShaunR Posted September 26, 2012 Report Posted September 26, 2012 Forgot all about your little project until I read Reading Json Just had another look (no errors now). I know it's in it's infancy, but I wasn't really sure how to use it if I wasn't using classes. Is the intention to only support classes? Quote
Aristos Queue Posted September 27, 2012 Author Report Posted September 27, 2012 Is the intention to only support classes? No other data type can define its composition function. If you want to create a class to wrap a raw cluster type, that's easy enough to do. But something has to supply the data translation layer and no other type has that ability. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.