From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save image with Invoke note - multi "Tab Control" problem

Hi

 

I have problem with saving graph to file if I use tab control.

 

I have two graph each graph in a different tab. Program automatically save graph into file but only graph which tab is open.

 

Please find enclosed program.

 

Bye

0 Kudos
Message 1 of 3
(2,268 Views)

Well, you programmed it that way.  The tab control wired to the Case selector means that only the case corresponding to the selected tab will execute.  If you want to save both graphs, regardless of which is displayed, then you need to call the Export Image Invoke node for both graphs, not just one of them.

 

Lynn

 

Also, you do not need the sequence structure. Use dataflow.

 

No Sequence.png

0 Kudos
Message 2 of 3
(2,246 Views)

Ah, the old "case" of the computer doing exactly what you tell it to.

0 Kudos
Message 3 of 3
(2,234 Views)