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

The last state machine sent was not acknowledged ... #541

Closed
bimac opened this issue Oct 31, 2023 · 4 comments
Closed

The last state machine sent was not acknowledged ... #541

bimac opened this issue Oct 31, 2023 · 4 comments
Labels
bug Something isn't working

Comments

@bimac
Copy link
Contributor

bimac commented Oct 31, 2023

2023-10-31 11:31:20.334 INFO     [base_choice_world.py:  165]   Starting trial: 40
2023-10-31 11:31:20.334 INFO     [base_choice_world.py:  165]   Starting trial: 40
2023-10-31 11:31:20.334 INFO     [base_choice_world.py:  170]   Sending state machine to bpod
2023-10-31 11:31:20.334 INFO     [base_choice_world.py:  170]   Sending state machine to bpod
2023-10-31 11:31:20.334 INFO     [bpod_base.py:  244]   Sending state machine
2023-10-31 11:31:20.824 INFO     [base_choice_world.py:  179]   running state machine
2023-10-31 11:31:20.824 INFO     [base_choice_world.py:  179]   running state machine
2023-10-31 11:31:20.824 INFO     [bpod_base.py:  283]   Running state machine, trial 42
Traceback (most recent call last):
  File "C:\iblrigv8\iblrig_tasks\_iblrig_tasks_biasedChoiceWorld\task.py", line 12, in <module>
    sess.run()
  File "C:\iblrigv8\iblrig\base_tasks.py", line 391, in run
    self._run()  # runs the specific task logic ie. trial loop etc...
  File "C:\iblrigv8\iblrig\base_choice_world.py", line 634, in _run
    super(ActiveChoiceWorldSession, self)._run()
  File "C:\iblrigv8\iblrig\base_choice_world.py", line 180, in _run
    self.bpod.run_state_machine(sma)  # Locks until state machine 'exit' is reached
  File "C:\iblrigv8\venv\lib\site-packages\pybpodapi\bpod\bpod_base.py", line 292, in run_state_machine
    raise BpodErrorException('Error: The last state machine sent was not acknowledged by the Bpod device.', self)
pybpodapi.exceptions.bpod_error.BpodErrorException: ('Error: The last state machine sent was not acknowledged by the Bpod device.', <iblrig.hardware.Bpod object at 0x000001335E0E1E40>)
2023-10-31 11:33:01.314 INFO     [bpod_base.py:  132]   Starting Bpod

image

@bimac bimac added the bug Something isn't working label Oct 31, 2023
@bimac
Copy link
Contributor Author

bimac commented Oct 31, 2023

mainen rig #2, ZFM-06271, 2023-10-31, session 001

@bimac
Copy link
Contributor Author

bimac commented Oct 31, 2023

potentially an issue fixed with #539 - waiting for user feedback

@bimac
Copy link
Contributor Author

bimac commented Oct 31, 2023

issue was not fixed

@bimac
Copy link
Contributor Author

bimac commented Oct 31, 2023

check potential micros() overflow

@bimac bimac closed this as completed Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant