06-06-2012 09:55 AM
Good afternoon,
how can resolved this problem, before creating an application, the program works and opens the other VI's. But then comes this error (which will annexed).
Solved! Go to Solution.
06-06-2012 10:03 AM
Can you show the diagram of Iniciar.vi?
Apparetnly in this VI you use a invoke node that fails because the Vi ref passed in is invalid. I assume this Iniciar.vi is a launcher and should start you main vi dynamically.
Maybe the main vi in the EXE is not present or has a broken arrow.
Hope this helps
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-06-2012 10:09 AM
Yes you can see.
06-06-2012 10:18 AM
Oh... right, so it's just the FP close method that fails, probably because the VI that just finished to execute closes its' own FP and so the reference becomes invalid before the "FP close" method is called. Try to remove the FP close method and see.
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
06-06-2012 10:25 AM
I will try this way, and the error continue.
06-06-2012 05:14 PM
Wire a boolean true constant to the Auto-Dispose Reference invoke node.
06-13-2012 03:52 AM
Hi...I try this, and not result anything.
Regards
06-13-2012 05:20 PM
The only thing I see right off is your error paths are not complete. Wire up the open VI ref and close ref. Run the VI in develope mode and see if it returns an error. The automatic error handling should have returned something if there is an issue, unless you have it turned off. You should wire your clusters appropriately anyway since this is proper. Delete any unused paths as well on your error clusters. This won't cause an issue but they are of not use.
06-14-2012 12:59 PM
I've tried to build it and it works like a charm.
Maybe the problem is some configuration in your builder?
PS:
Nota que pelo que vi no teu vi, já que estás a fazer uma aplicação executável não é muito boa ideia colocares o caminho dos outros vi associados dessa forma, pois é um caminho absoluto, se eventualmente colocares em outro computador não vai funcionar correctamente a não ser que coloques no disco os ficheiros no exacto caminho que tens no vi.
é mais correcto colocares,
06-15-2012 05:50 AM
But I can't obtain anything. You can send me you code?
Regards