LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Incoherent error message

Hello,
I don't understand an error message CVI send me. If someone could explain it to me, it could be great.

Here is y code:
Include.h:
enum {
E2P_ABST_VERSHARD,
E2P_ABST_VERSSOFT,
E2P_ABST_DESKEY,
E2P_ABST_PRODNUMBER,
...
}

Source.c:
function
{
...
WISMO_E2PAccess (gi_Comport, E2P_ABST_PRODNUMBER, _WISMO_READ, &g_ProdNumber);
...
}

If I put a breakpoint in front of this line, and make a "Go to definition" on E2P_ABST_PRODNUMBER, it goes to the right place in the include, but a view variable value, send me the following message popup:
Undefined symbol 'Product_NameFromType'
Expression Invalid in DLL/ EXE : AQC_30_DBG.EXE

'WISMO_E2PAccess' is coming from a dll (WismoLib.dll)
'Product_NameFr
omType' is coming from another dll (ProductLib.dll).

Any hint about this crazy message?
Thanks, Flo.
0 Kudos
Message 1 of 3
(3,051 Views)
Are you saying you are trying to do a view variable value on E2P_ABST_PRODNUMBER? If so, that is a constant not a variable so that shouldn't work. It shouldn't give you that error though, but since it's invalid to try an view a variable value of a constant I'm not sure what the behavior should be.

Please post an example if possible and explain what you have highlighted when you select View Variable Value if it isn't E2P_ABST_PRODNUMBER which is invalid since it isn't a variable.

Best Regards,

Chris Matthews
National Instruments
0 Kudos
Message 2 of 3
(3,051 Views)
Hi Chris, and thanks for your answer.

I didn't know you couldn't do a view variable value on a constant.

Still it doesn't explain the strange error message about the 'Product_Name FromType' function, which come from another dll than the one involving the 'Wismo_Access' function, when I try it highlighting E2P_ABST_PRODNUMBER.
Maybe something to investigate...

Thanks again, Florent.
0 Kudos
Message 3 of 3
(3,051 Views)