Skip to content

DeviceXplorer and byte[] incompatibility #293

@NicoSzawlo

Description

@NicoSzawlo

I run into a limitation trying to write to a OpcTag of type UBYTE Array.

The auto-mapping functionality of the Variant object always declares a byte[] to be of type "Bytestring" with Array-Dimensions = null.
DeviceXplorer is expecting a Node configuration with Arraydimension/Valuerank = 1 for Byte-Arrays.

Is it possible to add an overload for the Variant constructor that allows the user to select if the byte[] should be interpreted as Bytestring or as actual array?

Reading values from the OPC server into a byte[] was working, but i was not able to perform a WriteRequest to that node.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions