LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot drag shared variable to VI

LabView 8 shared variables; projects:
 
I created a project, a LabviewLibrary within it, and a shared variable ("runs", a 1D array of i32) within that.
I added VIs, which I had written before I created the project, to my project.  I did this by right-clicking on the library and selecting New >> VI and then selecting my VIs.
 
I cannot drag my shared variable onto the older VIs.  I can only drag it onto the brand new ones that I created within this project.
 
I got around the problem, for now, by copying the entire block diagram of my old VI onto a new one.  But this is a pain.  Can anyone help?
0 Kudos
Message 1 of 6
(3,626 Views)
I don't seem to be having the same problem, unless I'm not following the same steps as you.

Could you post a step by step procedure that shows the entire process and where the problem occures?

What I'm doing is creating an empty new project, creating a library, creating a variable inside the library, add an existing VI (a version 7.1 VI) and drag the variable to the block diagram.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 2 of 6
(3,607 Views)
Strange, the problem went away on its own free will.
 
I did shut down the computer between Friday and today, maybe that's what fixed it.  Let's hope it remains a mystery because I'm really not interested in getting another chance to diagnose it.
0 Kudos
Message 3 of 6
(3,603 Views)
I guess it's good that's it stopped, but you just know it's going to show itself again at the worst possible time. At least that's the way it happens to me.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 4 of 6
(3,590 Views)

I Saw something similar durring the NITS here in PGH.

It was not obvious but the target VI was still running.

Stopping the VI on the target fixed that issue.

If you run into this issue again think "Is it running?"

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 6
(3,587 Views)
Good point,

Come to think of it, I saw the same thing happen at NITS in Minneapolis last week. It just slipped my mind.

Ed


Ed Dickens - Certified LabVIEW Architect
Lockheed Martin Space
Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
0 Kudos
Message 6 of 6
(3,580 Views)