I am trying to plot several different sensor readings using a Waveform Chart. The readings come from a multiplexor which steps through the different addresses inside a loop. The sensor values leave the loop as an array of numbers, and the input to the waveform chart needs to be in cluster form as I understand it. I'm currently using an array to cluster function to convert the array to the right format, but the size of the cluster must be set from the diagram each time the number of different readings that I want to plot changes. For example, if I change the number of readings that the multiplexer is currently checking from 3 to 4, the plot only shows the first three u
ntil I go into the diagram, pop up on the array to cluster function, then change the size to four. I can handle this myself, but my boss seems to think this is a hassle if he decides to change something when I'm not around.
The rest of the program is set up to adjust to a different number of sensors that need to be read automatically. Is there a better way to go about creating this plot of multiple signals that will automatically change with the number of signals I am monitoring?