Skip to content

[BUG] Automated control not working for LV with single channel #645

@lzygala

Description

@lzygala

Describe the bug
Use of the automated control of the 8-channel HV box doesn't work when in configuration with a single LV power supply.

Institution
Cornell

To Reproduce

  1. Set up the test with 2 modules
  2. Click Next (this is when I get the popup error "Instrument has no channel 2")

The output is:
INFO - Automatically setting instrument cluster channels.
INFO - Added channel 0 with lv_1 and hv.
INFO - Added channel 1 with lv_1 and hv.
INFO - Final module_dict: {0: {'lv': {'instrument': 'lv_1', 'channel': 1}, 'hv': {'instrument': 'hv', 'channel': 1}, 'hb': {'instrument': 'hb', 'channel': 1}}, 1: {'lv': {'instrument': 'lv_1', 'channel': 2}, 'hv': {'instrument': 'hv', 'channel': 1}, 'hb': {'instrument': 'hb', 'channel': 2}}}

Expected behavior
I expect the module dict above to have each lv_1 channel set to 1, as I have defined it in my instruments_cornell_auto.json file.

Provide configuration files
I've attached siteConfig.py and instruments_cornell_auto.json. run_Docker.sh is unchanged for us.

siteConfig.py
instruments_cornell_auto.json

Additional context
We are running in a serial power configuration for our testing. So all of the modules will be connected to the same power supply.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions