Consider the following code snippet
real_snr_array.Append((NI::Real32)real_snr);
total_ber_array.Append((NI::Real32)total_ber);
m_test_graph.Plots.Item(1).PlotXvsY(real_snr_array, total_ber_array);
When I compiled this project and ran it in debug mode, I get a
CNiOleException
when the 3rd line gets executed. Any ideas as to why?