FOUNDATION Fieldbus

cancel
Showing results for 
Search instead for 
Did you mean: 

Windows 7 Fieldbus AccessViolationException

My code works on WinXP, but produces the following error on Win7 32-bit System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that other memory is corrupt. at NationalInstruments.FieldBus.Wrapper.interMac.makeIndex(Int32 i) at NationalInstruments.FieldBus.Vfd.Open() ... Same error when I run either Communications Manager 3.2.1 or 4.1.1. Tried turning DEP off, but there was no change. The crazy thing is that NI Dialog works just fine, only the dll calls fail. I'm using a 3rd party .NET interface that calls NationalInstruments.Fieldbus.dll version 3.2.3.4008, could this be part of the problem?
0 Kudos
Message 1 of 2
(6,866 Views)

Hi,

 

I am confused your dll version is 3.2.3 and CM version is 4.1 or 3.2.1. They are dismatched. Could you use the components in one installer?

If possible, could you tell us the detailed reproduce steps?

 

I see you are opening the vfd. Which vfd do you want to use? MIB or FBAP, if you want to use MIB, please note that the there is an separed MIB class.

 

Thanks

0 Kudos
Message 2 of 2
(6,859 Views)