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:
rdesktop -a 16 -g 90% haso052lcx
C:\Program Files\PI Acton\WinView\Winview.exe
Directory D:\Perl perl> perl lcx_xpcs_server.pl
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.
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;
}