From 2b3e4189c1848578cf3ee5ec05e6c12c777ed5ca Mon Sep 17 00:00:00 2001 From: "Henrique F. Simoes" Date: Mon, 26 Jun 2023 10:09:54 -0300 Subject: [PATCH] Document stream-base.dbd usage when scalcout is not needed Having StreamDevice built with scalcout support does not require that the application also depend on calc if it does not use this record type. But this is only true if we load `stream-base.dbd` instead of `stream.dbd`. Therefore, this alternative database definition should be documented in the setup page. --- docs/setup.html | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/setup.html b/docs/setup.html index b8f1f3a..9fbaf6c 100644 --- a/docs/setup.html +++ b/docs/setup.html @@ -85,7 +85,7 @@ Make sure that the asyn library can be found by adding the path to the ASYN=/home/epics/asyn4-30 -

Support for sCalcout record

+

Support for sCalcout record

The

Support for the sCalcout is optional. StreamDevice works -as well without sCalcout or SynApps. +as well without sCalcout or SynApps. If your application does +not need this record support, you may load stream-base.dbd instead of +stream.dbd, making it optional to include calc as an +application dependency.

Support for regular expression matching

@@ -185,13 +188,14 @@ Regular expressions are optional. If you don't want them, you don't need this. Go to the StreamDevice directory and run make (or gmake). This will create and install the stream library and the -stream.dbd file and an example IOC application. +StreamDevice database definition files and an example IOC application.

To use StreamDevice, your own application must be built with the stream and asyn (and optionally pcre) libraries -and must load asyn.dbd and stream.dbd. +and must load asyn.dbd and stream.dbd (or alternatively +stream-base.dbd; see Support for sCalcout record).

Include the following lines in your application Makefile: