Philippe_CLOUP
May 22, 2008Employee
paramter for get_performance_graph_csv_statistics
I am trying, using visual basic 2008, to get the performance graphics in an MDI application, to create a simple page with all the perf graphs on a big-ip box.
After initializing the iControl connection to the big-ip, and getting all the performance_reports, i am trying to get the datas for each graph.
when calling the function
SystemStatistics.get_performance_graph_csv_statistics
, i have the following message in the Error List: Value of type 'iControl.SystemStatisticsPerformanceStatisticQuery' cannot be converted to '1-dimensional array of iControl.SystemStatisticsPerformanceStatisticQuery'.
The variable i am trying to pass to the function is as follow:
Dim Query As iControl.SystemStatisticsPerformanceStatisticQuery
Query.object_name = "CPU0"
Query.start_time = 0
Query.end_time = 0
Query.interval = 0
Query.maximum_rows = 0
m_inerfaces.SystemStatistics.get_performance_graph_csv_statistics(Query)
Any idea.
I think i am wrong in the type of "Query" variable.
Thanks.