Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

GPIB Example for C#

I am trying out the Microsoft Visual C#.net with the NI-488. Is there any example(s) how to program in C#?

Thanks.
0 Kudos
Message 1 of 2
(3,905 Views)
Hello,

Programming with the GPIB driver in C#.NET is not yet supported by a Language Interface, but you still have a few options:

-The GPIB-32.DLL interface can be called from .NET even though it is not a .NET assembly but rather is a traditional DLL file. (There are no examples of this at this time)

-You can sign up for National Instruments' Beta program and receive the GPIB .NET Language Interface, which includes examples on how to use the Language Interface.

-You can also use our Measurement Studio 7 product for .NET to interface with the driver using native .NET controls, which also include examples.

Although this information is slightly outdated, there is good information here regarding creating a wrapper for older ActiveX controls if you happen to already have a copy of Measurement Studio 6, and also other information relevant to your question.

Thanks,
Scott B.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 2
(3,905 Views)