LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CIN and hardware

Hi,

Is it possible to drive hardware using CIN in labview 6.1, with external
API?

Thanks
0 Kudos
Message 1 of 3
(2,537 Views)
Denys wrote:

> Is it possible to drive hardware using CIN in labview 6.1, with external
> API?

Sure! But not necessary to write a CIN. If you don't already have a DLL
(your external API you refer to), just create a DLL instead to access
your hardware. Test it in your favorite environment and then write
LabVIEW VIs to call the DLL.

CINs are from days when DLLs couldn't be called and have little use
nowadays although I do hope NI does not discontinue them just now for
many old CINs I still have laying aroung. But creating new CINs for new
software is basically not a very good idea anymore.

Rolf Kalbermatter
Rolf Kalbermatter
My Blog
Message 2 of 3
(2,537 Views)
Rolf offers a very good solution. It is highly recommended to use DLLs instead of CINs. The real difference between the two is that CINs take the code and compile it into your LabVIEW code, whereas DLLs only call the code. CINs are also highly inefficient and application dependent, whereas DLLs do not have to be constantly recompiled to work.

Jeremy L.
National Instruments
Jeremy L.
National Instruments
0 Kudos
Message 3 of 3
(2,537 Views)