10-27-2005 09:24 PM
10-27-2005 09:39 PM
Are you mentioning you write an OPC (OLE Process Control) client program with LabWindows/CVI? First it is better to read OPC specifications that can be downloaded at http://www.opcfoundation.org/
Accessing an OPC server from CVI is very similar as accessing an IVI-COM driver, because you need access COM interfaces. However, C language is not so strong for it as the language does not have native support for v-table. I guess VC++/MFC is the best for OPC client.
10-27-2005 09:46 PM
See the following thread
http://forums.ni.com/ni/board/message?board.id=180&message.id=19138
which discusses how to access IVI-COM driver from CVI. The generic approcah for accessing an COM server is the same for OPC cases.
10-28-2005 06:50 AM
10-30-2005 08:30 PM
10-30-2005 09:04 PM
The must document is OPC Common 1.00 specification. Although I don't know what kind of jobs your OPC server provides, the most typically used server type is DA. Therefore you should read at least OPC DA specifications (3.0 or 2.05a). If your client appliactions may use Windows scripting languages such as Visual Basic, you shoud also read OPC DA Auto 2.02 specification.
The OPC interfaces are all COM based, therefore a Linux implementation for OPC server will have to be a DCOM server. Although I am not familiar with Linux DCOM, some useful information regarding Linux-based OPC and DCOM will be found at the following site, or try to google-search with Linux OPC DCOM keywords.
Sorry but I am not an OPC expert and have no experience other than DA clients/servers using Windows COM/DCOM environment.
Makoto