A couple years ago, I wrote some software using Labview 2017 to control 5 48-channel multiplexers in order to iterate through them simultaneously into a cRIO 9066. Things worked great, and I passed the software on. Last year the people using the software upgraded to 2018 and things stopped working. I finally have time to check it out again and I can not make heads or tails as to what is going on.
I decided to get it working with Labview 2017 again to get a better understanding of what was going on. I downgraded the cRIO to 2017 and the software still did not work. After multiple attempts of reformatting, reinstalling, and managing the devices in the project I was able to get things working again though not sure exactly which part worked. Since then we reupgraded the cRIO back to 2018 to see if we can get it working. This brought us back to square one and it appears to be issues accessing the Real Time Scan Resources and the Scanned Variable Write. The error I get is: "Unable to access the shared variable. This error can occur if you attempt to read from a write-only variable or write to a read-only variable, or if you do not have permission to access the variable. "
I don't know if I need to somehow completely delete and recreate the variables or what. I've tried deleting the device in the project and readding it both by adding it as an existing target and by adding a new target then adding the modules individually.
I replicated what I did the other day by reformatting and going back to 2017, but the issue persists. The uploads are a paired down version of the code trying to get just the read and writes working again.