01-27-2022 10:06 AM
@paul_cardinale wrote:
When I try to do that in my pop-up menu code, I always get Error 91 out of "Variant to Array".
Probing the "Value" variant, it looks good:
'TestFrame Light Settings.lvclass': TestFrame Light Settings.lvclass [LabVIEW Class]
TestFrame Light Settings.lvclass
I was able to work around that. But now this piece of test code throws error 1106, Why?
01-27-2022 10:57 AM
@paul_cardinale wrote:
@paul_cardinale wrote:
When I try to do that in my pop-up menu code, I always get Error 91 out of "Variant to Array".
Probing the "Value" variant, it looks good:
'TestFrame Light Settings.lvclass': TestFrame Light Settings.lvclass [LabVIEW Class]
TestFrame Light Settings.lvclass
I was able to work around that. But now this piece of test code throws error 1106, Why?
Not sure, that seems to be no problem in a VI that's in the normal context..
01-28-2022 09:10 AM
Here's my attempt. It doesn't work, and I can't figure out how to fix it.
To try it:
The code will pause at a breakpoint in "Execute Edit Object Data,vi". The error occurs after that (1106 or 1527). Notice that the code tries every possible context; they all fail.
01-31-2022 03:41 AM
There's a missing VI (Edit Object Data Presenter.vi, or something like that)...
01-31-2022 07:29 AM
wiebe@CARYA wrote:
There's a missing VI (Edit Object Data Presenter.vi, or something like that)...
When I open it, nothing is missing.
01-31-2022 07:43 AM
@paul_cardinale wrote:
wiebe@CARYA wrote:
There's a missing VI (Edit Object Data Presenter.vi, or something like that)...
When I open it, nothing is missing.
When I open it, Edit Object Data Presenter.vi is missing...
01-31-2022 07:56 AM
wiebe@CARYA wrote:
@paul_cardinale wrote:
wiebe@CARYA wrote:
There's a missing VI (Edit Object Data Presenter.vi, or something like that)...
When I open it, nothing is missing.
When I open it, Edit Object Data Presenter.vi is missing...
OK. Fixed that.
02-01-2022 05:15 AM
I can't get it working either. At least not with XML.
I'm pretty sure it's something in LabVIEW preventing this.
Flattened data seems to work. I have only tried this with copy-paring data, so not with automated string manipulation. However, copy-paste flattened data works, while copy-pasting XML doesn't.
02-01-2022 09:40 AM
wiebe@CARYA wrote:
I can't get it working either. At least not with XML.
I'm pretty sure it's something in LabVIEW preventing this.
Flattened data seems to work. I have only tried this with copy-paring data, so not with automated string manipulation. However, copy-paste flattened data works, while copy-pasting XML doesn't.
OK. Do you have anything in your bag of tricks to convert flattened data between cluster and class?
02-01-2022 10:21 AM
@paul_cardinale wrote:
wiebe@CARYA wrote:
I can't get it working either. At least not with XML.
I'm pretty sure it's something in LabVIEW preventing this.
Flattened data seems to work. I have only tried this with copy-paring data, so not with automated string manipulation. However, copy-paste flattened data works, while copy-pasting XML doesn't.
OK. Do you have anything in your bag of tricks to convert flattened data between cluster and class?
I'll have to dig. Deep.
I'm sure OpenG has tools for that (never used them though).
IIRC, from an cluster to an array of variants to flattened data back to the cluster isn't that hard.
I can't remember I ever had to decorate a cluster back to a class, back to a variant (if that's needed).