LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exception Error 0x5F4 deletechildobject.vi

Hello,
 
I am getting a very strange error.
 
I am using the storage vi's in my application.  On my development machine my application runs fine.  When I build an executable and use it on another machine I get the following error.
 
Exception error  0x5F4 _deleteChildObject.vi.  I think there is a problem with the delete run group vi but I don't know what it could be.
 
When I run the executable on my development machine I don't have a problem.
 
Please advise.
 
Dan

Dan Shangraw, P.E.


   

0 Kudos
Message 1 of 17
(4,210 Views)
I have attached a screen shot of the error

Dan Shangraw, P.E.


   

0 Kudos
Message 2 of 17
(4,197 Views)
I have attached a snipit of code along with a .tdm file that causes this error.  I have run this under LabVIEW not as an executable on my customer's machine and I get this problem.  On my machine I don't get this error.

Dan Shangraw, P.E.


   

0 Kudos
Message 3 of 17
(4,189 Views)
Hello,
 
After trading the your path creating subVI (which was not attached) for a hard path to the TDM file you attached, I successfully ran both the VI and an executable I built from the VI.  I was hoping to reproduce the error here so I could explore it.  Any more information you have on this issue would be helpful - perhaps you can attach your executable - maybe that explains the problem on your machine (although it wouldn't explain the problem on your customer's machine).  I imagine you may have already tried this, but maybe a mass compile would help if something in the VI is corrupted on your machine (holding control and shift, and then clicking the run button will mass compile your code in LabVIEW).
 
Sorry I couldn't reproduce it, but I look forward to your repost with any additional information and possibly a failing executable version of your code (you can use the path functions such as Current VIs Path - see the File I/O -> File Constants palette - to get the base path to the same directory your executable is called from... then use that to call the TDM file which can sit in the same directory, and I can put it there to run your exe).
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 4 of 17
(4,169 Views)

Here is the file the contains the current vi path vi.

I noticed in my research that in upgrading to 7.1.1 you need to do a mass compile.

If I created this in 7.1 and ran it on a machine with 7.1.1 and did not do a mass compile, is it posible that this exception error would occur?

Dan Shangraw, P.E.


   

0 Kudos
Message 5 of 17
(4,167 Views)
Hello,
 
I don't think it was your path creating VI that was the problem.  As I noted, I provided the path directly to your TDM file, and successfully ran your code both as a VI and as an exe.  Does a mass compile in 7.1.1 eliminate the error?  Can you attach your exe so I can see if it causes an error on my machine?
 
I hope a few more tests will begin shedding some light, an eliminating some possibilities.
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 6 of 17
(4,157 Views)

I have been able to reproduce this error by doing the following.

Install the LabVIEW runtime engine 7.1 or 7.1.1 on a machine that has never had NI software on it.

Run the attached program.

Dan Shangraw, P.E.


   

0 Kudos
Message 7 of 17
(4,145 Views)
Hello,
 
I will clean a machine, try this, and post the results tomorrow as soon as I can!  In the mean time, I think the best thing to do is to look for the ways in which it will work - the minimum required installations such that your application built into an exe will function - but that's just the practical side.  We'll still look into the theoretical side too!
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
0 Kudos
Message 8 of 17
(4,125 Views)

Hello,

The code you attached does not complete on the cleaned machine (7.1 RTE only), but for a different reason that you indicated for your tests.  You have to be a little careful about relative paths when building executables in order for them to run on any machine they are taken to... can you verify that things should be ok in that exe - I currently get the attached error when trying to run your exe.  Note that I get the same error on a machine which does have NI software installed as well, so the current behavior I observe does not seem to be correlated with a machine that only has the RTE installed.

I look forward to your repost!

Best Regards,

JLS

Best,
JLS
Sixclear
0 Kudos
Message 9 of 17
(4,116 Views)

Hello,

Sorry about that.

That error is caused by the run group not being there.  You have to reload the template.tdm file every time you run this program or else you will get that error.  This program deletes the run group in the TDM file if everything works correctly

Before you run the program save the templat.tdm file off someware so you can replace it every time you run the program.

Here you go.

Let me know if you have any more problems

Dan

 

Dan Shangraw, P.E.


   

0 Kudos
Message 10 of 17
(4,113 Views)