Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Libraries to Visual Studio 2012

Solved!
Go to solution

I'm practicing by re writing the example on http://na.tm.agilent.com/pna/help/WebHelp7_5/Programming/GPIB_Example_Programs/Getting_and_Putting_D...

 

but I seem to have a problem adding the 488.2 ("GPIB") reference to Visual Studio Express 2012. All the documention I'm finding is for Visual Basic 6.0 which was about 2 US presidents ago and very irrelivent with respect to 2012. 

 

Anyone know how to add the NI 488.2 drivers to Visual Studio Express 2012?

 

VS2012_GPIB.png

 

 

Thanks for any help!

0 Kudos
Message 1 of 4
(4,145 Views)
Solution
Accepted by topic author high-Q

I am not sure why you are choosing to use that example when NI installed plenty of examples in C:\Users\Public\Documents\National Instruments\NI-VISA\Examples\DotNET4.0

 

0 Kudos
Message 2 of 4
(4,131 Views)

Awesome, I didn't realize those existed in that directory. It worked fine on my Win 7 box but they are not there on my WinXP box. Is there something I have to install (I might have installed it on my Win 7 box without realizing it).

 

dotNet_WinXP.png

0 Kudos
Message 3 of 4
(4,123 Views)

Nevermind. I realized I had to re-run the NI installer.

 

 

dotnet4.5_xp.png

 

FYI, .net 4.5 is not supported on XP (apparently) so I went ahead and installed the dotNet4.0 support.

0 Kudos
Message 4 of 4
(4,119 Views)