LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 0x09096b07

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.
Download All
0 Kudos
Message 1 of 3
(2,596 Views)
Hi Laeti,

I can't be certain as I don't have all the sub-vis for your application. but it seems to me that you are getting a handle to the COM port then never closing/releasing it. Because this is a dll call LV has an external bit of memory that it can't clean up hence the error when you close LV. Is there a function to close the referance to the com port? Or better still if your USB device just shows up as a virtual COM port in Windows you can comunicate with it via NI-VISA. Just use the configure serial port vi int he serial palette then the VISA read and write Vis to send data tot he device.

Regards

Jon B
Applications Engineer
NI UK & Ireland
0 Kudos
Message 2 of 3
(2,576 Views)
Here is the basic vi that I reveived with the wavelength meter. In the mean time I am gonna try to look at the VISA options that you suggested.
0 Kudos
Message 3 of 3
(2,574 Views)