LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Disable all diagram block

Hello to all,

 

I would like to disable all diagram block of my VI.

 

Is there any way to do that?

 

(It is very huge and It is imposible to do with diagram disable structure by hand)

 

Thanks!

0 Kudos
Message 1 of 12
(2,983 Views)

Hi Alvaro,

 


@Alvaro.S wrote:

I would like to disable all diagram block of my VI.

Is there any way to do that?


You want to disable the complete block diagram? What about removing the complete VI call from the calling MainVI?

 


@Alvaro.S wrote:

(It is very huge and It is imposible to do with diagram disable structure by hand)


This may be the problem behind your request: why is the block diagram so huge? Can't you split your "huge block diagram" into several smaller subVIs?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 12
(2,964 Views)

Thanks for replying!

 

I would like to diseble the complete block diagram. Because  would like to test an aditional functionality in the same VI. Test it separately and when I will have tested it then enable the other functionalities.

 

How can I "removing the complete VI call from the caliing MainVI"?

 

Thanks a lot

0 Kudos
Message 3 of 12
(2,962 Views)

Do a CTRL-U on your block diagram and see if that makes it a more manageable size. If your block diagram is more than one screen then you should consider putting some of your in subvis as GerdW suggested. Also, posting your code here might lead to further suggestions. 

0 Kudos
Message 4 of 12
(2,955 Views)

@Alvaro.S wrote:

I would like to diseble the complete block diagram. Because  would like to test an aditional functionality in the same VI. Test it separately and when I will have tested it then enable the other functionalities.


In addition to the *very* good advice from @GerdW and @johntrich1971...

 

Can you just test the additional functionality in a new VI? Then once it's working, copy the code into your original VI.

Or better yet, keep your new functionality in the new VI, make that into a subVI, and call the subVI in your original VI.

 

(Hopefully your original VI will be cleaned up and organized into subVIs by then).

 

Just thought I would recommend that as an option.

-joeorbob

0 Kudos
Message 5 of 12
(2,939 Views)

Thanks a lot.

 

I really would like to do what you say if it is possible.

 

Can you give me some links abou variables and structures behaviour  between VIs?

 

Thanks a lot

0 Kudos
Message 6 of 12
(2,932 Views)

@Alvaro.S wrote:

Thanks a lot.

 

I really would like to do what you say if it is possible.

 

Can you give me some links abou variables and structures behaviour  between VIs?

 

Thanks a lot


The main forum page is full of them.  Look under "LabVIEW Training Resources".

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 7 of 12
(2,909 Views)

@Alvaro.S wrote:

Can you give me some links abou variables and structures behaviour  between VIs?

Are you talking about making a local variable in one VI and using it in another...? That isn't possible.

 

 

Though if you're asking that question (or about variables and structures in general), it seems like you may need to look at the training resources...

 


@billko wrote:

The main forum page is full of them.  Look under "LabVIEW Training Resources".

The main forum page @billko mentioned is here (in case you were having trouble finding it). "LabVIEW Training Resources" is near the top.

0 Kudos
Message 8 of 12
(2,901 Views)

What if you go to the upper right most area of your block diagram.  Add a small diagram disable structure.  Make sure auto grow is on.

 

Do a Select All (Ctrl-A) then Shift-Click the DDS to deselect it.  Then try dragging the selection into the disable structure.

Message 9 of 12
(2,889 Views)

@Alvaro.S wrote:

I would like to diseble the complete block diagram. Because  would like to test an aditional functionality in the same VI. Test it separately and when I will have tested it then enable the other functionalities.


This isn't a LabVIEW issue.  It is a Source Code Control (SCC) issue.  This is why SCC, such as SVN and GIT, have things like branches.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 10 of 12
(2,852 Views)