Calling .NET Wrapper with HSDIO Functions Throws Exception

Updated May 3, 2018

Reported In

Hardware

  • PXIe-5665

Issue Details

Calling HWC_FetchSampleErrors function within the HSDIO .NET class wrapper for NI-HSDIO results in 

Error: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
 

 

Solution

This error is associated with mismatched file bitness.. Check to make sure the bitness of your code and .dll file match.

WAS THIS ARTICLE HELPFUL?

Not Helpful