Skip to content

Redefinition of digital outputs (at least) is silent #52

Open
@philipstarkey

Description

@philipstarkey

Original report (archived issue) by Lincoln Turner (Bitbucket: lincolndturner, GitHub: lincolnturner).


We unintentionally had in our connection table:

DigitalOut('Bq_cap_charge', ni_pcie_6363_0, ‘port0/line11’)

and later in the connection table

DigitalOut('lf_amp_shutdown', ni_pcie_6363_0, ‘port0/line11’)

We edited the Bq_cap_charge line to give it another name, and this made the BLACS tab button change labels from Bq_cap_charge to lf_amp_shutdown.

This smells like a dict-keys ordering issue where adding new DOs with the same port/line just adds keys to a dict and it is fairly arbitrary what key gets displayed in BLACS…?

Presumably the fix should be an error, or at least a warning, if the line is already attached to a label?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingminor

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions