Skip to content

Access type cannot be changed. #46

@jimlittlefield

Description

@jimlittlefield

As part of dynamic PDO mapping its necessary to change the "number of mapped objects" (subindex 0) for an PDO mapping parameter. I'm finding that for all the new RPDO's that I've added to the OD, the access type setting is grayed out so you can't change it from the default "ro" setting. I'd like to have the number of mapped objects set to zero but be able, at runtime, to change the setting when the RPDO is to be enabled. To do this, I need the accesstype of RPDO mapping, subindex 0x00 to be rw.

It seems like there may be a bug in the handling of the combobox.accesstype.Enabled property in DeviceODView.cs. I changed line ~300 to change comboBox_accesstype.Enabled = false; to comboBox_accesstype.Enabled = true; This seemed to allow me to change the accesstype as necessary but I don't know if it breaks something else.

jl

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions