LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to turn off smoothing XY graph

Solved!
Go to solution

I have some charge data. First time i did it, there were noises and oscillations, then i turned off the computer and on the next day i saw these straight lines. How turn off this smoothing to see oscillations? I attached the files, you can check them

Derekqw_0-1779162663402.png

 

Download All
0 Kudos
Message 1 of 6
(933 Views)

I'm not exactly sure what you mean, but I also cannot open the VI as it is has a later LabVIEW verison  than mine.
As far as I know there is no averaging fuction within the indicator element itself. When you right click on the plot in the legend, you can set some display options for the graph, like different styles antialiasing of the line and so on. Is that what you are looking for?

_________________________
using LV 2025 Q3
0 Kudos
Message 2 of 6
(898 Views)
Solution
Accepted by topic author Derekqw

Either you are rounding down after reading or more likely your system has a different decimal separator from the text file.

You can set the decimal separator to a dot using %.;

 

spreadsheet decimal separatorspreadsheet decimal separator

0 Kudos
Message 3 of 6
(870 Views)

We need to be able to "see" your LabVIEW code, which means the file (or files) with extension ".vi".  The best way for us to look at (and "play with") your code is for you to attach one or more .vi files (or the entire LabVIEW Project, saved as a compressed (.zipped) file), but because of LabVIEW's "version" rules, those of us (which includes most of the "experts") running, say, LabVIEW 2021 (or any version older than the version you are running, LabVIEW 2026, the most recent version) will not be able to open it.  So you need to capture the Block Diagram (and possibly the Front Panel) as a .png "Image".  The drawback with this technique is we can't easily "edit" an Image, nor, in most cases, simply "run" it.

 

Since we can't see what you did, we can only "guess" what might be wrong.  However, if you can manage to "post your code" here on the LabVIEW Forum, you'll have access to a community of LabVIEW enthusiasts and experts as potential mentors.

 

Bob Schor

0 Kudos
Message 4 of 6
(845 Views)

@Bob_Schor wrote:

We need to be able to "see" your LabVIEW code, which means the file (or files) with extension ".vi".  The best way for us to look at (and "play with") your code is for you to attach one or more .vi files (or the entire LabVIEW Project, saved as a compressed (.zipped) file), but because of LabVIEW's "version" rules, those of us (which includes most of the "experts") running, say, LabVIEW 2021 (or any version older than the version you are running, LabVIEW 2026, the most recent version) will not be able to open it.  So you need to capture the Block Diagram (and possibly the Front Panel) as a .png "Image".  The drawback with this technique is we can't easily "edit" an Image, nor, in most cases, simply "run" it.

 

Since we can't see what you did, we can only "guess" what might be wrong.  However, if you can manage to "post your code" here on the LabVIEW Forum, you'll have access to a community of LabVIEW enthusiasts and experts as potential mentors.

 

Bob Schor


FYI his code's attached to his first message, though it's in a newer version than a lot of people have.

0 Kudos
Message 5 of 6
(800 Views)

Yeah, i already changed it and now it works! I forgot about this stupid problem of reading data with decimal point "."

0 Kudos
Message 6 of 6
(670 Views)