annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

Build Aplication

Risolto!
Vai alla soluzione

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).

 

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Messaggio 1 di 23
4.116Visualizzazioni

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

Antoine Chalons

0 Kudos
Messaggio 2 di 23
4.107Visualizzazioni

Yes you can see.

 

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Messaggio 3 di 23
4.102Visualizzazioni

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

Antoine Chalons

0 Kudos
Messaggio 4 di 23
4.094Visualizzazioni

I will try this way, and the error continue. 

 

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Messaggio 5 di 23
4.091Visualizzazioni

Wire a boolean true constant to the Auto-Dispose Reference invoke node.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Messaggio 6 di 23
4.073Visualizzazioni

Hi...I try this, and not result anything.

 

Regards

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Messaggio 7 di 23
4.041Visualizzazioni

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.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Messaggio 8 di 23
4.017Visualizzazioni
Soluzione
Accettato da autore argomento hugosantos

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, 

vi path.png

0 Kudos
Messaggio 9 di 23
3.999Visualizzazioni

But I can't obtain anything. You can send me you code?

 

Regards

Hugo Santos
Student at ISEC - Master Mechanical Equipment and Systems
0 Kudos
Messaggio 10 di 23
3.977Visualizzazioni