LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Main vi gets corrupted after changing subvi

I have a main vi with a subvi in several layers in the hierarchy. After changing the subvi, the main vi does not open anymore, therefor gets corrupted.
I have a backup. It happened also with the backup. What should I do ?
0 Kudos
Message 1 of 6
(2,824 Views)
Hai,
what you mean by corrupted? could you explain bit more what happened to main vi?
 
 
 
Thanks,
Mathan


Message Edited by mathan on 06-12-2008 05:11 AM
0 Kudos
Message 2 of 6
(2,815 Views)
hi

give more details like:

what is the vi doing?
what is the sub-vi functionality?

what changes did you make?

and anything more that might help us to understand the situation.

with the given info, we cannot frame any idea!


thanks

0 Kudos
Message 3 of 6
(2,814 Views)

The subvi is a functional global, where I added a case in the case structure.

After that you have to replace the enum constant for all the subvi calls in the main vi.

That is all I changed. After that the front panel of the main vi did not open anymore, and after a few seconds Labview(version 8.2.1) does not respond anymore.  

0 Kudos
Message 4 of 6
(2,788 Views)

Hi Bart,

replace your enum with a type-def'd version. I wrote this Nugget to help with this exact question. Please review that Nugget and post follow-ups if you still have questions.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(2,782 Views)

Hello Ben,

Thanks for the advise. I followed it up, works fine now. 

0 Kudos
Message 6 of 6
(2,753 Views)