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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem displaying correct x-axis/y-axis data

Solved!
Go to solution

please see attached picture..

0 Kudos
Message 11 of 17
(1,626 Views)

Hi max,

 

please show also the "raw" data before plotting them in the graph!

I get this when running my version of your VI:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 12 of 17
(1,622 Views)

here..

thanks for your help!

Download All
0 Kudos
Message 13 of 17
(1,617 Views)
Solution
Accepted by topic author s.steen

Hi max,

 

easy solution: when you don't want to have horizontal lines in your XY graph you should not use the same X value more than once in your data!

 

Prove: sort the X array and display it in an indicator. You will notice, that several X values occur more than once in your X data!

See this:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 14 of 17
(1,612 Views)
Oh ..double x values.. 😞 ??
Thank you so much for your help! I will have to look for the reason for these double values..
0 Kudos
Message 15 of 17
(1,599 Views)

Hi sarah / max,

 

why do you change your username that often?

Or did I encounter a forum bug? There were replies from user "maximillian00100"…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 16 of 17
(1,589 Views)
I changed it today from Sarahf. to Sarahsteen. I also wondered who "Max"is..
0 Kudos
Message 17 of 17
(1,585 Views)