Hi
I am new to Visual Studio. I have a LineShape1 that I want to move across a IP Camera input.
I got the line to move on click event, X1 and X2 value from PLC, Y1 and Y2 Set values. How can I make it update continuously
Private Sub LineShape1_Click(sender As Object, e As EventArgs) Handles LineShape1.Click
Me.LineShape1.BorderColor = System.Drawing.Color.Red
Me.LineShape1.BorderWidth = 2
Me.LineShape1.Name = "LineShape1"
Me.LineShape1.X1 = 500 - EthernetIPforCLXComm1.ReadSynchronous("Axis1.RMCActPosition", 1)(0)
Me.LineShape1.X2 = 500 - EthernetIPforCLXComm1.ReadSynchronous("Axis1.RMCActPosition", 1)(0)
Me.LineShape1.Y1 = 100
Me.LineShape1.Y2 = 500
End Sub