Thanks for the reply. Unfortunately, the problem remains:
I first create the library explicitely, before creating any variables. I saved the library to a subdirectory. Then I create variables. When the variables are instantiated within a VI, at some point LabVIEW automatically creates vi files on the disk corresponding to these variables. These VI files were placed in the main directory with the project file, not in the subdirectory where I put the library. This is surprising to me and I would think this is a bug.
My solution at this point was to create a "Project" subdirectory. I put the .lvproj and the .lvlib file in that subdirectory and now the shared variable vis appear there as well. This is a kludge.
My main question at this point is: can you specify where these shared variable VI's get created and stored? I suspect that you could edit the .lvproj file or other xml files to change the share variable paths, but that is inappropriately difficult. I tried just moving the files to where I wanted them, but then the variables don't load. I managed to reload them, but at some point, they recreated themselves in the original location.
At a minimum, the shared variable VIs should create themselves in the same directory as the .lvlib file that they belong to. At least you can specify where the .lvlib file lives.
Regards,
Dave
-------------------------------------------------------------
David Thomson Original Code Consulting
www.originalcode.com
National Instruments Alliance Program Member
Certified LabVIEW Architect
Certified Embedded Systems Developer
-------------------------------------------------------------
There are 10 kinds of people: those who understand binary, and those who don't.