Hi there,
I am trying to set the value of a PropertyObject which is existing and is of a defined proprietary type.
Looking a the API for PropertyObject, it seems SetValVariant is the method to use.
From within a Sequence / Statement Step,it works
RunState.SequenceFile.AsPropertyObject.SetValVariant("Data.Attributes.Test.Test", 0, Locals.Test)
Yet, I need to doe this from LabVIEW, and that's where I get a type error
My intended use case is to write data generated in LabVIEW using a cluster (TestStand TypeDef Clusterpassing enabled and correctly configured)
For debugging I used the code module also directly form TestStand just to make sure passing Locals.Test as the variant value. Same error.
My conclusion is, Type information is getting "lost" using LabVIEW variants.
Any ideas on how to handle this correctly?
TS 2023Q4 LV2024Q1
Cheers
Oli