<?xml version="1.0" encoding="UTF-8"?>

<!--
 * 
 * This help file was generated from lcaClear.sci using help_from_sci().
 * 
 -->

<refentry version="5.0-subset Scilab" xml:id="lcaClear" xml:lang="en"
          xmlns="http://docbook.org/ns/docbook"
          xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg"
          xmlns:ns3="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML"
          xmlns:db="http://docbook.org/ns/docbook">

  <info>
    <pubdate>$LastChangedDate: 13-Jan-2012 $</pubdate>
  </info>

  <refnamediv>
    <refname>lcaClear</refname><refpurpose>Release/cleanup (disconnect) channels/PVs</refpurpose>
  </refnamediv>



<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
   lcaClear(pvs)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Description</title>
   <para>
Clear / release (disconnect) channels. This is particularly useful with
EPICS 3.14 to clean up invalid PVs (e.g., due to typos). Nonexisting
PVs are continuously searched for by a CA background task which may
result in cluttered IOC consoles and resource consumption. All monitors
on the target channel(s) are cancelled/released as a consequence of
this call.
</para>
</refsection>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>pvs:</term>
      <listitem><para> Column vector (in matlab: m x 1 cell- matrix) of m strings.  Alternatively, lcaClear may be called with no rhs argument thus clearing all channels (and monitors).</para></listitem></varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>Examples</title>
   <programlisting role="example"><![CDATA[
\\ clear a number of channels
lcaClear( ['aUseless_PV'; 'misTyppedPV' ] )

\\ purge all channels (dont use parenthesis in matlab)
lcaClear()
   ]]></programlisting>
</refsection>
</refentry>
