I have a double[] network data variable and am trying to access individual elements of the array in a web form so that I can populate a number of NumericEdit components.
When I try and access the network data variable in the AutoRefresh event using
double[] data = (double[])NetworkVariableDataSource1.Bindings[1].GetValue();
I get the exception
Unable to cast object of type 'System.String' to type 'System.Double[]'.
I know how to populate a waveform graph with the double[] network variable but am not sure how to access the double[] directly?
Thanks
Adam