cancel
Showing results for 
Search instead for 
Did you mean: 

CNiGraph throws CNiOleException during debug mode

SuperD
Member

CNiGraph throws CNiOleException during debug mode

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?
1 REPLY 1
Ryan_T
Member

Re: CNiGraph throws CNiOleException during debug mode

Can you please reply with the total error message that was returned by the exception.
Ryan T
National Instruments
Applications Engineer