std/link: all calc example
This commit is contained in:
@@ -90,6 +90,13 @@ from <tt>const</tt> links.</li>
|
||||
|
||||
</ul>
|
||||
|
||||
<pre>
|
||||
field(INP, {calc:{expr:"A+B+1",
|
||||
args:[{const:5}, # A
|
||||
{const:6}] # B
|
||||
}})
|
||||
</pre>
|
||||
|
||||
<p>The new link types are documented in a
|
||||
<a href="links.html">separate</a><!-- href for the EPICS website -->
|
||||
<a href="../html/links.html">document</a><!-- href for install tree -->
|
||||
|
||||
@@ -6,7 +6,11 @@
|
||||
\*************************************************************************/
|
||||
/* lnkCalc.c */
|
||||
|
||||
/* TODO:
|
||||
/* Current usage
|
||||
* {calc:{expr:"A", args:[{...}, ...]}}
|
||||
* First link in 'args' is 'A', second is 'B', and so forth.
|
||||
*
|
||||
* TODO:
|
||||
* Support setting individual input links instead of the args list.
|
||||
* {calc:{expr:"K", K:{...}}}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user