09-20-2008 12:38 PM
Hi All,
I want to run number of different VIs in my application, but i am getting error in Open VI reference to run the VIs,
error is below:
Possible reason(s):
LabVIEW: VI Reference type does not match VI connector pane.
What should I do to make that VI reference type as generic.
Please help me ASAP
Thanks
Ram
09-20-2008 01:21 PM
Hi Ram,
do you have a type specifier reference wired to the corresponding input of the open VI reference function? Leave the type specifier VI Refnum input unwired to open a generic VI reference.
Hope this helps,
Daniel
09-21-2008 05:01 AM
Hi Daniel, thanks for ur reply.
if i removed the VI type reference , then the corresponding VI becomes not-executable.
what should i do for that ?
Ram
09-21-2008 09:30 AM
09-22-2008 02:25 AM
I guess you're using the "Call by reference" node then. This is only possible if you open the VI reference with a type specifier.
If you want to do this, then all the VIs that you're going to call dynamically must have exactly the same connector (matching the type specifier connector).
If this is not the case you either have to make all connectors the same or you can't use "Call by reference".
You can still call your VIs dynamically using the methods "Set control value" and "Run VI".
Daniel