OPCaccess

I have problems with two methods that’s not implemented. Exist an OPCaccess functional and newer version than OPCaccess Tango class User Guide ?

My configuration is:
Windows 7 SP1 32 bits.
visual studio 2010
tango includes & libs ver 922 for vs2010.

the error log:

OPCaccess.obj : error LNK2001: símbolo externo “public: virtual bool __thiscall OPCaccess_ns::OPCaccess::is_ReadCache_allowed(class CORBA::Any const &)” (?is_ReadCache_allowed@OPCaccess@OPCaccess_ns@@UAE_NABVAny@CORBA@@@Z) sin resolver
OPCaccess.obj : error LNK2001: símbolo externo “public: virtual bool __thiscall OPCaccess_ns::OPCaccess::is_ReadDirect_allowed(class CORBA::Any const &)” (?is_ReadDirect_allowed@OPCaccess@OPCaccess_ns@@UAE_NABVAny@CORBA@@@Z) sin resolver
.\Debug\OPCaccessDs.exe : fatal error LNK1120: 2 externos sin resolver

Hi,

MAX IV don’t use OPC anymore but we did used a version of this device and it works.
I will ask my colleague.

Cheers,
Vincent

Hi,
is_ReadCache_allowed() and is_ReadDirect_allowed() are defined in OPCaccessStateMachine.cpp. Perhaps you need to add that file to the project?

Cheers,
Andreas

Thanks for the answer!!! what’s the last version of OPCaccessDS. I’m currently working with this p/tango-ds/code - Revision 28762: /DeviceClasses/Communication/OPCaccess/tags/baseline-1_1_1