LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I create FP directly from my .c & .h program?

I did create & use my DLL sucessfully, however I try to build a Functional Panel in order to uae in-parallel.  What I would like to have in this case is having 2 functions in CreateTrialDLL!
 
However, even I tried to build as some guidances from the forum discussions ... my FP always was empty!
 
This is the first time I try to use this option, please help!
Download All
0 Kudos
Message 1 of 5
(3,471 Views)
plit string,

I'm confused as to what you're actually trying to do. You said you must create the function panels to use in parellel, what exactly do you mean by this?

Also, what steps are you taking when creating your function panel? I am not aware of any wizards for creating your function panels so I just want to see what steps you are going through to create this FP.

Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 2 of 5
(3,443 Views)
I appologize for forgeting to mention clearly, however after request ... I did generate successfully my FP by following the instructions of the Help "Generate Function Tree from Include file" (TrialDll.h) ... all instances are appeared automatically as I defined in TrialDll.h
 
However, when I try the different project with the same approach ... it is failed to generate the FP!  And I do not know what is happen?
 
I attach new cvidll.zip here so that you can see how I did ... especially the Trial_FP.jpg & Trial_FP_error.jpg that show what I defined for generating the new FP and having error later.
 
Would you please show me the reason why I have the error message ?
 
Note: The project created cvidll.lib & cvidll.dll sucessfully without any error! I used them for other projects without any problem!
 
Many thanks for this issue,
0 Kudos
Message 3 of 5
(3,421 Views)
Are you generating the Function Tree for every project you use this in? You should only have to create the Function Tree (FP) once and use that for all your projects by adding that instrument driver. Also, I noticed you put Func1 for your prefix, but you have no prefix for your functions so I could see that causing an error as well.

Brandon Vasquez | Software Engineer | Integration Services | National Instruments
0 Kudos
Message 4 of 5
(3,397 Views)

Thanks for point out the prefix missing, it works

Thanks Smiley Happy

0 Kudos
Message 5 of 5
(3,383 Views)