LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Waveformchart in an array

Solved!
Go to solution
Highlighted

I am trying to develop a generic user interface that allow user to group multiple channels of data into different charts. The number of charts shall be varied dynamically by the user. One of the easy ways is to place the waveform chart in an array in the front panel, then I can programmatically control the number of array elements. When I try to place the waveform chart in a array in the front panel, LabVIEW doesn’t allow me to do so. I assume this is limitation on LabVIEW. Is there any ways to work around this or any other ideas?

The only other way I could think is to create multiple waveform chart and place them in the front panel and then hide them as necessary. This will become a bit messy.

0 Kudos
Message 1 of 9
(453 Views)
Highlighted

You can put the graph in a cluster and then put it into an array. This would still give you access to the graph and be able to dynamically create and control the graphs.

 

Tim
GHSP
0 Kudos
Message 2 of 9
(401 Views)
Highlighted

The graph / chart can be placed in a cluster. But were you able to place the cluster into an array? When I tried in 2018, it doesnt allow.

0 Kudos
Message 3 of 9
(359 Views)
Highlighted

Yes I am able to put the graph into a cluster and then into an array. I am using LabVIEW 2017.

Tim
GHSP
0 Kudos
Message 4 of 9
(335 Views)
Highlighted
Solution
Accepted by pradeep.pkp

example.png

Tim
GHSP
0 Kudos
Message 5 of 9
(331 Views)
Highlighted

Hi Tim,

Thank you. I must have overlooked the graph, its working now. But chart doesnt work. I know ways to use XY graph to display time. So this will solve my problem.

 

But just out of curiosity, why isnt the chart working the same way?

0 Kudos
Message 6 of 9
(316 Views)
Highlighted

I was able to get the chart to work as well. It does look like some of the functionality is not available.

 

Chart Cluster.png

Tim
GHSP
0 Kudos
Message 7 of 9
(268 Views)
Highlighted

Hi Tim,

Can you please share the code? I went ahead with XY graph as my solution. But it will be good to know how you got the chart working and I would like to explore the limitations.

0 Kudos
Message 8 of 9
(245 Views)
Highlighted

I did share the code. The picture I added is a snippet. Drag it to your block diagram.

Tim
GHSP
0 Kudos
Message 9 of 9
(215 Views)