Skip to content

Commit ec1100e

Browse files
committed
Replace master branch with page content via GitHub
1 parent 4c65b94 commit ec1100e

File tree

2 files changed

+28
-4
lines changed

2 files changed

+28
-4
lines changed

index.html

+27-3
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,35 @@ <h2 id="project_tagline"></h2>
2727
<!-- MAIN CONTENT -->
2828
<div id="main_content_wrap" class="outer">
2929
<section id="main_content" class="inner">
30-
<p>Free OPC-UA is C++ library develop server and client OPC-UA applications. Python bindings can be found in the opcua-python repository. The library is under development but works will all tested clients. It support addressspace browse, read, write and address space modification as well as subscriptions and datachange events.</p>
30+
<p>Free OPC-UA is C++ library develop server and client OPC-UA applications. Python bindings can be found in the opcua-python repository. </p>
3131

32-
<p>history is not yet supported</p>
32+
<p>The library is under development but works will all tested clients. It support addressspace browse, read, write and address space modification as well as subscriptions and datachange events.</p>
3333

34-
<p>see examples in exe folder or the examples in python repository</p>
34+
<p>History is not yet supported</p>
35+
36+
<p>All expected OPC-UA objects are implemented in C++. Higher level Server, Client and Node objects are also available.</p>
37+
38+
<p>Example high level Python server code:</p>
39+
40+
<pre><code>s = opcua.Server()
41+
s.load_cpp_addressspace(True)
42+
s.set_endpoint("opc.tcp://192.168.56.1:4841")
43+
s.start()
44+
try;
45+
objects = s.get_objects_node()
46+
47+
m = objects.add_folder("2:MyFolder")
48+
v = m.add_variable("2:MyVariable", 3)
49+
50+
count = 0
51+
while True;
52+
count += 1
53+
v.set_value(count)
54+
time.sleep(1);
55+
56+
finally:
57+
s.stop()
58+
</code></pre>
3559
</section>
3660
</div>
3761

params.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"name":"Freeopcua.github.io","tagline":"","body":"\r\n\r\nFree OPC-UA is C++ library develop server and client OPC-UA applications. Python bindings can be found in the opcua-python repository. The library is under development but works will all tested clients. It support addressspace browse, read, write and address space modification as well as subscriptions and datachange events.\r\n\r\nhistory is not yet supported\r\n\r\nsee examples in exe folder or the examples in python repository\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
1+
{"name":"Freeopcua.github.io","tagline":"","body":"\r\nFree OPC-UA is C++ library develop server and client OPC-UA applications. Python bindings can be found in the opcua-python repository. \r\n\r\nThe library is under development but works will all tested clients. It support addressspace browse, read, write and address space modification as well as subscriptions and datachange events.\r\n\r\nHistory is not yet supported\r\n\r\nAll expected OPC-UA objects are implemented in C++. Higher level Server, Client and Node objects are also available.\r\n\r\nExample high level Python server code:\r\n\r\n s = opcua.Server()\r\n s.load_cpp_addressspace(True)\r\n s.set_endpoint(\"opc.tcp://192.168.56.1:4841\")\r\n s.start()\r\n try;\r\n objects = s.get_objects_node()\r\n\r\n m = objects.add_folder(\"2:MyFolder\")\r\n v = m.add_variable(\"2:MyVariable\", 3)\r\n\r\n count = 0\r\n while True;\r\n count += 1\r\n v.set_value(count)\r\n time.sleep(1);\r\n\r\n finally:\r\n s.stop()\r\n\r\n","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}

0 commit comments

Comments
 (0)