Activity for RODYan00

  • RODYan00 RODYan00 modified a comment on discussion Help

    HI I did so chart chart is at 100 points How Can I solve this problem? thanks best regard Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick Dim Value As Integer '* Add

  • RODYan00 RODYan00 posted a comment on discussion Help

    HI I did so chart chart is at 100 points Private Sub Timer1_Tick(sender As System.Object, e As System.EventArgs) Handles Timer1.Tick Dim Value As Integer Try Value = ModbusRTUCom1.Read("41914", 1)(0) Catch ex As Exception Exit Sub End Try '* Add the next point to the chart ChartBySampling1.Series(0).Points.Add(Value) '* Do not let more than 100 point be on the chart If ChartBySampling1.Series.Count > 100 Then ChartBySampling1.Series(0).Points.RemoveAt(0) End If End Sub

1