03-01-2016 01:49 AM - edited 03-01-2016 01:50 AM
I found a lot of posts talking about access violation but most of them relate to LabView and not to NI MAX, as is the case here.
I get an access violation error (0xC0000005 at EIP=0x106399AE) every time I try to create a new task from NI MAX by selecting a USB DAQ device. I tried both with USB-6009 and USB-6211, same problem faced. The device is recognized correctly (self test passed) but when I try to create a new task I complete the whole procedure and when I click finish I get the error. This causes also programs from LabView that use the tasks from NI MAX to crash.
This first happened after updating the NI DAQmx drivers to a new version, but then I recognized that that version was incompatible with Labview installed on that machine (8.6). I tried to fall back using a restore point in windows and reinstalling the 9.5.1 DAQmx drivers (the latest drivers supported by the LabView version.
I tried to "Reset Configuration Data" from NI MAX (under tools menu) with no success. The WindowsXPUSBhotfix is also installed in the system. Any help?
I also sent a support ticket to NI: c82f5b4f-d774-40a2-8341-4dbeee9df876
PC specs:
Windows XP SP3
LabVIEW 8.6
NI DAQmx 9.5.1
Solved! Go to Solution.
03-03-2016 02:30 PM
As annoying as it may be, I'll bet this is a driver issue. Something old got stuck or corrupted or something like that.
I would try to force reinstall DAQmx one more time to see if that helps. It works for me about 8 out of 10 times for stuff like this.
Full instructions here:
http://digital.ni.com/public.nsf/allkb/ADD22E807D5A12AD862579EC00760F79
-Jim
03-05-2016 02:59 AM
Dear JBizzle,
thank you for your help! I tried following your suggestions, however the NIDAQmx drivers come within a suite installer, which does not allow to use the /reinstall option. I found the specific NIDAQmx subfolder (there are actually 3: NIDAQmx, NIDAQmx_Config, NIDAQmx_Core) but there is no .exe, only .msi installers which, again, do not allow for /reinstall option. What is the procedure you usually follow?
I also tried to update the NI MAX to version 5.6 (via the NI System Configuration installer) but this did not solve the issue.
Best,
Francesco
03-15-2016 12:44 PM
The error was finally solved by uninstalling NI MAX and LabView and then reinstalling all the required software. In particular, the configuration that worked was:
- NI MAX 5.1 (includes NI-DAQmx 9.5.1)
- LabView 8.6
- NI-488.2 2.6 (includes NI VISA 4.4.1)
the last one was needed in order to connect to another acquisition device. With the above setup, the DAQ assistant worked and generated a task, but when the program was launched, the task was not able to recognise the correct device (device name was an empty string). Thus I converted it to a NI-DAQmx task, and now it works. (Don't really know if this quick passage would have been a good workaround from the beginning.)