|
|
|
||||||||
HOME |
PRODUCTS |
DOWNLOAD |
ORDER |
SUPPORT |
ABOUT |
CONTACT |
|
|||
Frequently Asked QuestionsThe questions are sub-divided into purchasing and technical. PurchasingA. You can take advantage of the 30 day free evaluation, you will need to register the software using a temporary keycode that is included in your download link. If you do not have a temporary keycode, or if you need an extension to the standard 30 days, you can request one by sending an email to sales@opcware.com. A. This is just a reminder that you are using the 30 day free evaluation, and that you will need to purchase a license to continue using the software after the 30 day evaluation period has elapsed. A. You can find purchasing details on our Order page. A. Please install the activation code which you should have received from your distributor or by email if you purchased online. A. When you register with your keycode, it is sometimes necessary to re-initialise the ActiveX control, which may mean closing and then re-opening the project, or stopping and then restarting an application for example. TechnicalA. You can use OPCWare Client Developer in any Integrated Development Environment that supports ActiveX Controls. These include different versions of Visual Basic, Visual Basic for Applications, Visual C++, Visual Studio.NET, Delphi, PowerBuilder, Borland C++ Builder, HTML with VBScript or JavaScript, ASP, Windows Script Host. OPC data binding is currently implemented for Visual Basic 5 and 6 only, and not for the other environments. You should note that some ActiveX containers may not comply with the Microsoft specification, and behaviour of ActiveX controls in these containers can vary accordingly. A. You need to configure DCOM settings both on the local and remote computers. Your OPC server should have some documentation on how to set up the remote PC - because each DCOM configuration is potentially slightly different, we strongly recommend consulting the OPC server vendor documentation. It is important to note that OPCWare Client Developer acts both as a DCOM client and server because it receives data callbacks. Therefore DCOM must also be set on the client PC, as well as the server PC. With many OPC test clients, no DCOM settings are required on the local PC, this is because the test client only has limited functionality and does not use data callbacks. A. You can set the Visible property of the OPCWareX control to FALSE, so that it is not visible on your runtime forms. You can still use all the properties, methods and events of OPCWareX. Alternatively, you could use OPCWareGroup control which is invisible at runtime. A. There are several ways to solve this. Here's one easy way that works well in the case of an out-of-process (EXE) OPC server. You can write a simple VB application to run on your web server - look at the VB6 sample provided to see how straight forwarard this would be. All you need to do is make a connection to the OPC server and keep it open as long as needed. In that way, the OPC server initalization is out of the way when the VB application is started up - you could launch this on startup for example. In this way, the OPC server is always "live" and ready to serve data requests from the ASP pages. Since an OPCWare Client Developer ActiveX control is an in-process server this is the fastest possible way to get the data into your ASP pages on a periodic basis. You don't need to do anything special in your ASP VBScript. If you like, we can write the simple VB application for you to run on your web server, at no cost to you - contact us support@opcware.com, letting us know the ProgID and Node where the OPC server is located. We will email the compiled application back to you - all you have to do is add it to the operating system startup folder. A. In Delphi, Borland C++ Builder, and C#, when closing a form that contains an instance of OPCWareX, OPCWareItemExplorer or OPCWareServerExplorer, the debugger generates an error similar to: "Access Violation at address xxxxxxxx. Process Stopped. Use Step or Run to continue." Some messages also mention MSVBVM60.DLL. You must select the Program Reset option on the IDE Run menu. This error does not happen in compiled applications. A. There are two alternative solutions to these two related issues. The first is to install the CLSID registry entries on the local (Windows NT) PC where the OPC Client is located, in order to access a remote OPC Server. The OPC Server itself does not need to be installed, just the CLSID registry entries, the same as the registry entries on the remote PC. The CLSID key itself and a value for ProgID will suffice, the whole branch isn't necessary. Note that unfortunately you cannot import a Windows 2000 .reg file into the Win NT registry. Many OPC Server installations offer the facility to install only the registry entries, to save you the bother of doing this. The second alternative is to install Internet Explorer 4.0 or later on the Windows NT PC. A. The OPCWareX ServerShutdown and OPCWareGroup ServerShutdown> events are included to notify your application should the OPC Server shutdown gracefully, while the OPCWareX OPCError and OPCWareGroup OPCError events are used to notify your application of an OPC Server crash. A. OPCEnum.exe was originally installed with OPCWare Client Developer, and this is an up to date version requiring Internet Explorer 4.0 or later. Most likely the set up of OPCEnum.exe as an NT service has been attempted either manually by you or a colleague, or else by the installation of an OPC Server on the local machine. You can confirm this is the problem if you go the the DOS command prompt and type "C:\WinNT\System32\opcenum.exe /service", and then you get the error relating to SHLWAPI.DLL. You need to install Internet Explorer 4.0 or later to fix this and enable OpcEnum.exe to function. A. Yes, OPCWare Client Developer can connect to both OPC Data Access 1.0 and OPC Data Access 2.0 Servers. A. Not at this time. A. By convention, OPCWare controls assume that arrays passed as arguments are 1 based. If an array is passed to a function that is larger than the Count or NumItems parameter, only Count or NumItems elements will be used, starting at index 1. In VB, set Option Base to 1, or explicitly declare your arrays from 1 to upper bound as in Dim ValueArray(1 to 4) as Variant. In other languages, ensure that your arrays are properly dimensioned in an equivalent way. An exception to this rule is where a set of values is returned from a OPC server in an array. In such cases, the array will have a base of 0. A. In fact it also appears as if there are no events for OPCWareX in Access. In fact the events are actually there for all controls, but are hidden by Access. You will find this is standard behaviour and is the same for all ActiveX controls added to an Access form, not just OPCWare Client. The way to see and add code to the events is to add an instance of the control to an access form in design view. Then select and right-click on the control and at the top of the popup menu you will see “Build Event”. Choose this and then you are offered three choices Expression Builder, Macro Builder or Code Builder. Choose code editor. Now you are in the Access VBA editor with the full library of methods, properties and events available for all OPCWare controls. A. The batch update events have a specific purpose. The best way to explain this by means of an example. If you are creating a data logging application writing OPC data to a remote database by dial-up access, where a continuous connection is not practical or possible, and there is an overhead associated with making and dropping a connection, the overhead can be minimised by allowing OPCWareX to accumulate all the data values that have changed on each successive UpdateRate since the last batch update, and easily writing all of those in one batch when the connection is available (the connection can be made just prior to when the event is expected to happen, or it may be practical to make the connection when the event itself is fired). If you were to simply set the UpdateRate of the corrseponding Group to a long interval comparable to CollectInterval, you would miss out on all the data changes in between. Note: Some or all of the terms Microsoft, Windows, Visual Basic, ActiveX, OPC may be trademarks of their respective owners. Copyright © Data Layers Limited 2005. All rights reserved. |
OPCWare Client Developer v2.0.11 [info] |
|||||||||
|
||||||||||
Data Layers is a member of the OPC Foundation |
||||||||||