LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My program will freeze and display 'Resetting VI: Sound and Current.vi'

I have been running a program I wrote and installed on a computer as a stand alone application for a while now.  For some reason The program has been freezing and a dialog box will popup saying 'Resetting VI:  Sound and Current.vi'  which is the name of the vi that the application is built from.  At this point the program will freeze and will not close.  I have to use task manager to kill the application.  Other programs can be run but I cannot reboot using Windows, I have to physically turn the power off and back on to reboot.  I have uninstalled NI MAX and the application itself.  Does anyone know what could cause this or how to fix it?  I am having the laptop checked for hardware problems right now but I'm looking for answers here in the mean time. 
 
Thanks for any help.
0 Kudos
Message 1 of 3
(3,865 Views)
I see that error every now and then in my application (it's still under development though).  I'm not sure why, but I narrow my problem into two possibilities:
 
1. referencing the vi in problem with another vi.  For example, A.vi referencing B.vi, A.vi crashed before B.vi, then B.vi tries to close (causing "Resettig VI: B.vi") but had a reference hanging
 
2. using shared variable.  A.vi and B.vi are using the same shared variables (and/or binding to different variables), when LabVIEW crashed, A.vi tries to write to one or more of the shared variables, while at the same time, B.vi tries to write to the same variable(s), causing a problem
 
I'm not sure if this is exactly why, but that's what I observed from my crashes.  I usually use ctrl alt del to kill LabVIEW, and then restart my computer, and it'll be ok.  Windows will restart, just that it takes a while sometimes.  Hopefully this helps.
 
See-Ming (using LabVIEW 8 on Windows XP Pro with SP2)
0 Kudos
Message 2 of 3
(3,847 Views)
There's also an online KnowledgeBase on this issue that may be of help, which I've linked here.
 
Kind Regards,
E. Sulzer
Applications Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,835 Views)