Skip to content

Change Data-Type Column From Read-Only #55

@jacobson3

Description

@jacobson3

We should be able to change the Data Type column in Define Columns.vi to allow for user edits directly from the table. If we set the read-only boolean to FALSE we need to make the increment/decrement and label not visible on the control and also make changes to the callback VI to check whether the channel would be valid. I tested the callback edit below and it does seem to work but I'm not sure if it's too kludgey.

All of the code within the true statement of the case structure is in the current implementation. The addition is between the unbundle by name and that case structure and basically tests whether the configuration would be valid with the same VI used for checking validity in the channel editor.

data type column callback

In the false case we should probably just bundle the line validation string into the error but I just tested with a 1 button dialog.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions