04-03-2005 11:41 AM
04-03-2005
01:10 PM
- last edited on
10-29-2025
06:22 PM
by
Content Cleaner
Visa32.dll does contain those definitions in an embedded type library. Type libraries can contain functions that are defined on a module where the functions provide type information for DLL entry points. The problem, though, is that VB.NET uses tlbimp.exe to generate an interop assembly that contains .NET equivalents for the type definitions in the type library and tlbimp.exe does not support module functions.
Since you're using VB.NET, a better option would be to use the native .NET interface to the NI-VISA driver. For more information, see the Knowledge Base article "VISA and GPIB application development using C# or VB.NET".
- Elton
04-06-2005 04:26 PM
04-07-2005 05:14 PM