11-13-2014 09:17 AM
Hi,
when I ask CVI to generate a callback code from Control, I get the following result:
int CVICALLBACK MyProcedure (int panel, int control, int event,
void *callbackData, int eventData1, int eventData2)
while I'd like to have the code written in this other way:
int CVICALLBACK MyProcedure (int panel, int control, int event, void *callbackData, int eventData1, int eventData2)
In order to get what I need, I have recorded a Macro, but of course I have to modify all the autogenerated code.
Is there any faster and automatic way to obtain what I want?
Thanks
Sergio
11-14-2014 07:52 AM
11-14-2014 08:14 AM
Hi Licia, yes you've well understood, I'd like to have CVI generating Control callbacks as well as Panel callbacks on a unique line.
But more, I'd like to know if there is menu, where I can program CVI in order to have it generating Control callbacks and Panel callbacks in different formats as I need situation by situation.
Bye
Sergio