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

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

<refentry version="5.0-subset Scilab" xml:id="lcaDelay" 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>lcaDelay</refname><refpurpose>Delay execution of scilab/matlab for the specified time to handle CA.</refpurpose>
  </refnamediv>



<refsynopsisdiv>
   <title>Calling Sequence</title>
   <synopsis>
   lcaDelay(timeout)
   </synopsis>
</refsynopsisdiv>

<refsection>
   <title>Description</title>
   <para>
Delay execution of scilab or matlab for the specified time to handle
channel access activity (monitors). Using this call is not needed under
EPICS-3.14 since monitors are transparently handled by separate
threads. These ``worker threads'' receive data from CA on monitored
channels ``in the background'' while scilab/matlab are processing
arbitrary calculations. You only need to either poll the library for
the data being ready using the <link linkend='lcaNewMonitorValue'>lcaNewMonitorValue()</link> routine or
block for data becoming available using <link linkend='lcaNewMonitorWait'>lcaNewMonitorWait()</link>.
</para>
</refsection>

<refsection>
   <title>Parameters</title>
   <variablelist>
   <varlistentry><term>timeout:</term>
      <listitem><para> A timeout value in seconds.</para></listitem></varlistentry>
   </variablelist>
</refsection>

<refsection>
   <title>See also</title>
   <simplelist type="inline">
   <member><link linkend="lcaNewMonitorValue">lcaNewMonitorValue</link></member>
   <member><link linkend="lcaNewMonitorWait">lcaNewMonitorWait</link></member>
   </simplelist>
</refsection>
</refentry>
