From 0b027f0d773859c47b3f69d368ff23b36aa2e1af Mon Sep 17 00:00:00 2001 From: "oliver.rostig" <oliver.rostig@rwth-aachen.de> Date: Sat, 1 Jul 2023 13:24:23 +0200 Subject: [PATCH] function instruction --- writefile.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/writefile.py b/writefile.py index 4711864..f0f87a7 100644 --- a/writefile.py +++ b/writefile.py @@ -17,7 +17,9 @@ def defFunction(functionname, file, indent, inargs): file.write(inargs[i]) file.write("):\n") writeindent = writeindent + " " - file.write(writeindent + """#ToDo: Write an algorithm that fits the description of the function. + file.write(writeindent + """#ToDo: Write an algorithm that fits the description of the function. + # Use "await" before changing values and cast to Ua Varianttype + # Use get and set_value to change the value at a given nodeid e.g: await testvar.set_value(ua.Variant(position)) pass """) -- GitLab