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

Rfid firmware and indicator issues #441

Open
jkbhagatio opened this issue Jan 5, 2024 · 2 comments · Fixed by #476
Open

Rfid firmware and indicator issues #441

jkbhagatio opened this issue Jan 5, 2024 · 2 comments · Fixed by #476
Assignees
Labels
bug Something isn't working firmware Requires modifications to the control firmware of rig devices

Comments

@jkbhagatio
Copy link
Member

Some weird things I notice with the rfids:

  1. When viewing the visualizer for the Rfid Parse node, it always displays the last rfid detected, even on a fresh restart of the Bonsai workflow.
  2. Even with the 'OperationLed', 'OperationMode', and 'VisualIndicator' properties set appropriately, the rfids are not buzzing nor the led indicator light turning on during a detection

Interestingly, 2.only happens on the aeon3 rfids, but the indicators work on the aeon4 rfids.

@jkbhagatio jkbhagatio added bug Something isn't working firmware Requires modifications to the control firmware of rig devices labels Jan 5, 2024
@jkbhagatio jkbhagatio changed the title Rfid indicators not working on Aeon3 Rfid firmware and indicator issues Jan 9, 2024
@glopesdev
Copy link
Collaborator

glopesdev commented Jan 10, 2024

When viewing the visualizer for the Rfid Parse node, it always displays the last rfid detected, even on a fresh restart of the Bonsai workflow.

This is the Rfid reporting the state of the event register on startup. It will not go in the chunked data since it is a Read message and thus will be stored only in the binary file storing the initial device state. We can possibly improve online filtering further to take this into account but it won't be a blocker for now.

Even with the 'OperationLed', 'OperationMode', and 'VisualIndicator' properties set appropriately, the rfids are not buzzing nor the led indicator light turning on during a detection

I think this is likely an issue with device configuration registers. We actually intended for sounds and lights to be off on RFID detection to avoid cueing the animal, but it's likely that one arena is configured and the other not. Probably the best approach would be to check the device initialization routine to make sure that this configuration is set every single time on device initialization.

@glopesdev
Copy link
Collaborator

make sure that this configuration is set every single time on device initialization.

@jkbhagatio actually I was just checking this and it's already there and on both arenas the hardware notifications are set to None, so in principle if you run the full workflow you should not get any notifications from the readers.

If you want to have them for testing and calibration we can make a separate workflow where we just turn them on. The relevant property is HardwareNotifications on the RfidReader module.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working firmware Requires modifications to the control firmware of rig devices
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants