10-19-2008 01:25 AM
i made a very simple example, howeveri got a problem which said "fp_test1.h"(5,14) syntax error; found 'identifier' expecting ';'.
\the following is the header file
#include <cvidef.h>
int _VI_FUNC test_add (int first_coefficient, int second_coefficient,
int *result);
10-19-2008 04:01 AM
Hello,
I do not know where the error is caused. Probably in a line before include the h-file where a semi-colon is forgotten.
I do know where to find stacks of examples a building a panels:
Via Help --> Contents --> Contents --> Guide to documentation, you can find a quick-guide for new users. On my computer it refers to "gettingstarted.pdf" in the Labwindows bin-directory.
Via Help --> Find examples you can find a lot of examples. A simple one is Building User Interfaces --> General --> timer.prj or another Fundamentals --> Graphs and Charts --> stripchart.prj
Succes !
10-20-2008 02:34 AM
_VI_FUNC is not defined where you are trying to use it.
You should #include some file
Best regards
Nicolas