Bonjour
I was browsing CVI sample code directory (alway very instructive)
Can someone tell me what is the purpose of legend.c and cklengend.c files in ..\samples\userint\custctrl\legend
For what I understand those are instrument drivers but I believe a sample code would help understand how to use the legend.c functions
At least the other sub directories around have sample project
Loading the legend driver in memory I get some warning on screen while clang compile the source code.
On the other hand cklengend.c cannot be compiled since libprot.h is missing
Here is what I get :
71, 10 fatal error: 'libprot.h' file not found
Looking at the source code of the driver did'nt help that much
The inclusion of libprot.h depends on __LIBPROT__ cklegend.h file
I looked around and it seems __LIBPROT__ is also used in #define in ../toolslib/cviogl.h and ../toolslib/toolbar.h
So my questions are :
- What is the purpose of legend.fp
- Is there a sample code using it
- How to bypass the libprot.h issue in cklegend.h
Many thanks in advance, Philippe