06-25-2019 08:32 PM
Hello.
I'm using a host PC and two sbRIOs to make a control system now.
And I have tested the system without any problems worked as VI files.
But when I convert the sbRIOs VI to Application files, the system doesn't work as before.
As far as surveyed, the network share variables( NSV ) running in sbRIO1 are not run as usual, however there's no problem with the NSV in sbRIO2 .
Can anyone tell me what's wrong with the variables in sbRIO1?
At first, I have used all of the NSV as custom defined, and now the NSVs in sbRIO1 are changed to booleans or arrays.
07-07-2019 07:18 PM
Hi Damon6102,
I'm glad to hear that you changed the NSV from type definitions to a RT-supported data type.
If the NSVs still aren't working, however, I would suggested checking #5 under "Troubleshooting for a Real-Time (RT) System"
Is it possible that the new booleans/arrays you created exist as front panel objects? Such booleans/arrays will need to exist as shared variable nodes on the block diagram to properly update.
"Archived: Troubleshooting Network-Published Shared Variables"
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P6vdSAC&l=en-US