Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

VC++ 6.0 samples using CWVisa et CWSerial ActiveX

I am looking for VC++ 6.0 samples using CWVisa et CWSerial ActiveX. Translate VB samples to VC++ is not trivial et sommes information is missing.
Where I found informations on CWVisa et CWSerial ActiveX Using (function, configuration constant, ...)
0 Kudos
Message 1 of 11
(9,765 Views)
You can check out the zip called CW3VC.zip for examples of using the Measurement Studio CW ACtiveX controls. If you have Measurement Studio for C++, you can use the CNiVisa classes instead of using the CWVisa control. the CNIVisa C++ classes have been customized to give you all the functionality of the CWVISA control with a look and feel of MFC classes.

For documentation on the CNIVisa C++ classes and CWVisa and CWSerial controls, you can go to Start >> Programs >> National Instruments >> Measurement Studio >> Help >> Measurement Studio reference.

I hope this helps

Bilal Durrani
NI
Bilal Durrani
NI
Message 2 of 11
(9,765 Views)

Dear Bilal Durrani

can u pl send the CW3VC.ZIP file to my mail account as i am not able to download the file.

My e-amil id : ramchandra_77@yahoo.com

 

Regards

Ramchandra Chavan

0 Kudos
Message 3 of 11
(8,989 Views)
Hello, This is the correct link to the CW3VC files

Start with the CW101b run the executable and then download and apply the patches.
Let me know if this helps.


Christian A
National Instruments
Applications Engineer
0 Kudos
Message 4 of 11
(8,980 Views)
Thanxs for sample program of CWSerial ActiveX Control in VC++.
 
I want the sample program of CWGPIB ActiveX Control in VC++
0 Kudos
Message 5 of 11
(8,600 Views)
Hello,
You navigate to the following folder to find examples for your 488.2 device
C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Languages

Christian A
National Instruments
Applications Engineer
0 Kudos
Message 6 of 11
(8,588 Views)
[Help]How Can I Power on or off the Specpum through GPIB card by VC6.0 ?
For this is my first programme,
Thus, I can't have idea how to write code,
and ,I don't know the Header Files and DLL Files to included or imported .
Thank you .
0 Kudos
Message 7 of 11
(8,511 Views)
Hello,
I would like to encourage you to make a new post next time you have a question.
You can find examples (on a WindowsXP machine) in the followign directory
C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Languages

If you do not have this folder you will need to reinstall the 4882 drivers and click the box to add support for VC++, Visual Studio and so on.

Christian A
National Instruments
Applications Engineer
0 Kudos
Message 8 of 11
(8,489 Views)
In given path below
 
C:\Documents and Settings\All Users\Documents\National Instruments\NI-488.2\Languages

I was able to get the example of GPIB interface using API calls of NI488.2 but i want to use CWGPIB ActiveX control in VC++
0 Kudos
Message 9 of 11
(8,185 Views)
Hello,
You can find some example code for GPIB here.
Let us know if you have any specific questions related to this.
Christian A
National Instruments
Applications Engineer
0 Kudos
Message 10 of 11
(8,119 Views)