From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-28-2009 12:58 AM
Hi,
I need some info related to Graphs/Charts in Labview.
Where I am facing problem is:
User has to select from a ring control , type of graph/chart he wants i.e.,XY Graph,Waveform Graph,Waveform Chart...
Based on his selection I need to create that particular graph dynamically at run-time and plot the data.
Please suggest how I can do this....
Regards,
Harika
07-28-2009 01:33 AM - edited 07-28-2009 01:34 AM
HI
Do you want to plot the any one graph at a time ? if yes so you can use tab control and place different graphs on each page. Value change of ring control will show the respective tab page
Regards
Santosh
07-28-2009 01:45 AM
Hi Santosh,
Thanks for your quick reply.
Yes, I want to plot only one type of graph at a time...If I use tab control,only user selected page should be visible to the user, others should not be seen. How I can do this ??
Is there any property for the tabcontrol to hide the selected page??
Thanks,
Harika
07-28-2009 01:53 AM
07-28-2009 01:55 AM - edited 07-28-2009 01:57 AM
HI Harika,
There is property to hide the pages but you dont need that, you just need to display one page a time.
Just right click on tab control and in shortcut ment disable Visible Item >Tabs, this will hide the Page selection. If you want you can make the color of tab as transperent (It looks like you are not using any tab control)
Go to the terminal on the tab control, you can write the tab page number you want to display.
Regards
Santosh
07-28-2009 02:07 AM
Hi harika,
I tried something for you.
07-28-2009 02:15 AM
07-28-2009 02:28 AM
Hi All,
Thanks for all your suggestions......
What I understood is i have to create seperate tabs for each of type of graph/chart, based on the user selection only that tab should be made visisble.......that means I have to provide data(means what i want to plot) to all the types of graphs....
My data is in the form of a 2-D array.........How I can give this as a input to XY Graph and Waveform Chart?????
Thanks,
Harika
07-28-2009 02:42 AM
07-28-2009 02:45 AM
Thanks for your Quick reply.....
Can you please suggest for XY Graph and Waveform Chart as I mentioned before.......