05-06-2009 05:43 PM
I have a VI running on a RT Target and I want to control the sequence of processes it runs from the PC Host. I have setup a Shared Variable (SV) to tell the Target which process to execute. However, as long as the VI is running on the Target, I can not change the value of the SV from either my VI running on the Host or from the Distributed Systems Manager (DSM). On the Host I get a error (-2147024891) saying I do not have access to the SV. On the DSM, it just refuses to set the SV to a value I specify. I make sure that the properties for the SV have 'single writer' disabled, but when the VI on the Target runs, it becomes enabled. I have setup other SVs to share data between my Host and Target and do not have these problems. Any suggestions for troubleshooting?
05-08-2009 08:16 AM
05-08-2009 05:37 PM
05-11-2009 06:48 PM
additional information ...
When I try to edit this SV from the DSM I get an "Invalid Configuration" Error:
"The followng features present in the variable configuration are either not licensed or cannot be edited outside of LabVIEW:
Real-Time Features
Would you like to remove these features from the configuration?"
I do not get this error when I try to edit this SV library from the Project Explorer. This error only happens for DBL and UInt32 data types but not for Boolean or Arrays.
I noticed that when I used this same SV library in a different project, using the same target and host, the SV giving me the problems does not appear in the SV library file.
05-12-2009 08:36 AM
Hello faustina,
Are you using DSC? Also what version of LabVIEW are you using? Do you have logging enabled on the shared variable. If you create a new variable (DBL or U32) in the same library, leave all the settings default, do you see the same error?
05-13-2009 06:24 PM
05-14-2009 10:57 AM
05-18-2009 06:39 PM
05-19-2009 05:09 PM
faustina,
I am not sure why we are receiving the error you have described only on certain variables. I think the easiest way to resolve this issue will be to replace the "broken" variables with new variables that you have proven to work