The is_running() method sends a recording_is_running request to Otii program, which is not supported or even mentioned in the TCP API. The Otii program responds with an error, just as expected.
$ python3 example_enable_channels_and_record.py
Project already active
Arc supply voltage: 3
Arc enabled channel Main Current
Arc enabled channel Main Voltage
Set all supply: on
New recording started with id: 6
Error message: recording_is_running Error: "Invalid command"
Done!
$
https://github.com/qoitech/otii-tcp-client-python/blob/master/otii_tcp_client/recording.py#L243
The is_running() method sends a
recording_is_runningrequest to Otii program, which is not supported or even mentioned in the TCP API. The Otii program responds with an error, just as expected.$ python3 example_enable_channels_and_record.py
Project already active
Arc supply voltage: 3
Arc enabled channel Main Current
Arc enabled channel Main Voltage
Set all supply: on
New recording started with id: 6
Error message: recording_is_running Error: "Invalid command"
Done!
$
https://github.com/qoitech/otii-tcp-client-python/blob/master/otii_tcp_client/recording.py#L243