LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there any form of subroutines in Lab Windows?

Can I call in different subroutines (such as methods in Java) in a main program and run it from there in Labwindows, instead of having one program with main and other codes? Whenever I call in a void program in a main its giving me error saying unknown variable of the name of my program I called in. Therefore I need a way to make subprograms that can be called in a different program alltogether. Thanks.

0 Kudos
Message 1 of 2
(2,986 Views)

CVI is a regular C compiler, hence all executable code is contained within functions, see here

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