Re: Problems with serial port interface

2013-06-13 Thread lionelgreenstreet
I've some other informations: i've created a class like this class CReader(QThread): def start(self, ser, priority = QThread.InheritPriority): self.ser = ser QThread.start(self, priority) self._isRunning = True self.numData=0; def run(self): pr

Re: Problems with serial port interface

2013-06-12 Thread lionelgreenstreet
I've done some tests: i've simulated a serial transmission with 1. Terminal.exe https://sites.google.com/site/terminalbpp/ 2. Com0com I've made a script that transmit a char every 5ms. The test system is Terminal---Com0Com---Terminal so i haven't used my program. After 3-4minutes the terminal progr

Re: Problems with serial port interface

2013-06-08 Thread lionelgreenstreet
Ok, thanks for your reply. But i have another problem: i hadn't always the hardware needed for the tests. Before i've used a terminal and com0com to simulate a serial input: if i want to simulate a transmission every 5ms how can i do? I need a program or a code that i'm sure about its correctne

Re: Problems with serial port interface

2013-06-07 Thread lionelgreenstreet
Sorry for my quote, but do you have any suggestion? Il giorno martedì 4 giugno 2013 23:25:21 UTC+2, lionelgr...@gmail.com ha scritto: > Hi, > > i'm programming in python for the first time: i want to create a serial port > reader. I'm using python3.3 and pyQT4; i'm using also pyserial. > > Bel

Problems with serial port interface

2013-06-04 Thread lionelgreenstreet
Hi, i'm programming in python for the first time: i want to create a serial port reader. I'm using python3.3 and pyQT4; i'm using also pyserial. Below a snippet of the code: class CReader(QThread): def start(self, ser, priority = QThread.InheritPriority): self.ser = ser QThrea

Toolbar and PyQT

2013-04-19 Thread lionelgreenstreet
Hi, i'm new with python, so i need an help about this problem. I've implemented a toolbar in a QDialog box: from matplotlib.backends.backend_qt4agg import NavigationToolbar2QTAgg as NavigationToolbar . self.toolbar = NavigationToolbar(self.canvas, self) I've found this code on internet. I