![]() |
|
#3
|
|||
|
|||
|
Hello,
Yes, of course that would be the easiest solution. I have tried that out and it works. In fact, if I open and close the COM port multiple times from the same .py file, there is also no error. What, I feel that trying to access the same COM port simultaneously from different files is giving errors due to synchronization problem. But, my application demands that I use separate .py files and one master .py file for managing the different .py files. I have found out a solution to this and now it is working fine. What I have done is that I have tried to write in a separate .txt file some message conveying the end of execution of one .py file and then I have tried to access that .txt file, check its contents and when the condition matches, I have made my master .py file to recognize that as an event marker. Now, it is working fine. Thanks for your valuable suggestion. Uttama |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Read file....many issues | Uttama_vizard | Vizard | 9 | 07-08-2008 02:16 PM |
| Failed to load wav file | BrynJ | Vizard | 1 | 04-24-2008 09:35 AM |
| Could not find plugin to load objects... | halley | Vizard | 1 | 05-30-2006 11:01 AM |
| file input | vsully | Vizard | 1 | 12-21-2004 10:51 PM |
| Closing file handles from within function | FlyingWren | Vizard | 1 | 10-01-2003 06:02 PM |