Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

where are the .net GPIB programming examples?

Hi, I am looking for vb.net programming examples using gpib.  I tried looking in the directories that it tells you to in the help manual.  Also I found a page on this website that says where the examples should be depending on which versions you are running but they are not there.  I am using Measurement and Automation Stuio V4.50f0, NI488.2 V2.7, and Visual Studio 2008.  Is there anywhere on the site I can access them, or if anyone has somewhere where I can viwe some examples??  I tried looking in C:\programfiles\nationalinstruments\measurementstudiovs2003 & measurementstudiovs2005\dotnet but inside there is only a folder for assemblies and not for examples.  Thanks for your help!!
0 Kudos
Message 1 of 7
(5,549 Views)

Have you concidered looking for VB.net VISA driver examples Smiley Wink VISA exposes a bit more functionallity in the properties of each resource session.  IMHO its quite a bit more user friendly

 

hmmm.. Ahhh ha

Message Edited by Jeff Bohrer on 11-18-2009 04:35 PM

"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 7
(5,539 Views)
Actually I already have seen the link that you reffered me to as I had said in my original post.  There is no examples for GPIB or VISA using .NET in any directories only VB6, C, LabView, DLL direct entry, and CVI.  Do I have to reinstall the 488.2 driver cd??  I had that installed prior to installing visual studio 2008?  Thanks again!! 
0 Kudos
Message 3 of 7
(5,529 Views)

Hi, snwbrdr.

 

To install the .NET examples, you will need to run the 488.2 executable again, and manually select the components that you wish to install.  For example, if I only wanted to install the .NET framework 3.5 examples, I would expand the .NET Framework 3.5 Languanges support and select Install this feature to a local drive and allow all other installed features to be set as Leave this feature installed locally.  You can install .NET examples with most of our drivers; the following screenshot is an example of how to do this when installing VISA:

 

screenshot.jpg

 

Let me know if you need any more help.  Have a great day!

Regards,

Sara Lewandroski
Applications Engineer | National Instruments
0 Kudos
Message 4 of 7
(5,509 Views)

I'm having some trouble with this as well.

I'd like to use NI-VISA, but many of the references are old/outdated.

 

I downloaded NI Visa from https://www.ni.com/en/support/downloads/drivers/download.ni-visa.html

 

Is there a better reference anywhere?

0 Kudos
Message 5 of 7
(4,762 Views)

Hey trayres,

 

                When you download the 5.1.1 driver, it installs with it the newest version of Measurement and Automation Explorer (MAX).

 

https://www.ni.com/en/support/documentation/supplemental/18/ni-daqmx--ni-visa-and-ni-488-2--net-exam...

 

These are the most up to date examples we have for the VISA, GPIB, and .NET 

 

Regards,

 

Luke W

0 Kudos
Message 6 of 7
(4,744 Views)

Thanks for the answer. It has been almost 13 years since I asked the question.

 

I haven't used LabView or thought about the HP3577A I used on that project in a long time. I should buy one on Ebay and do a project for kicks - but I'd probably use C++. 

 

Thanks for the memories; what a blast from the past!

0 Kudos
Message 7 of 7
(898 Views)