Ex anonymus Marjacktablet
With my first posts I've tried to sign in but I never received any mail - it seems that the mail server blocked mails. Then I signed in with gmail and it worked.
I implemented your code within my script and IT WORKS!!!
In module where GUI is defined there's the following widget where read characters from COM port are sent:
$receive_T = $receive_Tk->ROText(-relief=>'groove',-width=>72,-height=>20,-font=>'Courier 8 bold')->pack();In the same module there's the widget which repeats the module for reading COM port:
$receive_T->repeat(100,\&Receive3);Thank you very much for your help!
I also have to finish the part for sending characters to the COM port, but it seems easier than reading the COM port and I will try to do it myself ... otherwise now I know where I can get advice.
The next step is communication with SAS. One of my coworkers wrote a script in Python few years ago, maybe I will be able to figure out from Python sources how to poll SAS commands. The coworker has no clue about GUI and I wrote many programs (executables) with GUI this one will be my first project that deals with COM port.
In reply to Re^4: RS232 and Tk with threads
by MarSkv267
in thread RS232 and Tk with threads
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |