I created a typedef for a subVI and would like to have a bundle outside the subVI to use as input to the subVI. I couldn't seem to find any way to create a bundle of the custom typedef type. Right now, I am using a workaround: I created a constant of the custom typedef type and then am using the Bundle By Name function. This seems to work, but I would like to be able to get rid of the constant completely and just be able to build a bundle of the custom typedef type directly. Is this possible?
Thanks
Hi rakornet,
sorry, i don't understand what you need. Can you please show a picture of your workaround and maybe one of your expected bundle?
Trying to help
Mike
Hi oyester,
do you want to set your values inside of the subvi? If yes, write all your values to your control, right click on it and select "make current values default".
Mike
There is no way to directly associate a Bundle or Bundle By Name function directly to a typedef. The source of the middle input on those functions has to come from someplace. This can be a cluster constant that's made from a typedef, or it can be the output of a subVI that return the typedef cluster.
If you wish, you can suggest this as an improvement in the Product Suggestion Center.