Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

Access Violation in NIPALU.DLL

When using Traditional NIDAQ in Visual C++ 6, I get an Access Violation exception whenever I run any NIDAQ code. Even the examples cause them from time to time.

It always occurs in pairs (that is, the same exception gets thrown twice in a row) and seems to happen most inside of Init_DA_Brds and Get_DAQ_Device_Info. I set a breakpoint on those functions and there is no exception, step over them and the access violations appear.

What's causing this and how can I make it stop?

"First-chance exception in --- (NIPALU.DLL): 0xC0000005: Access Violation."
0 Kudos
Message 1 of 3
(3,265 Views)
Hello Matt,

I believe that the problem you are experiencing is documented in this Knowledge Base article. The article includes several steps for troubleshooting this issue.

If this does not resolve your issue or you believe your error condition is not covered by the article, please reply with the results of the additional steps.

Thank you,
Kyle Bryson
National Instruments
Message 2 of 3
(3,265 Views)
Kyle,

Thanks for your help. Indeed, that article did describe my problem. I solved it by installing the 7.1 set (I had 7.0) which also added NIDAQmx support for both of the cards I'm working with (PCI-DIO-96 and PCI-6014) so that was a pleasant side effect.

Thanks,
Matt
0 Kudos
Message 3 of 3
(3,265 Views)