LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Defining outputs for Unbundle By Name

How do I define the outputs for an Unbundle By Name object if the input cluster is not defined until it executes?  I have the output from a Unflatten From JSON object connected to the input of an Unbundle By Name object.  The JSON string is not defined until it executes.  If I temporarily create a cluster that defines the names and connect that to the Unbundle By Name, I can define the outputs, but as soon as I disconnect the cluster, the Unbundle By Name outputs change to type Void.  Any ideas?

0 Kudos
Message 1 of 4
(1,137 Views)

You can't.

 

Clusters are defined at edit time.  There is no such thing as defining them during execution.

0 Kudos
Message 2 of 4
(1,126 Views)

Ok, I figured it out.  The Unflatten From JSON object has a type/defaults input where you connect a cluster just to define the names.  Then the names get passed to the Unbundle By Name.

0 Kudos
Message 3 of 4
(1,101 Views)

Yes.  That info is in the context help.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 4 of 4
(1,058 Views)