Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recording.is_running() fails with Otii 3.2.4 #9

Open
emmioikkonen opened this issue Jan 26, 2023 · 1 comment
Open

Recording.is_running() fails with Otii 3.2.4 #9

emmioikkonen opened this issue Jan 26, 2023 · 1 comment

Comments

@emmioikkonen
Copy link

emmioikkonen commented Jan 26, 2023

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

@geoffrey-vl
Copy link

Indeed also found this to be an issue:
16-02-24 11:03:08.681 [CRITICAL] Something went wrong in runner: <class 'otii_tcp_client.otii_exception.Otii_Exception'> -> {'type': 'error', 'errorcode': 'Invalid command', 'cmd': 'recording_is_running', 'trans_id': '52', 'data': {}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants