08-01-2007 10:51 AM
08-02-2007 04:07 AM
08-02-2007 09:57 AM - edited 08-02-2007 09:57 AM
Stéphane -
The GPIB driver includes two .NET libraries, one for .NET Framework 1.1 and one for .NET Framework 2.0. I have attached a screenshot of what this looks like in the installer feature tree in the driver CD. If you have the GPIB CD, it should look similar.
If you are using Visual Studio 2005, I recommend that you use the .NET Framework 2.0 libraries.
That aside, the .NET Framework 2.0 can execute .NET Framework 1.1 assemblies just fine, so it is unlikely that this is the cause of the slowdown. I think you should look elsewhere for the cause. Does the slowdown occur only the first time you create the Device object? If so, can you create the Device object at startup and hold onto it throughout your program so that you take this performance hit only once? Have you tried to do a similar operation in the GPIB interactive control application or another such tool to see if this is just the time it takes to communicate with your device?
David Rohacek
National Instruments
Message Edited by drohacek on 08-02-2007 09:58 AM