Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

will Labview6.1 generate a VI after it is given c code

I have an old program written in c code that interfaces a DAQ card and in turn a multiplexor which checks a bank of sensors in a pressure/temperature chamber. Can Labview 6.1 take that c code and built a similar interface where I can modify it further? Or, do I have to design the interface prior to inputting the c code?
0 Kudos
Message 1 of 2
(2,411 Views)

To use your c code in LabVIEW, you should build it into a dll and then call from LabVIEW using the Cal Library Node function. You can build your entire code into one dll, or group it into several sequences. You can create a SubVI out of each call library node, with its appropriate inputs and output

There is no way to directly convert c code into LabVIEW diagram.

Here are some helpful documents when using extranal code in LabVIEW

Using External Code in LabVIEW

Accessing DLLs or Shared Libraries from LabVIEW

How to build a CIN code resource (.lsb file)

Zvezdana S.

0 Kudos
Message 2 of 2
(2,411 Views)