LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(5,275 Views)

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

Message 2 of 5
(5,247 Views)

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

0 Kudos
Message 3 of 5
(5,179 Views)
Solution
Accepted by topic author Fragesteller

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

0 Kudos
Message 4 of 5
(5,147 Views)

ok thanks Constatin, I'll consider this in the future. Bye.

0 Kudos
Message 5 of 5
(5,140 Views)