09-19-2013 09:40 AM
I didn't make any functional changes. I put all the VIs into a GXML library to remove the namespacing, added a compatibility library for backwards compatibility, and built the library into a package.
I have gotten dozens of requests to make GXML into a package so that is what this release is for. I should have put that into the release notes.
Regards,
Jeff Tipps
NI Systems Engineer
10-03-2013 08:58 AM
Oh, dear -- I got carried away and wrote a 12-page "Some Thoughts on GXML". It includes some comments on design philosophy, some suggestions for changes, some ways to easily add significant functionality, and some example code. This is a wonderful implementation of XML in LabVIEW, producing compact, "human-readable" code, yet easy to extend the XML "model" into situations such as Real-Time logging of data over extended time periods.
Bob Schor
10-03-2013 09:25 AM
Well I sure appreciate your time in compiling this. I look forward to reading it.
Jeff
10-03-2013 10:53 AM
Wow, Bob, very nice!
I haven't had enough time to fully go over this, but from just a brief scan I already learned a few things about GXML that I didn't know, and we've been using this as our main configuration file type for over a year.
I look forward to finishing the read and digesting it all.
Thanks for sharing!
Mike
10-08-2013 08:52 AM
Where can I find the release notes for GXML? I'd like to look them over before upgrading my project with the latest release.
Thanks!
Joe
10-17-2013 04:54 AM
I've just "installed" the GXML library (LV2013 and GXML 1.4.1.7), but I can't understand why I get error 537501 with my simple example.
Can anyone help me?
Paolo.
10-17-2013 07:28 AM
Your example consisted of a Strict Type Def cluster. I wired the TypeDef into the GXML Generator and the XML String Out that it produced (without any error) was
<GXML_Root>
<Cluster mems='1'>
<Numeric type='DBL'>0</Numeric>
</Cluster>
</GXML_Root>
So I'm puzzled why you are having problems ...
10-17-2013 07:34 AM
Jeff,
I notice there has been a new release (1.4.1.7) of GXML. I'm happy to submit my "extensions and revisions" to you for consideration in inclusion in GXML (or, if you prefer, to work with you to integrate it in, expanding the examples, providing documentation, etc.). I think having a "single point of distribution" for something as useful as this is a Very Good Idea ...
Bob Schor
10-17-2013 08:07 AM
I see the same as Bob, so perhaps the actual code you are attempting would be a better example.
I've dealt with that error a few times (it is thrown in the Name Filter.vi) Here are some possible reasons (all related to the labels in the data type you wire up to the "Variant" terminal of the Generator.vi):
1) Blank or all whitespace label
2) Non-letter/number/period/dash/underscore character ([^a-zA-Z0-9.-_]) anywhere in a label
3) First character in the label is not a letter
The error text that you see should actually tell you the name of the label it is having problems with, so that would be a good place to start looking.
FWIW, I've customized a copy of the Name Filter.vi to strip all [^A-Za-z0-9.-_] (non letter, number, period, dash or underscore) characters, so I now only get that error if I have a blank label or one that starts with a non-letter. I couldn't think of a good method to replace a non-letter on the first character... so I'm bit by this error from time to time if I have number labeled controls in my data.
10-17-2013 09:34 AM
Sorry, I've attached the wrong file. The correct VI is now attached.
Here is a screenshot.