Hey guys,
I am somewhat new to LabVIEW (been looking into it a few years but only this year became serious!) and may word things incorrectly, if so - my apologies in advance. I may also have a hard time explaining what I need as I am basing it around what I believe LabVIEW can do for me and this is all off memory.
I am trying to put together a chart that will contain 5 plots and updates every 15 minutes. I am also using an event handler to handle the timeouts/refreshes and gives the user the option to do other things with my code still running for the query...
The plots I am using are derived from SQL code (output array / index array / decimal string to number) for the top 5 failures of a specific hardware platform (failures such as no power, no video, etc... - out of 20).. I would like each plot to be labeled by the particular failure (I extract this from the array) but the 5 failures can change over time because this code is giving me the top data from 20 different failures with the failures sorted in SQL by "top failure amount" in descending order. This is where I run into issues, I do not know how to display these 5 plots correctly and if any given 1 changes how to update the plot and account for (show) the change... I am assuming the change would mean a different color plot would come into place and if so, would the history account for this change correctly?
Can anyone tell me a good way to chart data (5 plots)with history and if labels can be given by an extracted string from an array. The plots need to be able to change over time as the failures will change.
Last but not least, does it seem like I am taking the correct approach to this? My boss pretty much told me he wanted a graphical chart listing the top 5 failures that is refreshed every 15 minutes (in case something out of the ordinary pops in). Am I "over" thinking this too much? What am I missing? (Aside from any listed code ) Did I also mention I am brain fried??
Thanks for any input, it is deeply appreciated!
Respectfully,
TVO