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.
08-17-2010 04:44 AM
Hello, I am using the Labview 8.2.1 and I would like to ask for a solution.
I use a Waveform Graph with 1 x-scale and 2 y-scales. The one y-scale is left and the other is on the right side of the graph.
I have created 2 plots and I have assigned them to the corresponding scales.
I want to plot 2 x-y arrays one after the other with different y-scales. Specifically, there must be one plot that ends at a value of the x-axis and from that point the other plot must continue using the other y-scale.
To do this I tried a "Sequence Structure", in the first frame of which, I create the first plot using 3 "Property Nodes": Plot.YScaleIndex , ActivePlot & ActiveYScale and I give the zero value to them in order to use the first y-scale.
In the second frame I create the second plot giving the integer 1 to the aforesaid "Property Nodes", but the first plot vanishes and the second plot does not use the second y-scale but the first one.
This is the frame1:
This is the frame2:
What can I do?
Thank you in advance.
Solved! Go to Solution.
08-17-2010 12:05 PM
What happens in your sequence structure is that the second fame overwrites the data from the first case.
You should create your two data-sets, and build an array of those, feed this into a for loop and then per data set, select the proper:
-plot (ActPlot)
-Y-scale (Plot.ScaleIdx)
-Y-scale to edit (ActYscl)
Then set the max and min, be aware that the second Y-scale should be created before running this code.
Another option would be to just auto-scale the Y-scales.
Ton
08-17-2010 02:59 PM
Thank you very much.
It works!
01-27-2012 06:06 AM
01-30-2012 09:44 AM
Hi qing_shan61,
I encourage you to post your product suggestions on the LabVIEW Idea Exchange found here: http://forums.ni.com/t5/ideas/v2/ideaexchangepage/blog-id/labviewideas
Regards,
01-30-2012 09:58 AM
Thank you Allison M, look:
http://forums.ni.com/t5/LabVIEW-Idea-Exchange/idb-p/labviewideas/tab/most-recent
Pease go in and give a Kudos!