LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC UA Server on RT (Dev Env vs RT EXE)

Solved!
Go to solution

I am working on an app for OPC UA where the Server is supposed to be hosted on the cRIO-9064, LabVIEW 2016.

In Development Environment it works fully and the OPC UA Server is created properly and the tags etc.  I can connect a client from my PC with no issue.

 

Am I missing a step to allow the OPC UA Server to be created in an RT EXE environment?

 

When I compile the RT EXE and it runs on the cRIO - the exact same code runs and the Server goes through the same steps, but when it comes time to create the tags, I am getting error -356500 "LabVIEW: (Hex 0xFFFA8F6C) An internal error occurred as a result of a programming or configuration error."

 

The Server is created before the Tags are added, but the Server is not started until after the tags are created. 

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 1 of 3
(3,094 Views)

To add  further detail - it creates the first two folders that are used as Owners of the Tags first with no errors in the RTEXE mode.

 

It is when the first Tag is attempted to be added under one of those folders that the errors start - no Tags actually get added, they all show the same -356500 error.  So the Server is started correctly it seems, since the folders are created correctly.

 

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 2 of 3
(3,067 Views)
Solution
Accepted by topic author RVallieu

BAH!  

 

Did it to myself - RT EXE not loading Tag information from the file on the RT correctly - when I hard coded the tags list the Server worked.

Ryan Vallieu CLA, CLED
Senior Systems Analyst II
NASA Ames Research Center
0 Kudos
Message 3 of 3
(3,059 Views)