Tool to calibrate TESS-W sensor spectral response, written in Textual
.env file shoudl contain:
REF_ENDPOINT=serial:/dev/ttyUSB0:9600
TEST_ENDPOINT=udp:192.168.4.1:2255
DATABASE_URL=sqlite+aiosqlite:///spectess.db
from Tasck Overflow Textual widgets have an internal message queue that processes events sequentially. Your on_mount handler is processing one of these events, but because it is an infinite loop, you are preventing further events for being processed.
If you want to process something in the background you will need to creat a new asyncio Task. Note that you can’t await that task, since that will also prevent the handler from returning.
textual console
textual run --dev -c spectess --textual --log-file kk.log
Prepare migrations with alembic
alembic init -t async src/migrations
BG38 from 350 nm to 569 nm OG570 from 570 nm to 859 nm RG830 from 860 nm to 1050 nm