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: 

CWVISA.OCX for .Net

Hi , Im currently converting an old VB6 app that uses CWVisa.ocx to C# .

Is there a new version (managed assembly if possible) to these ActiveX control that can be used by C#? Where can i download it?
When running the VB6 app , there is a message showing that the OCX is of older version , how do i update th OCX?

Thanks.
Human knowledge belongs to the world
0 Kudos
Message 1 of 3
(4,741 Views)

VISA comes with a .NET native api for developing VISA applications in C#. Examples are included for C#. If you don't have VISA you can download the latest version from here.

 
0 Kudos
Message 2 of 3
(4,727 Views)

As a side note, if you have Measurement Studio Professional or later, you have access to the Instrument I/O Assistant which integrates into Visual Studio as a code designer.  Its UI can be used to first create and configure instrumentation tasks and then generate the equivalent VB.NET or C# code. You can generate either VISA or GPIB calls.

Also check out the C# and Visual Basic .NET Instrument Control tutorial.

Best Regards,

 
Jonathan N.
National Instruments
0 Kudos
Message 3 of 3
(4,710 Views)