Sir, I am one of the user of your python program, that is after completion
of installation I got some statement like "you got code execution problem
". I don't know how to rectify this problem.so please help me to rectify
this problem .
You send me the solution in this email ID itself .
--
https:/
Ehm sorry for the neverending spam, anyway I tried from my raspberry pi and it
works there:
root@pi:/home/pi# python3 ./test.py
b's'
b'w'
b' '
b'o'
b'0'
b'1'
b' '
b'+'
b' '
b'C'
b'o'
b'm'
b'm'
b'a'
b'n'
b'd'
b' '
b'O'
b'K'
b'\r'
b'\n'
Since I need it to work on the rpi and I was using Mint only
Il giorno sabato 1 novembre 2014 16:04:06 UTC+1, Dario ha scritto:
> BUT.. plot twist: in Windows XP, the very same python code and usb adapter
> are working just right (python 2.7 and pySerial 2.7). Also with c#, no issues.
I compared the behaviour of mono and python (2.7 and 3.3) on th
Il giorno venerdì 31 ottobre 2014 19:00:26 UTC+1, Dennis Lee Bieber ha scritto:
> Didn't quite answer my question. If the comm line is using remote
I understand your point, I didn't mention but I also tried sending one char at
a time and listening at the same time, nothing changed.
BUT.. plot
he next input).
> >s.write('sw o01 +\r')
> What happens if you use \n... or \r\n ?
In my app, that doesn't make any difference, never works. In miniterm, only CR
and CRLF work, LF alone does not.
This evening I'll try with com0com to see what is really sent...
--
Dario
--
https://mail.python.org/mailman/listinfo/python-list
Python 2.7.6 on Mint, pySerial 2.6
I'm trying to write a console app to control a certain device via a usb com
port.
In miniterm (-p /dev/ttyUSB0 -e -b 19200), I can communicate correctly with
this configuration:
--- Settings: /dev/ttyUSB0 19200,8,N,1
--- RTS: inactive DTR: inactive BREAK:
ssword)
sftp = paramiko.SFTPClient.from_transport(transport)
filepath = 'file/to/myfile.txt'
localpath = 'D:/Tritume/myfile.txt'
sftp.get(filepath, localpath) ## <-- Calback function should go here
[ cut here]---
Many thanks
Dario
--
Dr. Dario Ber
* 1 failures.
*** 1 tests of 57 failed.
I've followed all of the installation instructions exactly. The build
summary reported everything was "ok". What could be the problem here.
Libjpeg-6b is not accessible?
Thank you for any insight you can provide!!
-Dario
--
http://mail.python.org/mailman/listinfo/python-list
Hi Dennis, unfortunately I can only use SER class and not 'serial'
class.
This because my emebedded phyton version don't show any import
possibility to this class. It run on the Trizium modem.
Serial I attached above, was coming from the 'simulator' code installed
on my PC.
How I can simulate your
tOpenError
return MS_RLSD_ON & win32file.GetCommModemStatus(self.hComPort)
!= 0
#Nur Testfunktion!!
if __name__ == '__main__':
print __name__
s = Serial(0)
About second question I have to read a string of data from the modem
serial port but I was using .readbyte to semplify the code. In effect
.readbyte doesn't return a string type. I repeat the test with .read
method but I discovered another strange behaviour. If the string is not
'sended' to a DTE (serial not connected ot other) the .read method read
the string(s) still not 'sent'. In other words it seems that the rx and
tx serial buffer are shared.
Thanks for your time.
Dario.
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Dennis. In effect stringZVEI doesn't remain empty after the
.read method, then the loop is executed 1 time.
How could be a 'while' loop to wait a no empty string from the serial
port?
Dario.
Dennis Lee Bieber ha scritto:
> On 7 Sep 2005 07:14:37 -0700, "d
nd SER are embedded class maked by third part.
>From my very little debug possibility it seem that loop is executed 1
time only nevertheless stringZVEI is still empty. The line
a=SER.send(' stringZVEI=')
work correctly but
a=SER.send(stringZVEI)
doesn't work
Any suggestion?
Th
12 matches
Mail list logo