cancelar
Mostrando resultados para 
Pesquisar então 
Você quer dizer: 

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
Mensagem 1 de 6
3.951Exibições
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
Mensagem 2 de 6
3.932Exibições
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
Mensagem 3 de 6
3.928Exibições
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
Mensagem 4 de 6
3.915Exibições

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
Mensagem 5 de 6
3.912Exibições
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
Mensagem 6 de 6
3.905Exibições