02-11-2014 06:26 PM
I am reading data from modbus and have an array of data that I need to graph, deepending on the iteration of a for loop I want to direct the data to the right struture and plot it.
What plot should I use, x-axis is time in all cases. Should the array be unbundled first or masked instead?
Solved! Go to Solution.
02-11-2014 09:10 PM
You cannot unbundle arrays, but you can index out the various elements. Can you remove all IO related stuff (we don't have your hardware) and replace the blue array indicator with a diagram constant filled with typical data?
One problem is the fact that some graphs receive data more often than others for each iteration of the while loop, so the charts will run at different speeds..
02-12-2014 12:09 PM
Yes, I did ask you asked.
02-12-2014 12:22 PM
@Ferer44 wrote:
Yes, I did ask you asked.
No, you did not. 😄 Your "raw decimal values" array is empty. Once it contains typical data, you need to make the current values the default before saving the VI.
02-12-2014 02:05 PM
Have a look at it now,
Thanks,
Jay
02-12-2014 03:11 PM
Well, some of your charts seems to have multiple traces, thus you need to rearrange the data a little bit. Here's one quick attempt, but please modify as needed.