esrf

Beamline Instrument Software Support
SPEC Macro documentation: [ Macro Index | BCU Home ]

TALYVEL.MAC
See other macros in category: All
Description:
    Macros to read out TALYVEL4 inclinometer through serial line. Only one of the two channels can be read. The rotating button on the TALYVEL4 front panel selects the channel read by the macros.
Documentation:
    DESCRIPTION
    Configure a macro counter controller with ADDR field corresponding to the serial line used: SCALERS DEVICE ADDR <>MODE NUM <>TYPE
    YES talyvel 1 2 Macro Counter Here is an example of serial line setup: SERIAL DEVICE <>TYPE <>BAUD <>MODE
    1 YES /dev/ttyS1 <> 9600 raw Then configure a counter: Number Name Mnemonic <>Device Unit Chan <>Use As Scale
    XX incl incl MAC_CNT 0 0 counter 1 NOTE: the cabling is not standard:
    TALYVEL4 4U
    DB25-F DB9-M
    2-------3
    3-------2
    6-------7
    7-------5
    18-25 4-6-8

Macros:
Internal Macros:
    talyvel_config
    Usage: talyvel_config ()
    Macro counter implementation

    talyvel_cmd
    Usage: talyvel_cmd ()
    Macro counter implementation

    talyvel_check
    Usage: talyvel_check (sl)
    Returns null if ok

    talyvel_off
    Usage: talyvel_off (sl)


    talyvel_on
    Usage: talyvel_on (sl)


    talyvel_read
    Usage: talyvel_read (sl)


    _talyvel_err
    Usage: _talyvel_err
    Pure cosmetic macro

Filename: talyvel.mac
Author: MP BLISS (Original 05/2017).
$Revision: 1.0 $ / $Date: 2017/06/02 11:33:15 $
Last mod.: 02/06/2017 13:33 by perez