LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Function Tree Generation with Function Pointer

From this page,

http://zone.ni.com/reference/en-XX/help/370051T-01/cvi/usermanual/srcoptgenfunctree/

 

The Generate Function Tree command does not support typedef identifiers for function pointer types.

 

-----------------

 

I have a function with a parameter that is a pointer to a function, and I can't get the function tree generation to work correctly. I'm thinking my problem is related to that article above, but is there a way around that problem?

 

Thanks,

Kevin Key

0 Kudos
Message 1 of 3
(2,898 Views)

Still wondering if anyone has any information on how I can get a function added to the function tree that accepts a pointer to a function as one of its parameters.

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

Hey Kevin,

 

In order for CVI to recognize custom data types such as function pointers, you must first typedef your identifier.

 

For more information there is a knowledgebase article dedicated to this issue.

 

Please check out Generating a Function Tree When Using a Function Pointer Parameter.

Regards,
Jake G.
National Instruments
Applications Engineer
0 Kudos
Message 3 of 3
(2,871 Views)