02-14-2012 07:20 AM
Hi,
I am currently trying to bind a shared variable hosted on a RT PXI to another variable in a different project running on a Windows PXI.
In the variable properties on the RT system I have checked the 'Enable Aliasing' box, selected PSP URL and browsed to the variable on the Windows system. I then just have a very simple VI in the RT project to write to it's variable, and a VI on the Windows system to read from it's variable. To begin with it doesn't work (I don't see the variable on the Windows side update when I write to the RT variable), but I don't get any errors. Eventually I get a -1950679023 error on the RT side.
This does all work fine if I do the same thing from a Windows PXI to a Windows PXI.
Should this work on a RT PXI?
Many thanks,
Sarah
02-14-2012 04:25 PM
Can you see both sets of SV in the Distributed System Manager? My guess is the SV library isn't getting deployed on your RT target. I haven't used PXI RT, but on my cRIO systems I had to deploy the SV library separately from the startup.exe
02-15-2012 03:26 AM
Hi,
Many thanks for your reply.
Yes, I can see both shared variables in the distributed system manager. The SV on the Windows system looks fine, however the SV on the RT system says 'Quality: Process Failure'. I have tried stopping the process, removing the process and then redeploying the library a few times, but that doesn't seem to help.
Thanks,
Sarah
02-15-2012 07:09 AM
I have found that if I use the functions in the shared variables palette on the RT PXI I can talk to the shared variable hosted on the Windows PXI without needing to alias a copy of the shared variable on the RT system.
This solution seems to work well, and is neater so I think I will do it this way instead.
Sarah
02-16-2012 09:13 AM
I do this all the time, but I do the binding on the Windows side.