03-31-2011
11:50 PM
- last edited on
05-19-2025
05:42 PM
by
Content Cleaner
I have a framework for my application. Part of the framework depicts a common module for all my other systems (cRIO).
Therefore i created library for this purpose. My module involves communication between 2 loops. Therefore i used single process shared variable. But i wasn't able to create shared variable on the library.
"File-> New -> Library"
Hence i created an empty project and created a new library (lvlib) and added in the shared variables which falls within the hiercharchy of the lvlib. Everything works fine till then.
To move further, i created a new project, with 2 cRIO and have a RT build specification which includes the lvlib. But the single process shared variable wasn't included.
I read an article which says shared variable only house in the project scope.
Is there any work aroud?
If not, i've to replace it with global variable.
Many thanks!
04-04-2011 10:38 AM
Not sure what you are trying to do...can you show us your project?