Comments (7)
I'll have to look into whether that should be possible or not. You can write "anything" to a node of type Variant
- you just have to encapsulate that anything in a Variant
first.
edit: Doh... you probably did that as you wrote the String. I think you're right about this.
from milo.
That is what should happen .. at least I think it is.
So on the client side I am doing something like write ( new DataValue ( new Variant ( "String" ) ) )
On the server side it pops up like in the following screenshot:
So the original value is the DataValue, from there the Variant and then the String.
Or do you mean I should put a Variant inside the Variant?
from milo.
You can't put a Variant in a Variant - I think you're right about this being a bug. I should be able to fix it pretty quickly, but I also want to write some kind of test case for it.
from milo.
Yes I just saw that:
checkArgument(clazzIsArray || !Variant.class.equals(componentClazz), "Variant cannot contain Variant");
from milo.
Since it currently does block me, I can work on a fix if you like.
from milo.
Sure, in that block you've breakpointed in, you'll need to add a check to see if expected is Variant
, and if so, allow the write to proceed.
If you could start a unit test for AttributeWriter that would be good too - you could just test this case for now.
from milo.
Alright then ... yes, you are right. A unit test seems to be a good way to start.
from milo.
Related Issues (20)
- When subscribed to data changes and then read a value from the OPC-UA server, it will continue to receive subscribed data even if its value has not changed HOT 1
- The connection to S7 1500 gets interrupted while the connection to S7 1200 does not. HOT 1
- Get Bad_ArgumentsMissing instead of Bad_TooManyArguments HOT 1
- cant't write a Long value to opc-ua(the data type is UInt32) HOT 1
- Force TCP reconnect after SessionFsm keep-alive failure HOT 2
- Security upgrade to netty-4.1.105.Final
- CertificateValidationUtil issuer certificate KeyUsage checks
- How to read CustomStructType? HOT 1
- Remove dependency on lombok
- milo version 0.6.11 monitors the approximate limit of the number of PLC points HOT 1
- URI Reading Error HOT 8
- Port forwarding HOT 1
- Milo 0.6.12 Gradle ambiguity error for guava 33 HOT 4
- EndpointDescription is only chosen based on path, not hostname, preventing different certificates per-endpoint HOT 2
- status=Bad_Timeout HOT 1
- Convert `AddressSpace` to blocking API
- Roles and Permissions HOT 1
- Cannot connect to Secured OPC Server HOT 2
- How i can get and mange pEventAttributes from OPC AE and wrapper with Milo? HOT 1
- Setting a node's value to null resp. clearing the node HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from milo.