LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

What should I do for loading and using components of BCB in the LabWindows/CVI 6.0?

Hello all,

Now, I have a Timer component of BCB.

I hope I can use it in the LabWindows/CVI when I am designing applications.

Could anyone tell me what should I do for loading and using components of BCB in the LabWindows/CVI?

Thanks for any assistance.


Leo Lin


OS: Windows 2000 SP4
0 Kudos
Message 1 of 3
(2,973 Views)
Are we supposed to know what 'BCB' is?

Assuming you are talking about Borland C++ Builder, CVI has its own timer component so you don't need to use the Borland one.

Martin.
--
Martin
Certified CVI Developer
0 Kudos
Message 2 of 3
(2,961 Views)
Hello Leo,

As msaxon mentioned, it might be easier to use either the built in timer control in CVI or the async timer functions.

You can find a timer example program in the following directory: ...MeasurementStudio\cvi\samples\userint\timer.prj

You can find an async timer example program in the following directory: ...MeasurementStudio\cvi\samples\toolbox\asyncdemo.prj

If you want to use the Borland C++ Builder control and functions, you can consider somehow packaging all your functions, etc. together in a dll. I'm not sure if this is possible, but if it is, then you could create an import library from the DLL header file in CVI. But it's important to note that since CVI is a C compiler and not C++, using C++ data types or programming techniques (function overloads, etc.) will not work.

Thanks.
Wendy L
LabWindows/CVI Developer Newsletter
0 Kudos
Message 3 of 3
(2,957 Views)