Editing Smart Terminal Parameter Examples
Jump to navigation
Jump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 121: | Line 121: | ||
== For the Second Thread, the Helper Thread == | == For the Second Thread, the Helper Thread == | ||
− | + | '''queue_length''' = 20 | |
− | + | '''queue_sleep''' = .1 | |
+ | |||
+ | |||
<!----------- | <!----------- | ||
this cannot bee seen | this cannot bee seen | ||
+ | |||
Line 133: | Line 136: | ||
start_helper_function = "find_and_monitor_arduino" # now using eval, may need to do same with args, | start_helper_function = "find_and_monitor_arduino" # now using eval, may need to do same with args, | ||
start_helper_args = ( ) # () empty ( "x", ) one element | start_helper_args = ( ) # () empty ( "x", ) one element | ||
− | start_helper_delay = 0 # in seconds must be > 0 to start | + | self.start_helper_delay = 0 # in seconds must be > 0 to start |
# This is how often in ms to poll the comm port, faster makes it more responsive, uses | # This is how often in ms to poll the comm port, faster makes it more responsive, uses | ||
Line 143: | Line 146: | ||
self.send_array_mod = 5 # see task, send array | self.send_array_mod = 5 # see task, send array | ||
− | # ?? not implemented should it be? | + | # ?? not implemented should it be? |
block_port_closed = False # block sending if port is closed # *todo -- or some warning | block_port_closed = False # block sending if port is closed # *todo -- or some warning | ||