LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

3 seperate "1d array of cluster of 2elements" combined on xy graph

Hello, I am new here,
but I have a problem with my programming.
I've searched the forum and tried some possible solutions, but nothing helps.
 
I try to program a application, which contains three
primary functions.
1. Get a stepresponse from a real machine
2. calculate lines to ident the parameters
3. simulate stepresponse with the idented parameters.
 
If I test the system, the content is OK, but i got a problem with the XY-Graph...
I setted it up, that it should draw three graphs, but it only gaves out one graph in the
color of the first plot...
How can I make it, that the XY-Graph-Output know, which data belongs to which graph?
 
Thanks a lot for the answers...
 
 
To clarify my problem I made an screenshot.
 
Christian Schulke
 
Please excuse my bad english.
---
My english isn't good...
Just a student. ;D
0 Kudos
Message 1 of 21
(3,779 Views)

normally, if you display an array of 3 graphs (clusters of x and y arrays), the display on the x-y graph should be 3 plots, with the colors set in the plot legend.

could it be that your graph is not x-y graph? or that the plots 2 and 3 are set to invisible? or simply out of range?

Message Edited by Gabi1 on 09-10-2007 01:01 PM

-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 2 of 21
(3,764 Views)
Hmm, shouldn't be out of range, because
when i wire it seperately, the graph will be shown.
I visualized it in this way:
http://directupload.com/showpic-2989.jpg
At the first time i used a selector to switch between the first 2 signals,
then they were printed both red and with Lines...
But i want the second graph in green and without lines, just dots...

If I want to build an array, I get the errormessage, that the array
and the xy-graph have different dimensions, but I think, when
they will be shown if wired seperately, it couldn't have different dimension...
---
My english isn't good...
Just a student. ;D
0 Kudos
Message 3 of 21
(3,760 Views)
In properties the Option
'Plots shown' is set to '3'

I don't know ho to dis-/enable an plot...
Sorry
---
My english isn't good...
Just a student. ;D
0 Kudos
Message 4 of 21
(3,758 Views)
could you post your application?
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 5 of 21
(3,756 Views)
Sorry, just found this freehoster...
I don't have any webspace.

http://www.megaupload.com/de/?d=DXLCBEE8


PW is labview

Its the latest Version of my Programm

---
My english isn't good...
Just a student. ;D
0 Kudos
Message 6 of 21
(3,746 Views)
No need to find a web host. Just click the Browse button next to the Attachment box below the message body.
0 Kudos
Message 7 of 21
(3,727 Views)
Oh shit...
Didn't see it yet...

This is the latest Version...


But... Editing isn't possible for me?!

Hope, the Host application is all you need,
can't upload archives
---
My english isn't good...
Just a student. ;D
0 Kudos
Message 8 of 21
(3,721 Views)

ok your first problem is pretty simple:

the build graphs express vis gives as output an array of clusters (each cluster includes 2 arrays, one for x values, one for y values).

when you combine 3 such arrays, if you dont concatenate the inputs, your combination will be a 2D array of graphs, that cannot be handled by the x-y graph

easy solution: right click on the build array -> concatenate inputs.

 

however, several graph inputs comes from case structures which are not terninated in the false case - you might want to check into that.

-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
Message 9 of 21
(3,715 Views)

Gabi is right. You don't have a:

...3 seperate "1d array of cluster of 2elements" combined on xy graph ....

as you say in the title.

You have 3 seperate "1d array of cluster of 2 arrays", each element in the (toplevel) 1D array is a plot with several points, so concatenating the arrays will give you a 1D array that has as many plots as the sum of plots in each individual 1D array.

So Gabi's solution is correct.

(Further clarification: XY graphs cannot handle 2D arrays. For example if each plot is in one of the other legal plot data formats (1D array of a cluster of xy points, 1D complex array), you also cannot use "built array", but in these cases you can use "built cluster array" (see image). This does not apply to your situation, though. ;)).

0 Kudos
Message 10 of 21
(3,702 Views)