10-11-2022 12:06 PM
Hello everybody, I'm a newbie on labview so please be nice 😅. I am trying to take data from a DMM with DAQ devices and plot data to save them in labview. I want to get the measurement error on the y-axis and the relative tension on the x-axis, but I don't know how to change the axis-sources. I tried to look around the forum for similar problems without any luck. Can you please explain me how to do it?
Here you have the subVI for the data analysis
Solved! Go to Solution.
10-11-2022 02:03 PM - edited 10-11-2022 02:05 PM
Buona sera sefhits,
you forgot to attach your subVI!
See these changes to your VI:
@sefhits wrote:
I want to get the measurement error on the y-axis and the relative tension on the x-axis, but I don't know how to change the axis-sources. I tried to look around the forum for similar problems without any luck. Can you please explain me how to do it?
When you want arbitrary values for X and Y axis then you should not use a chart.
The XYGraph would be the "natural" choice for your problem…
10-11-2022 03:33 PM
I'm sorry there it is the subVI. Howevere I still don't know how to do it even with the X-Y graph. As I see I can only change the name of the axis, but not the source.
10-12-2022 08:28 AM
Following up on @GerdW's excellent observation that if you are plotting two sampled values (measurement error and relative tension) against each other, you need to use an X-Y graph (with "relative tension" on X and "measurement error" on Y), you need to do the following:
Note that there are other ways to arrange the Data for an XY Graph. One (easy, quick) way to learn "How to" do it in LabVIEW is to turn on "Context Help" (type Ctrl-H) and hover your cursor over the XY Graph on the Block Diagram. Read the Help and Detailed Help.
Bob Schor
10-12-2022 02:50 PM
Thank you so much. I did It!
10-13-2022 11:37 AM
Hello everybody. I am trying to plot a graph with measurement from a DMM and then on the same plot I want to show the measurement errors and accuracy of the DMM itself. So I want to get the ideal tension on the x-axis, measurements error on the y-axis plotted as points in the graphs, and show the accuracy range of the DMM so I can show every point if the measure is in the accuracy range, the error and what the measur should be. That's my VI, really don't know how to do it. I tried to put the tension and errors on x and y axis respectively with a X-Y graph but I don't know how to show the accuracy range in the same plot. Here it is the VI and a picture of what I would like to get.
10-13-2022 12:37 PM
Given this post is a continuation of your previous post, it would be best to continue the discussion there instead of a new one.
https://forums.ni.com/t5/LabVIEW/Changing-axis-source/m-p/4260755#M1240660
10-13-2022 01:08 PM
I'm sorry I thought to do another topic because I marked the other one as 'solved'. Should I delete this one and continue on the first one?
10-16-2022 07:46 AM - edited 10-16-2022 07:47 AM
I successfully plotted everything, but I want to know if there is some better way to plot the accuracy range, the one in blue on the image, because I feel like the VI is getting bigger with no sense. I was wondering if there is a way to shift the accuracy line of a certain value to get the range in a easier way. Would you be so nice to take some advice? There it is the VI and and image of what I would like to get. Be carefull, data in the VI are created randomly because I should get this data on laboratory with a DMM