LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert C header file tO a VI

Is there a way (wizard or application) that can generate a VI driver from a "C header file", DLL or LIB?
0 Kudos
Message 1 of 5
(3,809 Views)
Hi ttm,
you can call a C code from LV by making use of The CIL and CIN functions.
vicky
0 Kudos
Message 2 of 5
(3,807 Views)
Do you want to keep the #define statements so that you can refer to symbolic constants in a LabVIEW program. Or are you aiming at something else.

Yours Sincerely
John www.TradersMicro.com
0 Kudos
Message 3 of 5
(3,807 Views)
I wrote a DLL in VC++ for a switching card.
What I would like to do is to create a VI driver for each of the DLL APIs using a wizard or an application (the "#define" can be left out).
Is there an application/wizard that generates a VI driver?

Regards,
0 Kudos
Message 4 of 5
(3,808 Views)
Hello ttm,

There is a wizard for converting CVI DLLs into LabVIEW instrument drivers. It can be accessed from Tools>>Instrumentation>>Import CVI Instrument Driver....

This may be an option if you can recompile your code in the CVI environment.

Regards,

Matt F
0 Kudos
Message 5 of 5
(3,808 Views)