Monster Panel V
History requires a chart, right? Wrong.
In Part I, recall from the requirements that we want :
— A chart, showing the history of 1-4 channels. The history can be the last 30 seconds, or the last 30 hours, or various lengths in between.
Well, the words “history of 1-4 channels” (not to mention the word “chart”), suggests that we use a LabVIEW chart, right? You’ve used charts to display data history before, right? After all, charts are built for showing history – they do it all for you, right? If you want a history of 30 hours or 30 seconds, you just specify the chart history length, and it’s done, right? If you want 1 channel or 4, you feed it a cluster of one value or of four values, and it’s done, right?
Right?
Wrong. At least it’s not a good way of doing it.
Consider the way the chart “history” looks at things: If you have 30 hours worth of history on the chart, and then you switch channels, by default, you attach the new data to the old data. In other words, you’re not looking at the history of your new channel, you’re looking at the history of SOME OTHER CHANNEL, with a few data points of your new channel on the far right.
So, you can avoid that by clearing the chart history when you switch channels. But when you do that, you clear ALL FOUR channels, and you STILL don’t see the history of your new channel – you’ve lost ALL your history.
Not good.
Combined with all the bugs present in LV2010-LV2013’s CHART behavior (Failure to apply autoscale flags to the correct plot in multi plot charts; failure to generate proper scale-change events), it doesn’t look good for this approach.
There must be a better way…