Hi All,
This is not really a AHMI issue but kind of related.
I'm sending out some data from the AHMI out to serial port to third party device:
https://www.manualslib.com/manual/961674/Netmc-Marine-Videotxt.html#manualthis is my code:
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
If SerialPort1.IsOpen Then
SerialPort1.Write(BasicLabel1.Text & Space(8) & BasicLabel2.Text & Space(8) & DateAndTime.Now.ToString & vbCrLf & vbNewLine & DateAndTime.Now.ToString & vbCrLf)
End If
End Sub
I just need two line on the output screen that will continuously update but now I got following output:
Data1 Data2 11/1/2019 1:08:25 am
11/1/2019 1:08:25 am
Data1 Data2 11/1/2019 1:08:26 am
11/1/2019 1:08:26 am
Data1 Data2 11/1/2019 1:08:27 am
11/1/2019 1:08:27 am
Data1 Data2 11/1/2019 1:08:28 am
11/1/2019 1:08:28 am
Data1 Data2 11/1/2019 1:08:29 am
11/1/2019 1:08:29 am
So on....
I notice this happen when I added the vbnewline.
I'm not sure what is the trick if there someone could please help.