BsdParser how to read *.bsd file and register to dataTypeDictionaryManager ? #1168
Replies: 2 comments 2 replies
-
You are on an unsupported path here, I'm not sure I can help you. Even loading a companion spec into the server is not supported at this point (though it has been explored unofficially here: https://github.com/kevinherron/machine-example/tree/master). I'm not sure what you're hoping to achieve with one of the |
Beta Was this translation helpful? Give feedback.
-
So this means when i encounter a struct in one of the specifications i have to define it like in the customStructType example. But there are alot of structs in the one i want to use right now. Also when i want to load another spec i have to define all included structs again. Which is huge amount of work. I think it should be somehow possible to load the structs from some sort of file if you plan in the future to support companion Specifications with the Server. |
Beta Was this translation helpful? Give feedback.
-
Hi, i want to load a binary sheme Opc.Ua.Ijt.Base.Types.bsd from Companion Specification OPC UA for Joining Systems into our milo Server.
Now im not aware how to archive this. I have the Problem that i need the dataTypeId and encodingId which is not included in the bsd file.
` public static void parseTypeDictionary(DataTypeDictionaryManager dataTypeDictionaryManager) throws Exception {
BsdParser parser = new GenericBsdParser();
I don't know where to get the dataTypeId and encodingId from i could read from .csv which comes with the companion spec but im not shure if this is the right way to handle this. Do you have any suggestions ?
Beta Was this translation helpful? Give feedback.
All reactions