LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

xy graph cluster elements

Hello, i am using an xy graph to display torque and speed against my own x value time, and it worked fine, i tried adding another y scale (power) to the input cluster and i got this error

Cluster Array, a cluster of 4 elements,
conflicts with cluster XY Graph, a cluster of 3 elements.

How do i add another element to the xy cluster, is this possible?? or what am i doing wrong.

Sorry if this is a really obvious answer, i have tried lots and i am no expert and i seem to be going round in circles.

Thanks in advance

Daniel

0 Kudos
Message 1 of 7
(4,033 Views)
Can we see what you are trying to do?
- there is always an easy way, but it is always the hardest to find
0 Kudos
Message 2 of 7
(4,031 Views)
Add a new x&y cluster (using a duplicate of the x scale array) instead of the single additionnal y array you have added to the existing cluster. See the online help that shows how to build an array of x&y clusters to display several curves on the same xy graph.

Message Edité par chilly charly le 05-12-2008 05:02 PM
Chilly Charly    (aka CC)
Message 3 of 7
(4,029 Views)
Beaton,
 
Attached are the images of the graph i am producing, and the working and not working block diagram, as i say i am an amateur and this is probably not the best way of doing things.
On the not work picture all i have done is added another value to the cluster.
 
The only reason i am doing it this way is because i had a chart that worked perfectly but the time along the bottom was not real, i.e. the chart said 1 minute had passed but it was actually say 40 seconds, is there a way to make it actual time on the chart or use your own time for the x on a chart as this would solve my issues.
 
Cheers
 
Daniel
Download All
0 Kudos
Message 4 of 7
(3,994 Views)

Do you need it to be plotted to absolute time (time of day) or relative time (amount of time that has passed)?

If it is just relative time then you can use just a waveform graph, but you must know the time interval that you are taking your samples at. You would then set that sample interval as the x axis multiplier.

- there is always an easy way, but it is always the hardest to find
0 Kudos
Message 5 of 7
(3,974 Views)
I dont mind which really, as long as the time across the bottom moves along in real time wether it be relative or absolute, i just need to know that if i run a test for say 5 minutes then the graph scale either says 5 mins at the end or has gone from 12:30:00 to 12:35:00
0 Kudos
Message 6 of 7
(3,944 Views)
I am going to assume that you are sampling your data at a regular interval. So that time interval can be set as the mulitpier for the x axis in the graph. Without the multiplier set the x axis display number of samples, so samples x samples/time = time.
- there is always an easy way, but it is always the hardest to find
0 Kudos
Message 7 of 7
(3,936 Views)