06-19-2009 05:57 AM
The mixed nature of an input connection on Obtain Queue VI , being both data type and element at the same time, have not allowed me to use clustered input data type with any data type at the inputs of the cluster in the new VI. how can this be worked around?
06-19-2009 07:38 AM
06-19-2009 09:34 AM
I'm not sure at all that I understand what you're asking, but if you're asking if you can create a subVI that uses Obtain Queue and can accept any data type as input, the answer is that you can't. You can come close by using a variant as the subVI input, which will accept any data type, but you'll have to convert the variant data back to the desired cluster type when you dequeue an element.
The Data Type input of Obtain Queue is not also an element, it simply defines the type of data that will be stored in the queue. A queue cannot contain mixed data; every element in the queue must be of the same data type.