05-02-2006 05:39 PM
05-05-2006 03:31 PM
05-05-2006 04:59 PM
Well, it was a good try. Yes, under Server Explorer properties, the CATIDs were not set. I ran the two commands you gave, and rebooted the computer, and yes, they are set now. However, I still get the "Error in the DLL" message constantly, and I can't see any data.
Have to try again.
David Dudley
05-08-2006 01:21 PM
David,
The error message seems to indicate that Cogent OPCDataHub
is unable to enumerate the list of available OPC Servers on the given machine.
My guess is that they use OPCEnum.exe to do this, and the error message is
because OPCEnum.exe is not installed/properly installed on the machine (in your
case it is \\DHXZ5M21).
You kind find an installer for OPCEnum at
www.opcfoundation.org
In addition it is likely the Cogent has the redistributable
.msi available with their installer.
I hope this helps
-Lorenz
P.S. Some OPC clients use OPCEnum to get from the ProgID to
the CLSID (from the 'LookoutOPCServer' to the unique GUID) so even if you don't
need to browse the list of available servers it is still possible you need
OPCEnum.
05-08-2006 02:50 PM
Well, moving right along, Cogent sent me the OPCEnum package, which I have installed.
Now, I can at least see the Lookout OPC service, which has a DIFFERENT NAME than that listed in any of the documentation I've been able to find.
The service is named 'OPC Server Interface to Lookout'. Be nice if the author of the Lookout software had managed to get it right to start with.
OPCEnum can now find the server, but when I go to get the list of names from the OPC Server itself, the process runs and runs and runs (ran for almost 2 hours, eating up 25% of the CPU time during that period). Finally had to kill both it and the Lookout task.
The process is not consistant, I have managed to get it started correctly once, and it loaded for around 10 minutes, and then gave me a partial list of the data points on all the systems in the network, EXCEPT for the one I had connected to. What a crock....................
Be nice if something worked right sometimes.
David Dudley
05-08-2006 03:43 PM
05-08-2006 03:49 PM
So far, the Cogent people have been the most helpful group in the bunch. I've talked to the staff there, and they've sent me two other versions of the software to try. I still haven't gotten the connection to work, but I can see bits and pieces of it starting to work. I still don't see how it can be so inconsistent, though. Figured I'd try a couple of other OPC pieces to see if it is a Lookout or a Cogent problem.
David Dudley
10-15-2007 01:04 PM
Well, after being able to let this dog lie for over a year, it has again raised it's head.
I never stated 'why' I needed to do this, and the reason has always been because Lookout won't run on anything except Windows, and all our analysis and logging software runs on UNIX. Datahub gives us the capability of reading the OPC channels through UNIX from the Windows system.
Back to the problem (wake up! wake up!).
First, I should say that now, I'm having to upgrade and replace the server systems with new hardware. The lease is up on the existing hardware, so it's got to go back.
I'm trying to get Server Explorer to recognize the new server first. When I start server explorer on this new hardware, I get a list that doesn't contain the new server in it, and I can't seem to get the new server on the list. The computers listed under 'Entire Network" all exist, but none of them have Lookout running on them.
How do I get my new server on the list?
10-15-2007 01:29 PM
10-16-2007 09:16 AM
OK, here goes:
1. The existing server equipment is leased. The lease if over, and I need to replace the servers with new hardware. I have the new hardware in my office, preparing it for installation.
2. The original Datahub installation was never operationally complete on the previous system, I ended up writing a Lookout process that wrote all the variables I was interested in collecting data on into our SQL database system directly. Although this was an acceptable 'stop-gap' measure, it meant that the failure of one client machine on the Lookout system could stop all historical data collection, and also that every time I added anything into the SCADA system, I then had to go modify this process to add in the new data I was collecting. Needless to say, I want to rectify that problem while I have a chance, before the production system pressures prevent it.
3. I started by installing Lookout 5.1 on my replacement SERVER system. This system is a Dual Quad-Core DELL 1950 box w/ 16 GB, with Windows Server 2003 installed. Now, I know that Lookout isn't directly supported on that software, but the administration above me insisted that 'a server needs server software', and if it wasn't supported 'that's a problem with the vendor', and is beyond my control. They insisted on a server, if for no other reason, for the redundant power supplies and other additional support hardware. Again, that really was beyond my control. The old server has Server 2003 on it also, and Lookout has run acceptably on it for the past 3 years.
4. I've got Lookout 5.1 running on the server, and the next step, I think, is probably to get OPC connections between the server and a client computer operational. I've got a little sample process running on the server, and I've gotten to the point where I can run a client process in another Lookout instance on that machine, and do OPC connections between them. That part seems to be working great. I can also bring up Server Explorer and see the OPC process, attach to it, and read all sorts of information - so far, pretty impressive.
5. OK, here's where I'm stuck right now. On my client machine, if I bring up Server Explorer (version 2.4.1), I don't even see the other machine. (named \\PRIMARY, bye the way, and the client is named \\CLIENT, just for fun). I see the LookoutOPCServer on 'My Computer', but nowhere else. Whats more, if I expand 'My Network Places', I get a list of items like '#STD_CNT/0', '#STD_CNT/1', and '#STD_CNT/2'. Expanding them leads to even more confusion, as expanding 'Entire Network' repeats the rest of the list, and expanding '#STD_CNT/0' points to one of my UNIX systems, expanding '#STD_CNT/1' is empty, and expanding '#STD_CNT/2' gives me a list of host names, some of which don't even exist anymore, and none of which have anything 'Lookout' related on them (Most are my UNIX servers, and others include the other machines in my office, only one of which has Lookout). I can see the server machine if I open 'My Network Places' under Windows, but not under Server Explorer. Not sure whats going on here, or how to proceed. Is a reasonable set of instructions around for setting up OPC between two machines (something newer than Windows 95 or 98 please?)?
David