09-07-2007 03:54 PM
09-10-2007 08:22 AM - edited 09-10-2007 08:22 AM
Message Edited by Kabul on 09-10-2007 02:29 PM
09-10-2007 12:00 PM
09-10-2007 12:21 PM
09-10-2007 03:56 PM
Hi,
The OPC communication part is just a "small" part of my larger labview code
that i want to use to monitor and control the system, so i need to use labview opc client.
For better understanding of my problem: I can see, read/write values to the desired tags from the ABB server
if I use the free matrikon OPC explorer.
Also with the Labview OPC client I can communicate with other OPC severs on the same computer as the ABB server.
So either side seems OK just when I want to communicate between Labview and the ABB server the problems appear
in the last step. Even in this case I can seen the ABB server, I can bowse and find the tags, just when I click on the
tag the whole labview crashes. Still having the same problem as yet....
regards
Zoltan
09-11-2007
04:01 AM
- last edited on
03-16-2026
09:12 AM
by
Content Cleaner
Hey Zoltan,
The reason you cannot see the server explorer is because you do not have the DSC module.
Is your server a SCADA server? The reason I ask you this is because this was a known issue with LabVIEW 8 (here) and was fixed in later versions. What I would urge you to do is download LabVIEW 8.5 evaluation copy and see if the same problem persists.
Also, LabVIEW 8.0 can not connect to the OPC server when there is another OPC client connected to the same server. Again, this has been fixed with later versions.
I hope this will solve the problem.
Best Wishes,
09-11-2007 09:57 AM
09-11-2007 10:44 AM
09-13-2007 01:18 PM
Hi,
I still have problem to get arround this thing....No rpogress at all.. but here it is what I did:
1. I found the server explorer on the NI site and installed. I can read/write the data
ABB server (ADS.OPC.2) beutifully, see ( the figure attached).
2. In LAbview 8.0 with DSC 8.0 I tried two things:
2.a - the same as before. If I try to use any of the OPC examples from the opc.dll
e.g. "Browse to OPC item.vi" I can open the browser, I can see the OPC server
I can even see the group and the tags, but when I click on any of the tags again
Labview crashes with the error message (see the figure). This is the same original problem...
2.b - Now still in Labview 8.0 where I have DSC 8.0 installed I added to a new project
New --> I/O server --> OPC --> and add the ADS.OPC.2 from the list of registered OPC servers and add
as a linrary to the project ( this is fine so far)
But when I right click on the newly added OPC1 and check the View I/O items I cannot see any tags.
(when I dod the same procedure with any other OPC server, e.g. MAtrikon no problem).
The same if I still go ahead an to add new variable I cannot see the tags from the server. Only
the NI OPC CLient Status group appears (which does not belong the the ADS.OPC.2).
3. Finally, I downloaded Labview 8.5. I do not have DSC 8.5 so I only tried method 2.a. That is the simplest
example from the opc.dll crahes Labview.
During all this time I have no problem to communicate in Labview with other simulated opc sertvers,
and at the same time I have no problem reading/writing data to the real ADS.OPC.2 using other
the Matrikon or the NI server Explorer...
I am running out of ideas ...:-(((
Thanks
Zoltan
http://www-staff.lboro.ac.uk/~cgzkn/ABC/errora1.jpg
09-14-2007 07:45 AM