Each time that I run my vi, I have a problem with the 2nd frame of my sequence. This frame enables to get the wavelength indicated by a wavelngth metre. When I run it, I need to push the button "start", then it changes to "get wavelength", which you need to press to get the wavelength, and then press the button "done" to pass to the next frame. Until that everything is fine. The problem is coming when I tried to run the vi a second time, after the first frame, the user can press that the button "start", as before and then "get wavelength", and that's where the problem is, because instead of the wavelength, it shows a "-1" value. It is impossible to run the vi twice and have the 2nd frame working the second time. To make it working again I need to close Labview, and then I get an error message saying that "the instruction at 0x09096b07" referenced memory at "0x09096b07". the memory could not be "read"." And then to reopen labview and the vi.
Could someone help me ?
I attached a screeshot of the error, the vi and the filr report for the error.
I am using labview 7.1.