B4J Question Automatically sending bytes via serial port after program startup

BogdanU

Member
Licensed User
Longtime User
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.
'Timer1_Tick for testing only:
'--- 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
    71.2 KB · Views: 23
Cookies are required to use this site. You must accept them to continue using the site. Learn more…