12-13-2006 10:03 AM
12-14-2006 12:39 PM
Hello JH2006,
Unfortunately, Windows Server editions are not supported platforms for LabVIEW. Could you try running these VIs on a Windows XP machine to see if they are still occurring?
Happy Holidays!
Janell R | Applications Engineer
02-22-2007 10:04 AM
After trying for some time to resolve my original post, I have found the following:
If I give the login account I am using on the workstation administrative priviledges on the server, my application will work correctly. However, if the account is just a general user, it will not work. Are there DCOM settings that will override this issue?
Thanks
02-23-2007 10:05 AM - edited 02-23-2007 10:05 AM
Message Edited by Doug M on 02-23-2007 10:10 AM
02-26-2007 05:09 AM
Thanks Doug for the reply and the link to the OPC Foundation. I had already reviewed that document but it pertains to Windows XP systems. I have Windows 2000 and Windows 2000 Server.
The odd thing in all of this is that NI's ServerExplorer works fine as I am able to see the remote PC and connect to the OPC servers. My request of NI would be: How does ServerExplorer operate? That way I could program in the same method.
Jason
02-27-2007
12:52 PM
- last edited on
06-17-2025
04:33 PM
by
Content Cleaner
Jason,
LabVIEW DSC 8.0 and later only supports browsing to OPC 2 and 3 servers (hierarchical browsing, not flat browsing), so if the version of RS-Linx that you are using is older, it may only support OPC 1 style browsing.
Additionally, if you are using LabVIEW 8.0 rather than 8.2, make sure you have installed LabVIEW 8.0.1 and LabVIEW DSC 8.0.1, or upgrade to LabVIEW 8.2. LabVIEW DSC 8.0.1 includes a fix that allows browsing to RS-Linx OPC Servers.
03-08-2007 08:39 AM
Thanks again Doug for your input. Here is where I am at:
1. I have installed LabView 8.2.
2. I am able to connect to the RSLinx Remote OPC Server through NI ServerExplorer utility, create a group, add variables and view data.
3. When I create a new LV8.2 vi utilizing the DataSocket Open function with the following URL
opc://vmstary16s/RSLinx Remote OPC Server/[FCS]BILLET_QUE[82].SLN
I am still getting errors. The error is -2147023170 DataSocket Open in opctest.vi
Your thoughts? Thanks!
03-09-2007
02:49 PM
- last edited on
06-17-2025
04:33 PM
by
Content Cleaner
JH,
I'm not really sure why you can view the data using Server Explorer but not via Datasocket.
The first thing I would do would be to figure out where the problem is occuring -- somewhere in the networking/DCOM permissions chain, or whether there is an incompatibility with the OPC Server itself. So first, I would install RS-Linx locally to see if you can successfully read from Datasocket.
Assuming this works I would check to make sure that opcenum.exe is running on the remote machine. I would also make sure your firewalls are turned off.
03-14-2007 10:43 AM
A few comments...
1. Each machine is Windows 2000 and not XP so I don't know if that app note applies. Plus I believe the firewalls are off but will check.
2. I am able to get DataSocket to work if I am logged in as the same account on both PCs. This account has Admin priviledges.
3. My request of NI is how is the ServerExplorer application programmed? That would allow me to program my VI for any account login.
Thanks again!
03-14-2007 04:37 PM