Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

Scopechart on X-Axis not working?

Dear all,

 

I'm trying to create a scopechart or stripchart on the X-Axis, but when I add data to the plot it keeps running out of the graph. When I apply this AxisMode to the Y-Axis it works OK, but on the X-Axis I can't get it to work. Do I miss a setting? I've configured the following:

 

ChannelGraph.Plots[0].DefaultStart = 0;
ChannelGraph.Plots[0].DefaultIncrement = 1000.0 / 1225.0;
ChannelGraph.Plots[0].HistoryCapacity = 5000;
ChannelGraph.Plots[0].XAxis.Range = new NationalInstruments.UI.Range(0, 500);

ChannelGraph.Plots[0].YAxis.Mode = AxisMode.AutoScaleVisibleLoose;
ChannelGraph.Plots[0].XAxis.Mode = AxisMode.ScopeChart;

 

After this configuration I add data multiple times using: ChannelGraph.Plots[0].PlotYAppend(RawData.ToArray());

 

Kind Regards,

 

Andre

0 Kudos
Message 1 of 3
(3,355 Views)

When I enable scaling, the scopechart works OK:

 

ChannelGraph.Plots[0].CanScaleXAxis = true;

 

Kind regards

0 Kudos
Message 2 of 3
(3,354 Views)

Hi technoleut,

Could you please post a example, so I could reproduce this? Then i will have a look.

 

Regards,

Bas

0 Kudos
Message 3 of 3
(3,264 Views)