05-10-2006 09:01 PM
05-11-2006 12:51 PM
To [try to] put the question more clearly:
When calling "Open VI Reference" for use in the "Call By Reference node" a VI type-specifier called "type specifier VI Refnum (for type only)" is a required input. I right-click on it and browse for the VI being called. When the callee changes, it seems to require manually updating the VI prototype by [again] right-clicking on the type-specifier control and browsing for the VI. Is there a way to "automatically" get the type-specifier to follow changes to the callee? I tried pointing the type-specifier to a VIT, but changes to the VIT did not propagate to the Call By Reference node...
Am I missing something?
Thanks, cheers
05-11-2006 05:03 PM
05-12-2006 12:08 PM - edited 05-12-2006 12:08 PM
Andy,
      I appreciate your looking at this, but my results don't agree with yours. ![]()
> However, you shouldn't need to update that type-specifier unless you change the connector pane.
Attached are three VIs a caller, a callee, and a typedef appearing on the connector-pane of the callee.
Changing the typedef breaks the caller until the VI "type-specifier" is updated (manually.)
When using a "plug-in" architecture, the caller may load an old type-def that agrees with the [old] type-specifier - so the caller is happy.  However, the callee may use a new/different type-def, yet the problem won't show-up until it's called - under LabVIEW RUN-TIME, where there's poor "visibility" into the problem.  I don't see a way to improve this situation - but I'm open to ideas! ![]()
Thanks, Cheers.
Message Edited by Dynamik on 05-12-2006 12:09 PM
05-15-2006 06:30 PM
05-15-2006 11:46 PM
Hi Andy,
      That's a very creative idea - it would eliminate the typdef-change problem - perhaps at the expense of conversion overhead (not to mention the philosophical/aesthetic implications.) ![]()
It's very tempting....
I hope in future releases, NI will track the presence of a typedef in the type-specifier so that it can be updated as are other instances!
Cheers.
05-16-2006 05:50 PM