Hi,
I would like to implement the polymorphic behavior exhibited by the Queues, in the VIs that we develop.
To explain this more, I have attached 2 files along with this email. In the "queue1.jpg file", when we wire a datatype to the input of the "Obtain Queue" VI we can see that all the queue VIs wired to the same reference exhibit the same datatype. If we do a create control/indicator on the enqueue/dequeue VIs, the control/indicator created will be the same as that of the datatype wired in the "Obtain Queue" VI.
As in "Queue2.jpg", if we replace the simple cluster in the "obtain queue" VI with a complex cluster. We can see the datatype of enqueue/dequeue VIs change as well.
I would like to implement this feature in the VIs we develop as it will make the VIs highly flexible and reusable in many situations. Is this possible?
I would gladly appreciate any help.
Thanks
KT
(Kumar.K.T)