GIDForums  

Go Back   GIDForums > Computer Programming Forums > Python Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 30-Oct-2017, 06:32
JensenBreck JensenBreck is offline
New Member
 
Join Date: Oct 2017
Posts: 1
JensenBreck is on a distinguished road

PySerial Question


Hello,

I have installed PySerial and have been playing with its capabilities. I am somewhat new all around to Python as well as PySerial. I am looking to see if I can write a routine that would allow the Python script to wait until a specific message is displayed across the serial port? For instance, if I wanted to do print('Hello') every time the word Geoffrey came across the serial port? I think I might start with a while statement, but beyond that I am puzzled as to how to get the system to wait for an event that matches the criteria.

Thanks!





I didn't find the right solution from the internet.
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Vista upgrade disk and other general hardware question susan12 Computer Hardware Forum 2 21-Aug-2012 11:52
question of practice magiccreative C++ Forum 1 06-Feb-2004 08:17
Newbie Question about Borland andrewcarraway C++ Forum 4 24-Jan-2004 12:17
a C input question tmike C Programming Language 1 16-Sep-2003 02:31
Motherboard and CPU Question pcxgamer Computer Hardware Forum 2 29-Oct-2002 07:15

Network Sites: GIDNetwork · GIDApp · GIDBlog · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 21:55.


vBulletin, Copyright © 2000 - 2017, Jelsoft Enterprises Ltd.