Setting and updating data from code works as expected. (Both negative and positive values)
But if I try setting a negative value from tools like Matricon OPC UA Explorer, the server responds with this error: Write request for ns=<Namespace>;s=<VariableName> failed due to :BadOutOfRange: The value was out of range.(0x803C0000)
The OnSimpleWriteValue, OnWriteValue and OnValidate methods are not even called when a negative value is entered.
Can anyone help me get this working?
Expected Behavior
No response
Steps To Reproduce
No response
Environment
- OS: Windows 10 Enterprise 22H2
- Environment: Microsoft Visual Studio Enterprise 2022 (64-bit) 17.11.3
- Runtime: .NET 8.0
- Nuget Version: 1.5.374.118
- Component: Opc.Ua.Server
- Server: Own implementation based on Reference Server code
- Client: Matrikon OPC UA Explorer
Type of issue
Current Behavior
I have the following method to create server variables:
Setting and updating data from code works as expected. (Both negative and positive values)
But if I try setting a negative value from tools like Matricon OPC UA Explorer, the server responds with this error:
Write request for ns=<Namespace>;s=<VariableName> failed due to :BadOutOfRange: The value was out of range.(0x803C0000)
The
OnSimpleWriteValue
,OnWriteValue
andOnValidate
methods are not even called when a negative value is entered.Can anyone help me get this working?
Expected Behavior
No response
Steps To Reproduce
No response
Environment
Anything else?
No response