03-17-2002 12:37 AM
03-18-2002 10:55 AM
03-20-2002 01:07 PM
03-20-2002 02:08 PM
03-20-2002
02:24 PM
- last edited on
11-06-2025
12:55 PM
by
Content Cleaner
There are some examples included in CVI 6.0 that show you how to use activex components in CVI.
They should be under the CVI >> Samples >> UserInt >> Activex. There is an example included for the CW3dgraph (which might be a bit more complicated than what you are looking for). But essentaily in CVI 6.0, once you add that activex control on the user interface, you can right click on that control (in your case CWGraph) and select "Generate ActiveX Control Driver." This will generate the functions that are essentially wrappers for the activex controls that you used in VB. So it will generate the plotX and PlotY functions for that activex control.
From then on, it should be similar to how you would use the function in VB. Check out the following link f
or more information on the Activex Controller Wizard:
https://www.ni.com/docs/en-US/bundle/labwindows-cvi/page/cvi/usermanual/prjcreateactivexcontroller.h...
Best of luck with your application