01-03-2010 03:50 AM
Using LV 9 with the ARM module on an EK-LM3S8962.
I want to use XML on the embedded target. The data to be converted is a group of arrays in a cluster. The cluster is a type def in the embedded project. The Flatten to/Unflatten from XML VIs from the ARM pallet are used to convert the cluster to XML and back. This works OK on a Windows deployment but the application build for the ARM deployment fails with this message:
Status: Error
linking...
.\Obj\LabVIEW.axf: Error: L6218E: Undefined symbol FXPLoad32 (referred from ccgxmlsupport.o).
Target not created
I suspect this has something to do with the schema. Does a copy of the schema (LVXMLSchema.xsd) need to be included in the build specifications? If so, how does one add this to the project?
Thanx
JohnCS
01-04-2010 12:36 PM
Hi John,
I have been able to reproduce the issue and am currently looking into it. Thanks for your post. I will let you know what I find.
01-06-2010 02:17 PM
Hi John,
This appears to be a bug, however there is a way to get around it. Just add some code that uses fixed point math. So for example, add two fixed point constants together when initializing your program.
01-06-2010 11:58 PM
Will,
Is a CAR filed?
01-07-2010 03:42 AM
Added a fixed point calculation as suggested and now the VI builds and runs OK.
So far so good, but the String to XML primitive does not generate the correct XML string. In my cluster containing two arrays of strings, none of the control labels have been encoded and the array dimensions are encoded as zero. As a consequence, the XML string will not be decoded back to the cluster correctly. In the Windows environment, the same control encodes the labels and dimension sizes.
Is there something wrong with my type def'ed control or with the Flatten to XML primitive as well?
Here's a copy of my project including the build specification but without the built file.
01-07-2010 04:46 PM
muks,
Yes, Will submitted this issue to R&D (CAR #201133) for further investigation.
Kevin S.
Applications Engineer
National Instruments
01-08-2010 04:41 AM
Kevin,
Thanks for mentioning the car number.
01-11-2010 05:10 PM
01-14-2010 05:53 PM
Hey all,
This issue has resulted in three more CARs:
201996 - Flatten to XML does not include names
201998 - Flatten to XML does not retain dimension information
202001 - Unflatten from XML does not return string items from within a cluster
There are no current workarounds for these issues, but we are working on it.
Thanks for bringing this to our attention,