LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

build more into graphs

Solved!
Go to solution

i have 

10 channels.

how can i put more channels into my xy graph

?

 

Untitled.png

 

Untitled1.png

Best regards,
Krispiekream
0 Kudos
Message 1 of 11
(2,983 Views)

What's that while loop supposed to do???? Silliest code I've seen in a while!

 

You need to feed as many x array as you have y arrays.

 

(You don't even need the "build xy graph express VI and dynamic data here).

 

Also, since your x values are evenly spaced a plain waveform graph would be sufficient.

 

 

0 Kudos
Message 2 of 11
(2,971 Views)

haha. sorry

 

the code is just to read 

the lines in the rawdata and use it as an array to graph the x-axis?

any sugguestion to make it better?

 

 

i only have 1 x-axis..which is the number of lines in my raw data.

my multiple y-axis would be the columns in my raw data.

 

i used the build xy express because i like the simplicity of labeling my x/y coordinates

any sugguestions to improve my code would be greatly appreaciated. 

 

Best regards,
Krispiekream
0 Kudos
Message 3 of 11
(2,968 Views)

Untitled.png

 

i tried that and it didnt work 😞

Best regards,
Krispiekream
0 Kudos
Message 4 of 11
(2,957 Views)

Try something like this:

 

 

Message 5 of 11
(2,945 Views)

@krispiekream wrote:

i tried that and it didnt work 😞


What is "that"? You image has no resemblance to any of my suggestions at all.

 

What is the problem with labeling the axes? Just define x0 and dx and you are all set. No xy graph needed. In your case, x0-0 and dx=1, so nothing needs to be done.

0 Kudos
Message 6 of 11
(2,940 Views)
Solution
Accepted by topic author krispiekream

And here's how you would graph 10 columns using a plain waveform graph. much simpler.

(note that you can omit the transpose operation and set the graph to transpose internally).

 

 

Message 7 of 11
(2,922 Views)

sorry, 

i was figuring something out while you were typing. 

but thanks for the sugguestion..

i haven't seen this before.

 

makeXY.png

 

can you give me its name so i can look up its functionality

thanks

 

Best regards,
Krispiekream
0 Kudos
Message 8 of 11
(2,920 Views)

OH YEAH...That works!!!!

thank you!

Best regards,
Krispiekream
0 Kudos
Message 9 of 11
(2,898 Views)

krispiekream wrote:

i haven't seen this before.

 

can you give me its name so i can look up its functionality


Re/Im To Complex Function

 

To learn more about xy graphs and accepted datatypes, have a look at this old disucission.

Message 10 of 11
(2,889 Views)