Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Measurement Studio Eval with Visual Basic .NET. Can't find cwinstr

I'm trying to use Measurement Studio Eval with Visual Basic .NET in Visual Studio 2005. I can't find CWInstr in the components toolbox. I was trying to follow the instructions on this page: http://zone.ni.com/devzone/cda/tut/p/id/4589


0 Kudos
Message 1 of 6
(4,926 Views)
 

Hi somethingnoonehaschosenyet,

That tutorial is for Visual Basic 6 and not for VB.NET. Plus, that tutorial is using the legacy ActiveX controls. If you are going to doing instrument control in .NET, you will want to be using the VISA or 488.2 .NET APIs (preferably use VISA). To get you started, check out the tutorial entitled C# and Visual Basic .NET Instrument Control Tutorial.

If you have the VISA driver installed, you can find examples in the
<National Instruments>\MeasurementStudioVS2005\DotNET\Examples directory. If you don't have the VISA driver installed, make sure to install the driver with .NET Framework 2.0 support.

After installing VISA, you will also have documentation in .NET for that API. You can simply go to Start >> Programs >> National Instruments >> VISA >> Documentation >> NI-VISA .NET Framework 2.0 Help. Then you can check out the Measurement Studio Walkthroughs section (NI Measurement Studio Help >> Getting Started with the Measurement Studio Class Libraries > Measurement Studio Walkthroughs) to look out how to easily create an instrument I/O application. 

Additionally, you can check out the Using the Measurement Studio VisaNS .NET Library help topics under NI Measurement Studio Help >>NI Measurement Studio.NET Class Library >> Using the Measurement Studio VisaNS .NET Library.

Hope this helps!

Best Regards,

Message Edited by Jonathan N on 06-15-2007 08:27 AM

Jonathan N.
National Instruments
0 Kudos
Message 2 of 6
(4,914 Views)
Thanks for the info. I tried going through the walkthrough to use the Instrument I/O Assistant with Visual Basic .NET. However, I could not find the Instrument I/O Assistant. Is it included with the evaluation version of Measurement Studio?

Thanks
0 Kudos
Message 3 of 6
(4,905 Views)

Hi,

No, the Measurement Studio evaluation download doesn't include any hardware drivers so you would need to install both the VISA driver and the Instrument I/O Assistant separately. The Instrument I/O Assistant comes with the NI Driver CD. I believe one of the engineers at some point uploaded the November 2006 Driver CD onto our FTP site and labeled the folder ## Driver CD November 06 ##. Just download that and install VISA and the Instrument I/O Assistant and you should be good to go.

Best Regards,

Jonathan N.
National Instruments
0 Kudos
Message 4 of 6
(4,902 Views)

Hi

I am also looking for VISA driver and the Instrument I/O Assistant,  the link FTP site is not working . Please send the link where i can get cwserial and cwgpib activex for measurement stduio .Net 2005.

 

With Warm Regards

0 Kudos
Message 5 of 6
(4,185 Views)

Hello - 

 

You can obtain the latest version of the Visa Driver here.  However, do be aware that you must have Measurement Studio Professional version or higher to get the Instrument IO Assistant.

 

NickB

National Instruments  

0 Kudos
Message 6 of 6
(4,170 Views)