text : Read and write to the FLDIGI text boxes

class pyfldigi.client.text.Text(clientObj)[source]

Bases: object

Read the demodulated and decoded text received by FLDIGI. Send text to FLDIGI to be encoded, modulated, and transmitted

Note

This class spawns a TX Monitor thread that ensures the transmitter gets keyed on and off at the appropriate times. It monitors Transmit duty cycle (%), max transmit time (seconds) aka Dead Man’s Switch?, and max text length. You can set these with the getters and setters below, but you should probably just leave them alone.

You get all of this functionality for free. I don’t see any use-case where it wouldn’t be useful, so it can’t be disabled. It uses a daemon thread which starts when Client() is instantiated (which calls Text()), and ends when the program shuts down.

Note

An instance of this class automatically gets created under pyfldigi.client.client.Client when it is constructed.

add_tx(value)[source]
clear_rx()[source]

Clears the RX text widget

clear_tx()[source]

Clears the TX text widget

get_rx_data()[source]

Returns all RX data received since last query.

get_tx_data(suppress_errors=False)[source]
receive(timeout)[source]

Returns text received

transmit(text, block=False)[source]

Changes to Transmit Mode. Transmits the specified text block. Then sets the mode back to Receive.