03-30-2006 05:46 PM
03-31-2006 02:27 AM
Hi Peter,
Apparently, there's something fishy about this. See this thread:
http://forums.ni.com/ni/board/message?board.id=170&message.id=151442
Does your cursor turn into a stop sign when you try and drag the Shared variable onto the diagram? If yes, I would make sure the VI you're trying to drop the shared variable onto is not in Run Mode. Ctrl+M should toggle this.
-Khalid
03-31-2006 08:13 AM
Hi Khalid,
Thanks for the reply. Yes, it turns into stop sign when I'm trying to add the shared variables into the block diagram. I've made sure the VI is not running and still run into problem. It's interesting that others have seen the same problem. I'll try to ask NI support on this matter and post back.
03-31-2006 11:16 AM
I've seen this issue as well and only managed to fix it by closing and reopening my project. This seemed to happen on occasion when I added a new VI to a project and tried to drag a shared variable onto its block diagram before I saved the project. Unfortunately, this is not 100% reproducible (I don't even think it's that common), which makes it tricky to troubleshoot.
Try closing and reopening your project, or possibly removing the VI from the project the adding it back, then reopening your project. Some combination of these techniques has usually helped me, and they don't take much time to try.
03-31-2006 04:28 PM
Thank you Jarrod for your suggestion. It worked!!! This looks definitely like a bug. I can't just close and reopening the project though. I had to remove the VI from the project, save the project, close the project and reopen the project. THanks again.
Peter
01-23-2019 02:30 PM
Thank you for the suggestion 13 years later. I had the same issue. Closing and reopening LabVIEW fixed the issue.
04-15-2019 03:52 PM
I too am having the same issue, but closing the project does not resolve the issue. I have also tried closing labview and still can’t drag and drop the variable from my project. What is up with that?
04-15-2019 04:03 PM
I had to add the vi that used the shared variables to the same project that contains the shared variables.
04-15-2019 04:09 PM
Did that fix it? I was going to ask what changed since your post above from January this year.
Regards,
-Khalid