01-21-2004 11:39 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-22-2004 02:35 AM
01-22-2004 04:11 AM
01-22-2004 08:21 AM
That's what I had guessed, and further tests show that it seems to work OK, if I accept "running" as NOT a reason to stop the show.
I suppose it makes sense if you think of it as a substitute for a direct use of the subVI. By opening the reference, you are in effect placing that VI on the current block diagram, and therefore it's running as a child of the current VI.
Calling by reference is similar to a static call here;when the caller runs it has all the static sub-VIs and the open by reference VIs reserved for execution
--- But there's something missing from that explanation - the error occurs BEFORE the call-by-reference. I've OPENed the REF
ERENCE and examined a PROPERTY.
Apparently the fact that it's a STRICTLY-TYPED reference makes a difference in the value of the PROPERTY (EXEC state). I would expect this same behavior in both cases, but it's different.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-22-2004 08:23 AM
Do you know if that's faster / slower / what?
My hunch is that it would be slower, and I'm counting cycles here.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-22-2004 08:25 AM
But that's demonstrably not the case.
As I said, in my original post, opening a NON-STRICTLY TYPED reference to a VI results in an execution state of IDLE.
It is THIS difference that I tripped over.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-22-2004 08:40 AM
01-22-2004 09:32 AM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
01-25-2004 08:47 PM