Hi,
I'm using the Evaluation version 1.1.0 and I'm trying to run a server that loads an address space from a binary file.
I based my code on the Sensor Model Server example for initialisation. If I load the sensormodel.bin file included in the example, my server run properly.
I'm not able to generate the bin file from the sensormodel.xml: I tried to run xml2bin with various options to generate a bin file from the sensormodel.xml input file: it generates a bin file, but when I try load it, the server fails initialisation.
Since I would like to test how to add some objects to the address space defined in the xml file, could you please let me know what's the right command uset to transfor sensormodel.xml into the sensormodel.bin included in the example?
Thanks,
Binary file generation
Moderator: uasdkhpc
-
- Full Member
- Posts: 7
- Joined: 22 Sep 2017, 14:23
Re: Binary file generation
Hi to all.
I've found the right set of parameters: It wasn't too complex, indeed
The right command is something as:
xml2bin -i3 -o <output folder path>\<output file name>.bin Opc.Ua.NodeSet2.xml Opc.Ua.Di.NodeSet2.xml <xml file path>\<xml file name>.xml
Now, I'm able to feed my server code with various xml configuration files and everything is working fine.
I've found the right set of parameters: It wasn't too complex, indeed
The right command is something as:
xml2bin -i3 -o <output folder path>\<output file name>.bin Opc.Ua.NodeSet2.xml Opc.Ua.Di.NodeSet2.xml <xml file path>\<xml file name>.xml
Now, I'm able to feed my server code with various xml configuration files and everything is working fine.