Line 1 was replaced by line 1 |
- !A Simple Driver Example |
+ !!A Simple Driver Example |
Line 46 was replaced by line 46 |
- ''Explanation, line by line'' |
+ !Explanation, line by line |
At line 93 added 1 line. |
+ {{kids "LS336 settings" {}} |
At line 94 added 20 lines. |
+ We define the children of the main node. The text is the title in the |
+ SeaClient layout. |
+ |
+ {{node set -float wr}} |
+ |
+ The {{set}} node has type {{wr}}. This means |
+ that its value is written to the hardware as soon |
+ as it is changed and read back regularely (by default every 10 seconds). |
+ |
+ {{{ |
+ prop readcmd "SETP?1" |
+ prop readfmt "%g" |
+ prop writecmd "SETP 1,%g" |
+ }}} |
+ |
+ Specify the read command and format, and the |
+ write command. In the write command, %g will be |
+ replaced by the target value. |
+ |
+ |