LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to isolate 4 plots from 16 and' insert' into a graph

Hi fellow wireworkers

Problem is to just split 16 graph plot into 4 separate graphs of four plots.
Due to lack of coding documentation and constrains in main data acquistion
unable to just split data array into 4 arrays.
As you can see from vi- reference is taken from graph to enable data for manipulation;
have tried to utilise different methods to 'merge' 4individual plots into 1 graph using
 the same time base.
Labview help examples don't actually reveal how one should perform this operation.

Maybe it is because I'm a landlubber (now) I can't see wood for trees but any help/ideas would
be most helpful.
chow
xseadog

Have not uploaded code due to graph data size(> 10MB)
Attached PNG show FP and BD of VI.

Message Edited by xseadog on 09-13-2005 01:36 PM

0 Kudos
Message 1 of 5
(2,863 Views)
Dam
 need to upload again for the FP

xseadog
0 Kudos
Message 2 of 5
(2,859 Views)

Hello xseadog

I have now for some time tried to understand your application. As far as I can see from the two pictures, the Acq datagraph is the waveformgraph on the front panel that includes all the plots shown in different colors. What I do not understand is that when you get the value from the propertynode of the graph you only get a cluster value out and not an array of clusters as you should. Each element in the array should be a cluster which represents each plot.

Its difficult for me to see what's happening so could you attach a vi that shows your example you have shown on the pictures. I have not been able to reproduce your problem. Values gives me an array of cluster where one plot is a array element consisting of a cluster when I try the same.

Mvh

Mohadjer

0 Kudos
Message 3 of 5
(2,812 Views)
Hi Mohadjer
thanks for responding!:Smiley Tongue
 
Attached is solution, it works.

Background information: Smiley Surprised
overtaken proven application ( no documentation, it works but no specification, application grew
as team learnt more. In a nutshell up to 24 signals are acquired, saved via inhouse protocol format, channels illustrated
all on one graph. User has option to select deselect channels. For demostration purposes require a breakdown of channels ie
4 channels per graph.
Must have option of real time analysis and post time analysis.)
Everything that everyone says about taking over other peoples projects is embodied in this application.Smiley Mad Correct solution
would be to start from scratch and rebuild from zero. Unfortunately not possible.
 
With regard to your question- the value cluster contains the zero start value, the time interval and the 2D array (breaks down to 2048 points,16 channels
 
chow
xseadog
 
 
 
 
0 Kudos
Message 4 of 5
(2,808 Views)

Hi xseadog

I see what you are doing. I just did not notice the 2D array in the cluster, and that explains my confusion. You are doing the right thing.

Yes its frustrating when you have take over some code where alot of patch solutions are used while learning!

Good Luck.

Regards

Mohadjer

0 Kudos
Message 5 of 5
(2,802 Views)