11-18-2019 08:55 AM - edited 11-18-2019 09:35 AM
I need to automatically start my cRIO-9040 exporting sensor values, created the startup.exe file and made build specifications to compile the file, then set as startup and then deployed and restart to cRIO-9040 , when I try to access the OPC UA nodes through UA Expert the nodes appear but when I try to access the sensor values they do not appear to me (see Figure).
The project of my cRIO-9040 is attached.
11-19-2019 04:42 AM - edited 11-19-2019 04:45 AM
Hello! I find myself trying to create a build application to my cRIO-9040. My situation is as follows: 1. I have a file that puts me cRIO-9040 as OPC UA Server. 2. I have a file that gets me the data from the sensors attached to the NI-9381 module. when I build the application to run on my own it runs the OPC UA Server file but then does not execute the sensor data acquisition file. Later when I try to access cRIO through Ua Expert it only connects to the OPC UA Server but does not give the sensor values and the parameter value is "0". I do not understand what mistake I am making as it gives you an idea that it starts with the node creation file on OPC UA Server but then does not execute the data acquisition file. My project is as follows.
When i run the two files without build application i can get the values of sensores in Ua Expert.
11-19-2019 08:18 AM
The LVPROJ file you attached doesn't contain any build specifications.
11-20-2019 07:15 AM
Hello!!
I solved the problem of cRIO and now acquire the values of sensors alone.