View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0008207 | .NET API | Implementation Bug | public | 2022-08-18 11:02 | 2022-08-18 14:27 |
| Reporter | Bernd Edlinger | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | new | Resolution | open | ||
| Summary | 0008207: Binary Encoding of Decimal Datatype is wrong | ||||
| Description | The generated UA-Nodeset/DotNet/Opc.Ua.DataTypes.cs encodes the DecimalDataType But the spec says something different: see https://reference.opcfoundation.org/Core/Part6/5.1.8/ Table 3 – Layout of Decimal So unless we completely misunderstood the spec, it means that the "If a Decimal is embedded in another Structure then the DataTypeDefinition for the | ||||
| Tags | No tags attached. | ||||
|
|
BTW: this is the callstack that we observed: [ERR] Unexpected error processing request. |
|
|
Well, maybe this is also related: When we encode the Variant with the Decimal value, We took TypeId = "ns=0,i=17861" (OpcUaId_DecimalDataType), So we did not consider to use i=50 (Decimal), although that is the NodeId of the Decimal Type. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2022-08-18 11:02 | Bernd Edlinger | New Issue | |
| 2022-08-18 14:15 | Bernd Edlinger | Note Added: 0017329 | |
| 2022-08-18 14:27 | Bernd Edlinger | Note Added: 0017330 |