10-28-2014 09:44 PM
I'm getting an error -356698 when attempting to start on OPC server on a cRIO-9068. The create works just fine, I've also found I can add tags to a stopped server without error, as well as destroy the server. The error only comes up when I'm attempting to start the server, as shown in the attached snippet. Any thoughts?
Solved! Go to Solution.
10-30-2014 10:07 AM
I tested the code on a cRIO-9068 myself and it ran just fine. The error code seems to indicate some sort of connection problem but I am not yet sure what may be the reason. Can you upload a screen shot from the error itself showing the whole window? (code, hex code, source, explanation). I just want to check a couple things there.
Also, you probably have the software properly installed in the CompactRIO (if not, the VI would not even deploy) but you can verify you have the OPC UA Server listed and maybe even reinstall the cRIO-9068's software.
Also; is the information showing up in the server endpoint URL correct? What do you receive in that indicator?
10-30-2014 11:19 AM
Camilo,
This was resolved with some help from the embedded team over on the OPC UA forum. Link is here; https://decibel.ni.com/content/message/85663#85663
Seems like it has to do with the 9068 not recognizing itself as a host. Fixed in 2014 SP1, it sounds like. Perhaps you're running newer firmware with the fix there already.
Thanks for your reply though. I'll mark this as the solution in case anyone else runs into this error and searches for the error code.
-Ian
10-30-2014 11:33 AM
Thanks for the update.
I am running 2014 though. However, my NI-RIO version is 14.0.1, so if you have 14.0.0, you can try upgrading it. You will find the download here.
10-30-2014 11:36 AM
I've wondered if there's any issues running NI-RIO 14.0.0 alongside LabVIEW 2013 SP1 or are they independant of one another?
10-30-2014 11:41 AM
As long as it is LabVIEW 2013 SP1 and not LabVIEW 2013 flat, there shouldn't be any issues.
11-06-2014 04:17 AM
Hi Carnaval,
I'am running in exactly the same issue with my cRIO 9068 (Fw 2.1.0f0) with LabVIEW 2014 and NI 14.0.1.
As Lv 2014 SP1 is not accessible, and the link (propose in your mail) not reachable, could you provide me the solution or workaround to fixe this issue ?
Thanks.
11-06-2014 10:50 AM - edited 11-06-2014 10:51 AM
1-Open a SSH session to your cRIO-9068 controller using a terminal client like Putty which is free. Please follow the instructions in this KB to enable SSH in your cRIO9068 and connect via Putty:
http://digital.ni.com/public.nsf/allkb/9822A3A39B1D0CBB86257C55006B962A
2-You have to login as the admin account and open the host configuration file with the following command: vi /etc/hosts
https://decibel.ni.com/content/servlet/JiveServlet/downloadImage/2-85607-183261/310-157/SSH1.jpg
3-Add a second line to the file as follows 127.0.0.1 <cRIO-9068 HostName> <Alias>
https://decibel.ni.com/content/servlet/JiveServlet/downloadImage/2-85607-183262/450-282/SSH2.jpg
4-To close the file type :q
5-Reboot you cRIO-9068 system
11-06-2014 11:20 AM
Thanks,
Somebody of my team already faced to that issue few weeks ago, and knew the hosts file trick. Thanks for this detailed workaround, it will be helpful for every OPCUA user on cRIO9068 until 2014 SP1 release.
Thanks.