ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Language interface for C#

Will NI provide a language interface for Microsoft C# in NI-488.2 for Windows, and also in Measurement Studio?
0 Kudos
Message 1 of 3
(3,583 Views)
Hello-

There are currently two options for using GPIB in C#:
1) Use the dll provided by the visa driver using #import in C#
2) Use our current VISA ActiveX control in C# (ships with MStudio 6.0)

MSDN can help with option number one.

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(3,583 Views)
I ported the "visa.h" file that comes with NI-VISA to work with C# a little
while ago. You can find it at this website.
http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/e87
441934bb6ce6386256b660077305b?OpenDocument

"TonyNSC" wrote in message
news:506500000008000000A8490000-1021771306000@exchange.ni.com...
> Will NI provide a language interface for Microsoft C# in NI-488.2 for
> Windows, and also in Measurement Studio?
0 Kudos
Message 3 of 3
(3,583 Views)