03-02-2016 11:50 AM - edited 03-02-2016 11:51 AM
Example use: In for instance queued message handler there is a cluster holding references to front panel indicators and controls.
I have a type-def'ed front panel cluster which I need to add to this cluster of references.
In the typedef for front panel controls (shown above), I place a control refnum then
Right click it ->Select Vi Server Class -> Generic -> GObject -> Control -> Cluster -> Cluster.
This does however not produce a typedef of the strict type which I need.
How can I acieve this?
I manage to place controls into the typedef cluster of common simple types (numbers, strings etc.) by placing a control refnum in the cluster and (for string control reference)
Right click ->Select Vi Server Class -> Generic -> GObject -> Control -> String -> String
Think this works because they dont need to be strict typed.
Solved! Go to Solution.
03-02-2016 12:25 PM
Drop an instance of your cluster type def on the FP then drag it into the referance.
03-02-2016 01:07 PM
Thanks Jeff, exactly what I was missing.
03-02-2016 01:14 PM
@heel wrote:Thanks Jeff, exactly what I was missing.
Its one of those "Tricks" that once you know it you know it and wonder; "Why didn't anyone tell me I could just do THAT?" it happens all the time!