Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Find string between two substrings, in a stream of data
Post: Find string between two substrings, in a stream of...

I have this continuous serial data stream: ---------------------------------------- SENSOR COORDINATE = 0 MEASURED RESISTANCE = 3.70 kOhm ---------------------------------------- --...
xbit General Coding Help 1 764 May-08-2021, 10:45 PM
    Thread: Filtering characters that pass through serial
Post: Filtering characters that pass through serial

I am developing a tkinter application in order to grab my arduino serial data. This is the data that are being fed to the pc: ---------------------------------------- SENSOR COORDINATE = 0 ...
xbit General Coding Help 0 541 May-06-2021, 11:56 PM
    Thread: Synchronizing tkinter with serial baud rate
Post: RE: Synchronizing tkinter with serial baud rate

I tried my original code once again. 3 times the program crashed. The fourth time, after i pressed the 'Measure all sensors' for the third time, then it managed to work. I don't understand why someti...
xbit GUI 3 1,149 Apr-26-2021, 01:02 AM
    Thread: Synchronizing tkinter with serial baud rate
Post: RE: Synchronizing tkinter with serial baud rate

Thanks. I tried your approach, but it does not work. I get no error, but i see nothing printed on tkinter. Full code here: import tkinter as tk import tkinter.ttk as ttk import serial.tools.list_po...
xbit GUI 3 1,149 Apr-26-2021, 12:50 AM
    Thread: Synchronizing tkinter with serial baud rate
Post: Synchronizing tkinter with serial baud rate

I am creating an appplication, for displaying my arduino serial data that i receive. However, my application has bugs. Sometimes, after some time, the program gets characters mixed. Here, i am uplo...
xbit GUI 3 1,149 Apr-25-2021, 01:21 AM
    Thread: Passing flags to python script, through a function
Post: RE: Passing flags to python script, through a func...

Thank you very much! Doing this however, will create a new process in the process list? Am i correct? Thus, if you 'spawn' it five times, five new processes will be created. Is this correct?
xbit General Coding Help 4 1,016 Apr-19-2021, 02:09 PM
    Thread: Passing flags to python script, through a function
Post: Passing flags to python script, through a function

I have a python script, that i am able to call it from the command line, and i pass the parameters to it, through flags on the terminal. For example: python my_program.py --parameter1 "0.4" --paramet...
xbit General Coding Help 4 1,016 Apr-19-2021, 01:00 PM

User Panel Messages

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