08-07-2015 08:42 AM
dear experts,
i have adopted with cvi2013 written software and although i'm expirience with other development systems but not with Labview CVI, i could not solve the linker problem shown below:
options.c
#include "radioGroup.h" //"custctrl\radioGroup.h"
static int optionspnl;
int CVICALLBACK ecuAntennenAuswahl_CB(int panel, int control, int event, void *callbackData, int eventData1, int eventData2){
STRUKT;
BEDIENER;
int index;
switch (event){
case EVENT_COMMIT:
// panel-hndl(!), ctrlRadiogroup, resultPtr
Radio_GetMarkedOption (optionspnl, OPTPNL_RADIOGROUP, &index);
// GetCtrlVal (panel, control, &index);
PRINT_I(index);
break;
}
return 0;
}
Link app.exe
error: Undefined symbol '_Radio_GetMarkedOption@12' referenced in "c: options.obj".
perhaps someone knows the solution and can help me. I am a beginner with the LabView/CVI.
Thanks
Solved! Go to Solution.
08-07-2015 10:02 AM
Hello new friend!
Make sure radioBtnGrp.fp located at "c:\Program Files (x86)\National Instruments\CVI2015\toolslib\custctrl\radioBtnGrp.fp" is loaded.
You have several options to load a fp file:
1. Add the file to your project. In this case the *.fp will be available only for that project which I guess is OK for your case.
2. From the menu Instrument>>Load. The fp will be available until you close CVI or unload it from Instrument>>Unload menu
3. From menu Library>>Customize add your fp in User Libraries list. After you restart CVI the fp will be available for all projects. This is useful if you use it often in many projects. By default toolbox.fp containing utility functions is present in the list.
Constantin
08-10-2015 02:22 AM
oh thank you very much also for your fast response,
i tried it and it operates.
but one thing i noticed: i included radioGroup.h and you radioBtnGrp.h. But its ok for me i have to read the difference. this is my job. thank you and have a nice day Willi
08-10-2015 09:31 AM
Hello Willi,
It seems that radioBtnGrp.fp is the Flexible Radio Button Group instrument driver whereas radioGroup.fp is just for Radio Button Group. According to the help radioBtnGrp.fp offers more flexibility in spacing the radio button group options than ratioGroup.fp.
Also bear in mind that you should give a more meaningfull tilte for your post(e.g instead of "CVI" you could have said something like "Link errors when using radio buttons") so other users or even you can identify what the topic is about more easily.
Constantin
08-10-2015 09:40 AM
ok thanks Constatin, I'll consider this in the future. Bye.