LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to setup Function Tree for multiple source files?

The documentation (LabWindows/CVI Instrument Driver Developers Guide, chapters 5 & 6) for the Function Tree Editor and the program itself seem to assume that all the functions are in a single source file. Is it possible to setup a function tree with a separate source file for each function? I realize I could put all the functions in the same file, but I prefer separate files for several reasons.
0 Kudos
Message 1 of 2
(3,051 Views)
No, unfortunately, an FP can only have one source file. The only way you could have multiple modules used by one FP would be to build DLLs and have the C file for the FP load the DLLs and unload them as necessary with LoadLibrary.

Best Regards,

Chris Matthews
National Instruments
Message 2 of 2
(3,051 Views)