annulla
Visualizzazione dei risultati per 
Cerca invece 
Intendevi dire: 

execute vi

Risolto!
Vai alla soluzione

Need help Please

I got this error when executing vi from an other.

see error and code attached

 

I thank you in advance

0 Kudos
Messaggio 1 di 13
5.041Visualizzazioni
There is no code attached and could you translate that message?
Messaggio 2 di 13
5.033Visualizzazioni

Translation:

 

LabVIEW: Window that type is Null

The VI of the mean level :"Tableau de bord.vi" was stopped at the unknowen object on the diagram of "A propos.vi".

0 Kudos
Messaggio 3 di 13
5.017Visualizzazioni

Unfortunately, that doesn't shed much light. Can you post your actual code?

0 Kudos
Messaggio 4 di 13
5.008Visualizzazioni

please build the .exe to see the error.

thank you

Scarica tutti
0 Kudos
Messaggio 5 di 13
4.976Visualizzazioni

Hi Sadok

 

You hav to add "A propos.vi" in Always included (Source Files tab build window) while making the build.

 

Regards

Rajesh

Rajesh Raghavan Nair

Certified LabVIEW Architect
Certified Teststand Architect
Messaggio 6 di 13
4.969Visualizzazioni

@rajesh Nair wrote:

Hi Sadok

 

You hav to add "A propos.vi" in Always included (Source Files tab build window) while making the build.


That is only necessary when you call a VI dynamically. That is not being done in this case - the VI is linked statically.

 

 

The problem you have is that by default the application builder will remove the front panel from all subVIs. Since you are calling a VI that's meant to be a popup, you need to make sure the front panel is not removed for that subVI. See attached screenshot.

 

Aside: Do not create Greedy Loops .

Messaggio 7 di 13
4.951Visualizzazioni

how to attacht front panel?

 

0 Kudos
Messaggio 8 di 13
4.931Visualizzazioni
Soluzione
Accettato da Sadok

Hi Sadok,

  I feel everything correct in your VI except a

  1) small delay(100 ms) to be included in the start-up VI(Tableau de bord.vi)'s while loop.

  2)The other Subvi should always be included in the build.

  3)Check the subvi setup node(always the options "Show front panel when called" and "close afterwards after originally closed" should be checked)

 

Regards,

SrikrishnaNF

 

Regards,
Srikrishna


Messaggio 9 di 13
4.923Visualizzazioni

@srikrishnaNF wrote:

  2)The other Subvi should always be included in the build.

 


This is simply wrong! The subVI is statically linked in the VI. It's on the block diagram. There is no need to include it in the "Dynamic VIs" section. It's pointless. When you create a build spec for your projects do you put all of the VIs into the "include" section? Of course not. You only put the top-level VI. Any statically called subVIs are automatically included. By definition.

 


  3)Check the subvi setup node(always the options "Show front panel when called" and "close afterwards after originally closed" should be checked)

This is also incorrect, or rather redundant. The subVI is already setup that way. Right-click on the subVI on the main VI and select "SubVI Node Setup". You will see it's already setup that way.

 

 

As I said, the problem is that the front panel is being removed when building the application. That's why you are getting a null window error. Why else would you be getting that error?

0 Kudos
Messaggio 10 di 13
4.897Visualizzazioni