LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I recieve error 1967390702, what does it mean?

I created an RSLinx OPC I/O server in my project tag library. I then added a variable and bound it to a PLC address, which I was able to browse to. In my main vi, I run an initialize routine to open a datasocket connection to my list of variables, for speed of access. This worked fine before I added the OPC variable; but I get "Error-1967390702 occurred at DataSocket Open in project name .... Possible reason(s): LabVIEW: (Hex 0x8ABC0012) Timed out while trying to connect to peer", with the OPC variable added. I am running LabView 8.2.1. What advice can anyone offer?
0 Kudos
Message 1 of 2
(2,471 Views)
Hi bac81362,
I answered your question in the E-Mail I sent you.  For the record, here's the content of the E-Mail.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
There are several things we need to check.
1. Can you read the values from your PLC registers. Use Server Explorer (under Start->Program Files->National Instruments->Server Explorer) or use the quick client RSLinx provides to connect to the registers to see if you can read any values.
2. Check if your shared variables are reading any values from the OPC server.  Open up Variable Manager (Start->Program Files->National Instruments->Variable Manager->Variable Manager) to see what shared variable libraries are deployed on your computer, clean out the ones that are not in use and make sure the shared variable libraries are deployed properly.  Then you can drag and drop your shared variable to the Watched Variables section to see if the values are being read correctly.
3. Create an empty VI, and put down Use Data Socket Select URL VI. Create indicators to show the error cluster and the URL output. Run the VI to make sure data socket is working properly and that you can select the desired URL.
4. Create a Shared Variable Constant, and browse to the approperiate shared variable.  Connect it to a Datasocket Open, and do a Datasocket Read and then use Datasocket Close when finished using the VI.  Check if you are reading the correct value.
Please let me know if anything fails during these steps, where it fails and what error message you are getting.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Hope this information helps! Please reply to this thread or my E-Mail to follow up with this issue.

Thanks!

Yi Y.
Applications Engineer
National Instruments
http://www.ni.com/support
0 Kudos
Message 2 of 2
(2,438 Views)