Python Forum
Problem to sent message with pyserial and ser.write
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem to sent message with pyserial and ser.write
#1
Hello Everybody,

I need your help to solve a problem.

I need to send command line in MESSAGE BOARD - MML16R Velleman connect by USB/RS232 in Raspberry.
[Image: mml16r.jpg]

I use Pyserial and this command :

ser.write(message.encode('ascii'))
This is the message :
<ID00><BE>05<E><ID00><L1><PA><FE><MA><WC><FE>Bonjour35<E><ID00><BF>06<E> (it mean Hello)
<ID00><BE>05<E><ID00><L1><PA><FE><MA><WC><FE>Bonjour tout le monde6B<E><ID00><BF>06<E> (it mean Hello everybody)

The first message is sent.
But, the second don't work.

Do you have an idea ?

Thank you very much
Reply


Messages In This Thread
Problem to sent message with pyserial and ser.write - by DJ_Depannage - Apr-14-2019, 10:23 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  write to csv file problem jacksfrustration 11 1,584 Nov-09-2023, 01:56 PM
Last Post: deanhystad
  little problem with read out and write into a file hello_its_me 11 8,575 Sep-04-2017, 11:54 AM
Last Post: wavic

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020