LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why the tab control changed my graph automatically? how to solve it?

Hi, everyone.
this is my first time i use Tab control.
i had two pages and ploted two different graphs on each one.  On both graphs, i had 250  points. And on my program i used the graph's "Property Node" to set the xscale.minimum to 200. when i ran the vi, the active page's graph worked well, the minimum x was 200. But when i clicked the other page, the x minimum was 0. it is a strange to me.  what  really  surprize me  was that  when i  returned to the first page,  the  graph x minimun becomes 0 also. i was puzzled! please help me. thanks.
0 Kudos
Message 1 of 2
(2,446 Views)
There is a known problem with tab controls - especially when used in conjunction with graphs. The solution - and the correct design approach - is to dump the tab control and instead of displaying different graphs, change the data in the graph. Think about it, a tab control doesn't really add anything since you can't see more than one page at a time.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 2
(2,426 Views)