Hi R
hint: Modularise your code- there is no need to include the SQL vi's.
You have proven they work before hand.
Attached picture shows your code and several probes plus a simplre solution on how to generate a graph or a chart.
Please note : change the 1 D array for your input terminal with regard to saved data. Else modify your SQL code to interface your data to the required input array.
This works but is not a perfect solution. As stated before check out the examples, play with them see what happens when you modifiy inputs etc.
You will have a hard learning curve if you continue this way.
Suggest that you persuade your boss to invest in you taking the labview basic course. Failing that you should check out the labview tutorial courses(on line) Your productivity
will increase dramatically.
xseadog