LCX Camera, P10

The Tango Server for the LCX Camera connects via socket interface to a perl Server talking to the camera. Steps before starting the Tango Server:

A LCX camera is introduced to Online by the following entry in /online_dir/online.xml:

<hw>
...
<device>
    <name>lcx</name> 
    <type>type_tango</type> 
    <module>module_tango</module>
    <device>p10/pscamera/e2.01</device> 
    <control>tango</control> 
    <hostname>haspp10e2:10000</hostname>
</device>
...
</hw>

Here is the Tango configuration of the controller and the camera.

Figure 22.1: Jive, LCX, Controller
Image JiveLcxCtrl

Figure 22.2: Jive, LCX Camera
Image JiveLcxCamera

Note that the online -tki manual shows how parameters of this camera can be set by a beamline-specific-code widget.

The camera can be operated as a virtual counter:

 
if( $method =~ /reset/i)
{
    return Spectra::lcxStart( "lcx", $Spectra::SYM{ scan_name},
                              $Spectra::SYM{ sample_time},  
                              $Spectra::SYM{ sindex}); 
}

if( $method =~ /read/i)
{
    while( Spectra::tng_state( "lcx"))
    {
       Util::log( "waiting for the LCX camera"); 
       Spectra::wait( 0.1); 
    }
    return 1;
}