LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I get a nimax.exe- Application Error every time I start labview

every time I start a vi either by double clicking or by opening labview first I get an application error... "the instruction at "0x1ca12b96" referenced at "0x00000000", The memory could not be "read", click ok to terminate the program". when I click ok the program does not terminate and as long as I don't close labview completely I can close it and reopen the vi. I am unsure if the program malfuncions after that point but it is certainly an annoyance. Have you seen this problem before? Is there something that I should do to the vi to correct the problem? Thanks,
David Long
K.H. Controls
0 Kudos
Message 1 of 6
(5,399 Views)
Hi David,

Can you provide some more background information regarding the application error?

1. Did this error always occur? When did it start? Does it only occur when you load a particular VI?

2. What version of LabVIEW are you using? Did you change your LabVIEW installation recently or update your computer with any additional software? You could always try uninstalling and reinstalling LabVIEW. Usually it's simply a matter of the LabVIEW installation somehow being corrupted.

3. Can you test out the VI on another computer with LabVIEW?

Thanks!

Kileen C.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 6
(5,397 Views)
.
first of all I made a mistake on the error...the instruction at "0x1ca12b95"...(not 0x1ca12b96),

to answer your questions,
1. this error seems to occur randomly (although nothing randomly happens in a computer) the only time the error occurs is at start up of any vi. I am unsure when it began as I am new to the company and have only been using the software for a month or so. This error occurs on any vi, either examples from NI or our own written vis.
2. We are using Labview 7.0, and no changes have been made to the software/hardware. (see 3.)
3. The error occurs frequently on the data acquisition computer. I installed 7.0 on my laptop to try it and found the error to occur nearly every time. One of my colleagues has been running 7.0 on his laptop f
or some time now and did not have to problem until recently. This points to a recent upgrade but noone can remember installing any patches or anything.

I appreciate any direction you can give me...
Dave
0 Kudos
Message 3 of 6
(5,399 Views)
I get a similar error when I try to launch MAX. I use Labview 6i, and have loaded just about every version of NI-DAQ and NI-488.2, giving me versions of MAX 2.0 up to 3.1. Nothing seems to work, I've uninstalled all components, and re-installed, only to have the same error. The error title says (when I launch MAX), "LabWindows/CVI: NiMax.exe - Application error." Inside the message, it says something about 0x... is not at 0x..., the memory could not be "read". Or something along that vain. I don't have the error message in front of me.

I'm not sure what to try next, short of wiping the drive and trying again. Any suggestions?
0 Kudos
Message 4 of 6
(5,354 Views)
I also get the same kind of error on LV 7. The error pops up the only first time I open a front panel or a block diagram that has a VISA control and LV tries to ask MAX for the link to the resource. Once it managed that it works fine and the error doesn't happen again as long as LV is open. I haven't tested it thoroughly, but so far I've only seen it on VISA (I haven't tried other stuff). I also think I saw it on another computer where I installed MAX and an executable. I've recently updated my XP to Service Pack 2 and installed MAX 3.1.

___________________
Try to take over the world!
0 Kudos
Message 5 of 6
(5,352 Views)
I talked to NI about this issue, and tried the following WITH success (note that I am running W2k and Labview 6.0.2):

1. Uninstall all NI components in the reverse order you installed them. For me, this was Ni-Daq, Ni-488.2, and finally Labview 6.0. If you have to, look at the modified or created dates of the folders to see what order you did it in.

2. After this, I decided to go a bit further and delete the registry key for Ni-Daq under HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\NI-DAQ. Make sure you Export your registry key beforehand in case something goes wrong.

3. Install Labview 6.0, custom installation. For this installation, DO NOT INSTALL the drivers, just Labview.

4. After that, I installed the upgrade patch for Labview 6i -> 6.0.2, downloaded at ni.com.

5. Next I downloaded the 2 files for NI-DAQ 6.9.3, uncompressed the files, and ran the setup. When the installation was done, I chose to not reboot now, but let me do it later. At one of these points, you can also Mass compile the VI's. I don't think it's necessary at this point, but I did it anyway.

6. Finally, I downloaded NI-488.2 version 2.2 (which has a new version of MAX than NI-DAQ 6.9.3), uncompressed it and installed it.

7. After this last step, I rebooted the computer and was able to finally get into MAX to configure my DAQ card.

So far, this method has worked. Perhaps it can work for you.
Message 6 of 6
(5,328 Views)