LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

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

Highlighted

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
(827 Views)
Highlighted

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
(805 Views)
Highlighted

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

0 Kudos
Message 3 of 3
(793 Views)