Controlling Instruments with Visual Studio (2025)

Home Community Example Programs Example Code Document

  • Register
  • ·
  • Login
  • ·
  • Help

Turn on suggestions

Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.

Showing results for

Search instead for

Did you mean:

ASK A QUESTION

Controlling Instruments with Visual Studio

by:Controlling Instruments with Visual Studio (7)VocanyP

‎03-16-202311:42 PM

Document options

  • Subscribe to RSS Feed
  • Mark as New
  • Mark as Read
  • Bookmark
  • Subscribe
  • Printer Friendly Page
  • Report to a Moderator

Is there any documentation or example code showing the steps necessary to control and NI instrument through a C# application in Visual Studio? I have not been successful in finding information on how to accomplish this task. I've downloaded IVI drivers and NI-VISA and still can't figure it out.

Thanks for any help.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

0Kudos

Comments

Controlling Instruments with Visual Studio (8)

Controlling Instruments with Visual Studio (9)scottj0403

Member

on

‎03-25-202301:02 AM

Options

  • Mark as Read
  • Mark as New
  • Bookmark
  • Permalink
  • Print
  • Report to a Moderator

‎03-25-202301:02 AM

Refer to this

https://www.ni.com/zh-tw/support/documentation/supplemental/18/ni-daqmx--ni-visa-and-ni-488-2--net-e...

There is a C# example folder in yout PC when your PC has been installed NI-VISA.

Windows 10 -> Start -> All Apps -> National Instruments -> GPIB Examples

If not, download and install the NI-488.2.

Controlling Instruments with Visual Studio (10)

0Kudos

Controlling Instruments with Visual Studio (11)

Controlling Instruments with Visual Studio (12)Keerthij

Member

on

‎10-06-202401:05 AM

Options

  • Mark as Read
  • Mark as New
  • Bookmark
  • Permalink
  • Print
  • Report to a Moderator

‎10-06-202401:05 AM

I purchased NI USB-6002 for AI and AO project. I am having trouble finding Visual Studio example scripts for this unit.

Need to make stand alone simple GUI for kids to use. Would a good person suggest me where to look? Thank you

0Kudos

Controlling Instruments with Visual Studio (13)

Controlling Instruments with Visual Studio (2025)
Top Articles
Latest Posts
Recommended Articles
Article information

Author: Jonah Leffler

Last Updated:

Views: 5609

Rating: 4.4 / 5 (45 voted)

Reviews: 92% of readers found this page helpful

Author information

Name: Jonah Leffler

Birthday: 1997-10-27

Address: 8987 Kieth Ports, Luettgenland, CT 54657-9808

Phone: +2611128251586

Job: Mining Supervisor

Hobby: Worldbuilding, Electronics, Amateur radio, Skiing, Cycling, Jogging, Taxidermy

Introduction: My name is Jonah Leffler, I am a determined, faithful, outstanding, inexpensive, cheerful, determined, smiling person who loves writing and wants to share my knowledge and understanding with you.