08-18-2010 09:38 PM
Hi. I have just imported a project that worked well in LV8.2 into LV2009 SP1 (both on the same Vista machine) and find it does not work. I use an Invoke Node to launch a vi and the invoked vi does not want to run, code is shown in picture.
The "FP.Open" and "FP.IsForemost" do work, the FP does what it is told. I have put probes on the parts of the invoked vi that would run first off and the probes show that nothing has happened. Also I can run the invoked vi on its own and there is no problem, it executes as I would expect.
Any thoughts on how I might progress this issue would be appreciated. Thanks.
Solved! Go to Solution.
08-18-2010 11:17 PM
Problem solved. The vi I was invoking was also in a case statement in the vi doing the invoking. The particular case was never ever executed. It was my way of ensuring that the vi was loaded. This worked ok in LV8.2 but not in LV2009. I removed the vi from the case statement and then everything ran as it had previously. Appears we have a difference in behaviour between the versions.
Now I just have to figure out how to make sure the vi being invoked is loaded when I load the invoking vi. Not a problem in the App builder, but not as convenient in the development environment.
08-19-2010 12:28 AM
Drop a Static VI reference from the application palette, and drop your VI into that little helper.
That should load the VI into memory.
Ton
08-19-2010 12:39 AM
Very nice, does the trick . Thanks for that. There is always something new to learn.