03-27-2018 05:07 AM
Oh hi!
Unfortunately, the help document for this method doesn't provide much additional insight, so I'm turning to the fine users of the even finer product that is VeriStand to assist me.
How, may I ask, do I use the "type" and "value" outputs to get my original data?
To note, the string constants are just placeholders.
Heartfelt thanks,
Mike
03-27-2018 12:04 PM - edited 03-27-2018 12:05 PM
To answer your question in the free label, no you're not even close. Why do you need to access a variant property?
Attached is how to unflatten the Type and Data fields (LV 2017).
Note this could change at any time, as this API is unsupported and mostly for NI R&D's internal use.
--Eric
Eric M. - Senior Software Engineer
Certified LabVIEW Architect - Certified LabVIEW Embedded Systems Developer - Certified LabWindows™/CVI Developer
Neosoft Technologies inc.
04-24-2018 06:42 AM
Hi Eric,
Sorry that it's taken me forever to respond, but I really appreciate your quick and helpful response!
I'm using a variant because I have several 2D arrays serving as look-ups that can have different lengths and I don't want LabVIEW to append 0s to the shorter ones (see MyData in snippet below).
Do you have any suggestions as to a different approach?
Mike