Trying to create a sub-vi that uses .NET constructs to access various types of data from a database. I would like to have this single sub-vi handle all cases of requests for different types of information (via enumerated control input to the Case) so that in the event that changes are made to the C# dll, I only have to update the .NET Assembly References in one vi and then rebuild and deploy the application.
However the data returned from the sub-vi can be in many different forms depending upon the data requested; such as an array of clusters, a single Boolean, a cluster of doubles, etc. Was planning to use Bundles with a Case structure, but any data piped out of each of the cases must be in the same fixed format, so this appro
ach does not appear to be feasible.
Any suggestions as to a solution? I was eyeballing VI Server (Get Indicator Values?) or Property nodes as potential solutions by keeping the indicator data within each case (as opposed to piping it out), but no experience with these approaches (yet). Am I on the right track?
Thanks
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~