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

PulseBlaster pb_board_number confusion #91

Open
gadamc opened this issue Feb 22, 2023 · 0 comments
Open

PulseBlaster pb_board_number confusion #91

gadamc opened this issue Feb 22, 2023 · 0 comments

Comments

@gadamc
Copy link
Collaborator

gadamc commented Feb 22, 2023

Sometimes it seems that the pb_board_number for the pulse blaster hardware changes!

In the past we have initializes PulseBlaster objects with pb_board_number = 1

cwodmr_pulser = PulseBlasterCWODMR(pb_board_number = 1,
                                         aom_channel = 0,
                                         rf_channel = 1,
                                         clock_channel = 2,
                                         trigger_channel = 3,
                                         rf_pulse_duration = 5e-6)

But we have experienced times when this configuration is wrong (how?) and the object needs to be initialized with pb_board_number = 0. It is unknown why this happens and the error message from the underlying driver is unhelpful.

We need to document this or we can work around this problem by trying to initialize communicatons with the PB board with 0 and 1 and simply use the value that doesn't throw an error!

That is, we would put a try/except around this code and try different values of pb_board_number

https://github.com/qt3uw/qt3-utils/blob/main/src/qt3utils/pulsers/pulseblaster.py#L51

This would become problematic, however, if we ever need to communicate with the PB over both board numbers simultaneously.

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

1 participant