Andreschrosa Posted February 5, 2009 Share Posted February 5, 2009 I'm currently selecting from MySQL database and trying to add the results to some channels and then add to the graph. for(private.j = 1, j < numrows(sDados), j++) for(private.h = 0, h < numrows(result.TheTime), h++) Channel.Add(sDados[j], "test", "A/D",0 ,0) Execute(sDados[j] + ".AddValue(Result." + sDados[h] + ")") Execute(sDados[j]+ "[" + h + "]" + ".time = Result.TheTime[" + h + "]") //Component.GraficoGrd.AddTrace(... endfor endfor sDados is an array containing the variables selected from sql, example: sDados = Vm_1_0 It only works until the Channel.Add line. What is wrong with the two Execute lines? Link to comment Share on other sites More sharing options...
This topic is now archived and is closed to further replies.