Hi, I'm trying to read a network-published shared variable from a myRIO-1900 (LV 2018 32-bit). The code is contained in two different projects, and the variables are deployed onto the myRIO. The PC sends a request to read data from the myRIO using a network-published shared variable, and waits for a response on another network-published shared variable (both of type string, from flattened data. When running both the PC and myRIO from code (i.e. hitting play on the PC and myRIO main VIs), communication works fine, the myRIO receives the requests and sends data back to the PC. However, when running code on the myRIO as a RT executable, this doesn't work properly. The PC reports warning 180121602 (empty buffer) when trying to read from the receiving shared variable, and when I hit refresh in DSM, it says that it is trying to connect to both variables despite having statuses as "good." Any advice is appreciated!
↧