Exception when calling OpenUnit

Post your .Net discussions here
Post Reply
pietro
Newbie
Posts: 0
Joined: Fri Feb 09, 2024 1:38 pm

Exception when calling OpenUnit

Post by pietro »

I need to write C# code for a Picoscope 3206DMSO. I am getting a consistent error in my code, and even in the sample code provided by Pico Tech. The error is BadImageFormatException when calling Imports.OpenUnit. This occurs with the sample code PS3000ASigGen as well as with my own code. I tried specifying the exact path to the dll. Can someone please advise.

Post Reply