Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

I use an OPC client and PC is hanging...again...

Lookout 6.0 Development/Runtime server (unlimited)…. I use an OPC server as a driver in my server-process. I created several client processes on the same machine. I was going to load one of the client processes by request and read appropriate information. When I tried to load one of the client processes my PC was hanging for about 40 second. I.e. loading takes me much time.  I’ve red that this hanging could be concerned with BAD OPC-connection. All of my connections are ok!!!  I’ve decided to run all of my client processes and call an appropriate “panel” of that processes to get concrete dates. Is it advisable to use several concurrently running processes? All of it’s objects are only minimized but its are online. What is the cause the PC to be hanging?

0 Kudos
Message 1 of 8
(4,673 Views)
The first advice is to update to 6.0.2. It's a free update and you can find it here
 
What's the PLC you use?  What's the driver object you use in Lookout as the OPC server?
I'm not sure whether you are using Lookout's driver as OPC server, or a 3rd party opc server and use OPCClient in Lookout to connect it.
 
One server, with multi-clients running concurrently, is advisable.

帖子被@Ryan在07-12-2006 02:26 PM时编辑过了

Message Edited by Support on 02-04-2009 04:49 PM
Ryan Shi
National Instruments
0 Kudos
Message 2 of 8
(4,659 Views)
LookOut 6.0.2. We use Xenta PLC of Swedish T.A.C.(LON TALK) and its own OPC server. I’ve created an OPC client object in LookOut and selected it. We also tried to use NlOPCvni of Newron System but had got the same situation. Now i am using concurrently running client processes but i don’t like it L.  I have another problem : updating the dates takes me about 8-12 seconds. I unchecked the “Use  Asynchronous I/O” but it didn’t help me. When I tried to connect only one variable via that OPC server, I hadn’t this problem. Perhaps it depends on the OPC server… L What about hanging LookOut when the process load?  
0 Kudos
Message 3 of 8
(4,647 Views)
In addition to writing above....when i checked the "Use Asynchronous I/O" OPCclient was not responding! It was the reason to uncheck it...

Message Edited by Keen on 07-13-2006 12:28 PM

0 Kudos
Message 4 of 8
(4,642 Views)
I find this KB,
Try to change the "browsing" parameter of the OPCClient object as it says.
Ryan Shi
National Instruments
0 Kudos
Message 5 of 8
(4,616 Views)
I have also red it. It disable the connection with PLC through OPC server and allow to load process without any connections with PLC via OPC server. I.e loading process doesn't poll the PLC's and updates any dates, that is why the process can be loaded without hanging. It is usseless only for editing, i unchecked it in operating mode...I tried to play with update rate and deadband and couldn't get any result.

Message Edited by Keen on 07-17-2006 05:35 AM

0 Kudos
Message 6 of 8
(4,613 Views)
Can you use ServerExplorer to connect the OPC server and get right value?
If you have some other OPC client, such as opcquickclient, you can have a try to see if the OPC server is good.
Ryan Shi
National Instruments
0 Kudos
Message 7 of 8
(4,591 Views)

I didn't use the server-explorer, but i've just tried to view my dates via it. I see the same situation. I changed a viriables in my PLC by hand but dates was updated after about 7-12 second here (panel of lookout) and there (server explorer).When i tried to look my dates for testing via server-explorer, i did the following: I clicked on the properties of variable, chose a synchronous I/O and tried to set up a different pollrate but the date was updated independently of it. When i tried to use write option, the date was writing after i clicked on the write button, and after that it was immediately updated to the current value from PLC, but i tried to write the date with frequency which was faster then 7-12 sec!!!......Approximately 20 variables are shown concurrently. I tried to inffluence upon a pollrate (from 0:01 to 0:20) each of them but i didn't get any results. Why doesn't it help me?

Message Edited by Keen on 07-19-2006 01:52 AM

0 Kudos
Message 8 of 8
(4,584 Views)