Jump to content

Line Graph in LabVIEW with Repeating X Values


JohnLV

Recommended Posts

Hi Everyone,

Season Greetings to you all...

I am trying to create a Line Graph in LabVIEW that will plot with repeating X values.

Basically, my data looks like

X Y

0 1

1 4

2 2

3 43

4 43.5

5 55.9

6 68.3

7 80.7

8 93.1

9 105.5

10 8

0 7

1 5

2 3

3 1

4 -1

5 -3

6 -5

7 -7

8 -9

9 -11

10 -13

The Waveform Graph/ Chart will display the Y axis correctly, so the user gets the shape, but the X axis is just in numerical order which is not desired.

If i use the XY graph, the line turns back on itself because the X Values is repeating...

I have tried the X Scale marker values property node, but it did not display correctly.

Sorting X Values is not an option for my problem.

I have attached a Excel Sheet and a VI (LabVIEW 8.2) for your reference.

Thanks and Regards

John

XY Graph.zip

Link to comment
  • 1 month later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.