04-15-2016 09:08 PM
Hello all,
I have x-axis date&time string and y-axis temperature data. please find the attachment (date_vs_data.xlsx). i am using LasbVIEW XYGraph to plot this variable, its seems to be there is more cut off lines. but in excel (using scatter with smooth Lines) getting the smooth lines, Please find the attachment (comparision_labviewxygraph_excelscatterwithsmoothlines.png).
I want to plot the smooth lines using XYGraph (or it can be using waveform or chart)
Could me help please
Using LabVIEW 2010. OS: windows 7, 32 bit.
Solved! Go to Solution.
04-16-2016 03:06 PM
If you want help with LabVIEW code, you need to attach the code (meaning the LabVIEW VI, itself, not a picture of it). If it needs to operate on specific data, attach the data, as well. It is also helpful if we "know the nature of the problem".
Note that if you need to attach more than 2-3 files, you can put all of the files in a folder, compress the folder, and attach the (single) .ZIP file.
Bob Schor
04-18-2016 11:46 AM
Hello Bob,
Thankyou for your reply.
Please find the VI attachment.(named data_plot.vi).
Requirement : have to get the smooth (scatter with smooth line) plot in LabVIEW xygraph. like in excel(this excel file is attached, file named date_vs_data.xlsx)...
I referred some other examples also. in that x-axis and y-axis both are numeric data. so that, by using interpolation method, can achieve scatter with smooth line plot. but in this case x-axis is in date&time and y-axis is numeric data. so i don't know how to proceed further.
Kindly help me.
04-18-2016 01:20 PM
OK, I found a minor bug in your Format statement and there's a Feature about Index Array that I learned after four years of doing LabVIEW programming that I'll show you here. This is basically your code, "cleaned up" a little. It is a LabVIEW 2015 Snippet (sorry, I don't have LabVIEW 2010 installed, but it is simple enough you should be able to "edit" your code and duplicate this), and it produces a result that looks very similar to your "Excel" illustration.
I'm sure you noticed that many of the data points have double or more values at the same time point ... curious.
Bob Schor
04-18-2016 08:44 PM
Hello Bob,
Its Great!. This is the output i was expecting. Thankyou so much, I was struggled in some other way of programming.
Thankyou for knowlodge sharing about array. its powerful.
once again Thankyou!