Skip to content

Registers ending with a whitespace are not shown correctly on the registers.keys() #38

@ghost

Description

When a FPGA LabView code has been compiled with a register with a name ending with a whitespace like( "MyRegister " ) is not correctly reported in session.registers.keys() .
print(session.registers.keys())
shows a
dict_keys(["MyRegister"])
instead of
dict_keys(["MyRegister "])

and even if it is reported wrongly the
session.registers["MyRegister"].write(0.0)
throw an error
KeyError("MyRegister")

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions