LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

multiple values in stacked waveform chart...how to?

I am using a single waveform chart which is staked showing 3 Y-axis value on single X-axis platform.....more clearly I have bundled 3 values and connected to single waveform chart......Now, I want to add one more variable to each staked Y-axis....such that my each staked Y-axis have two variable....so that 6 y-axis variable in 3 staked plot(2 in each) having single platform of x-axis in single waveform chart.......

how to do that?   

0 Kudos
Message 1 of 7
(4,122 Views)

Instead of using single values, just use two-element arrays. That will be 3 two-element arrays.

Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
0 Kudos
Message 2 of 7
(4,108 Views)

You need to be more specific in your request. Do you mean if you have 6 parameters, e.g.

1. Pressure - 2 parameters

2. Amps - 2 parameters

3. temp - 2 parameters

You want to display all 6 parameters in in 3 different charts?

0 Kudos
Message 3 of 7
(4,098 Views)

Joseph...yes If I have 6 parameteres as mentioned by you and I want to use single waveform chart which is having single x-axis(time) platform....3 y-axis are staked in single waveform chart...

 

0 Kudos
Message 4 of 7
(4,082 Views)

You will need to do the following:

1. Create a stack chart of 6 elements

2. Create a piece of code that will execute at the beginning of your program.

    a. Create a property node to fetch each plot, Actplot->plot (you will need to index each plot)

    b. Create a property node to for the plot->yscaleidx

    c. Set the parameter to the appropriate idx (see attachment), e.g.

     param plot

        1 -> 1

        2 -> 1

        3 -> 3

        4 -> 3

        5 -> 5

        6 -> 5

3. Make sure the parameters are plotting appropriate.

4. Increase the plot height to cover the empty plot (manual operation)

0 Kudos
Message 5 of 7
(4,069 Views)

Joseph,

 Can you post the vi,,,I am not able to do that...

 

I have added image of chart below...which shows 3 staked y-axis...I want to add one more variable in each y-axis..

So let say Y1=25,Y2=35 and Y3=55...I want to add one variable in each y-axis (amplitude,amplitude2 and amplitude3).. 

 

 

 

18039i65FE360E3DFE6C97

0 Kudos
Message 6 of 7
(4,049 Views)

There are 2 vis that do this. Attach is my chart.

0 Kudos
Message 7 of 7
(4,042 Views)