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
(944 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
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 12 of 17
(940 Views)
0 Kudos
Message 13 of 17
(935 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
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 14 of 17
(930 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
(917 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
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 16 of 17
(907 Views)
I changed it today from Sarahf. to Sarahsteen. I also wondered who "Max"is..
0 Kudos
Message 17 of 17
(903 Views)