Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deserializing an Array of Cluster of Arrays unnecessarily wraps Inner Array Elements in variants #28

Closed
jimkring opened this issue Sep 19, 2017 · 1 comment
Assignees
Labels
Milestone

Comments

@jimkring
Copy link
Contributor

When Deserializing an Array of Cluster of Arrays, the Inner Array Elements are unnecessarily wrapped in a Variant.

image 9

Note the variant wrapper when flatting to XML using LabVIEW's built-in function (XML shown only for visualization of the problem).
image 10

The solution is to call 'Array of VData to VArray' instead of coercing the Variant Array to a Variant.

image 11

@jimkring jimkring self-assigned this Sep 19, 2017
jimkring added a commit that referenced this issue Sep 19, 2017
Fix for Issues #28 #29 and #30 where inner elements were being wrapped
in a Variant, because 1D Array of Variants were not being explicitly
converted to a Variant Array or Variant Cluster.
@jimkring
Copy link
Contributor Author

Will be fixed in next release (greater than 1.1.10)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant