Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

visual basic 2005 express edition and NI488

I have imported the example in  C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET
into Visual Basic 2005 Express, and the program is being flagged with several errors.
 
I think the first problem is that I don't have the correct Reference added for the project.
I am not sure which one to use. I have tried several and none seem to work.
 
Any ideas?
 
 
0 Kudos
Message 1 of 3
(3,683 Views)

Hello nyc,

I have several examples in the folder you pointed to, which example are you trying to use?  I do think there will be some issues with trying to directly call a program written for .NET 2003 in .NET 2005.  The following KnowledgeBase talks about some known issues in doing this with Measurement Studio.  Using Measurement Studio 8.0 with Microsoft Visual Studio 2005.  This KnowledgeBase also includes some links to other informative documents.

Let us know if you have any other questions about this.

Regards,
Angela
Applications Engineer

0 Kudos
Message 2 of 3
(3,653 Views)

I am not using Measurement Studio just Visual Basic 2005 Express Edition.

I am using the SimpleWriteRead example in    C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Examples

I found that I had to add References to the *.dll files in the directory

C:\Program Files\National Instruments\MeasurementStudioVS2003\DotNET\Assemblies\Current

After I did that the errors in the Error List went away.

0 Kudos
Message 3 of 3
(3,647 Views)