LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

where can i find the tutorial of creating function panel and test it.

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);

0 Kudos
Message 1 of 3
(3,105 Views)

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 !

0 Kudos
Message 2 of 3
(3,100 Views)

_VI_FUNC is not defined where you are trying to use it.

You should #include some file

 

Best regards

Nicolas

0 Kudos
Message 3 of 3
(3,074 Views)