User`s guide
12
•
OPC Interface of NuDAQ PCI card OPC Server
3
OPC Interface of NuDAQ
PCI card OPC Server
OPC Specification defined the standard OPC interface. Users can use the
OPC interface to communicate with OPC server. Following description is
the interface of NuDAQ PCI card OPC server.
3.1 OPCServer Object
IOPCCommon
HRESULT
SetLocaleID (dwLcid);
HRESULT
GetLocaleID (pdwLcid);
HRESULT
QueryAvailableLocaleIDs (pdwCount, pdwLcid);
HRESULT
GetErrorString (dwError, ppString);
HRESULT
SetClientName (szName);
IOPCServer
HRESULT
AddGroup (szName, bActive, dwRequestedUpdateRate,
hClientGroup, pTimeBias, pPercentDeadband, dwLCID,
phServerGroup, pRevisedUpdateRate, riid, ppUnk);
HRESULT
GetErrorString (dwError, dwLocale, ppString) ;
HRESULT
GetGroupByName (szName, riid, ppUnk);