B BogdanU Member Licensed User Longtime User Nov 13, 2025 #1 Hello, Here's my RS232 terminal. I want it to send the value of a counter variable over RS323 every 1000 ms. I don't know how to do this. Here's my latest attempt. Code: '--- Timer1_Tick for testing only Sub Timer1_Tick counter = counter + 1 txtInput.Text = counter & Chr(10) & Chr(13) End Sub best regards Bogdan Attachments Primitive.zip Primitive.zip 71.2 KB · Views: 184
Hello, Here's my RS232 terminal. I want it to send the value of a counter variable over RS323 every 1000 ms. I don't know how to do this. Here's my latest attempt. Code: '--- Timer1_Tick for testing only Sub Timer1_Tick counter = counter + 1 txtInput.Text = counter & Chr(10) & Chr(13) End Sub best regards Bogdan
Solution Erel Nov 14, 2025 Code: Sub Timer1_Tick counter = counter + 1 astream.Write(counter & Chr(10) & Chr(13)) End Sub
Erel B4X founder Staff member Licensed User Longtime User Nov 14, 2025 #2 Code: Sub Timer1_Tick counter = counter + 1 astream.Write(counter & Chr(10) & Chr(13)) End Sub Upvote 0 Solution
B BogdanU Member Licensed User Longtime User Nov 14, 2025 #3 Erel said: astream.Write(counter & Chr(10) & Chr(13)) Click to expand... Many thanks, Erel best regards Bogdan Upvote 0
Erel said: astream.Write(counter & Chr(10) & Chr(13)) Click to expand... Many thanks, Erel best regards Bogdan