esrf

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

ccdutils.mac
See other macros in category: Detection Ccd
Description:
    Macros for testing purposes. Most of these macros are now obsolete Check with BLISS before using them
Documentation:
    SETUP
    Run the macro ccdsetup to setup the camera

    DESCRIPTION
    Configuration Macros for testing purposes.
    ccdinit
    Initializes ccd
    sdv
    ccdsdv 'sdv'
    vxi
    ccdvxi 'vxi'
    ccdstatus
    Xstatus_update '
    ccdstatus_normal
    ccdserial
    ccdstatus_mpp
    ccdstatus_init_normal
    ccdstatus_init_mpp
    ccdtest
    ccdvxitest
    ccdoffset
    ccd_1channel(cha,level,tol,bin,mode)
    Graphical user interface.Frelon camera
    xfrelon
    Update SpecGUI values
    xbinroi
    Binning and roi. when button pressed
    xroi
    Roi change
    xbin
    Bining change
    xacquire
    Acquisition. Called from ACQUIRE button
    xupdcurrent
    Updates current image on film
    xupdstate
    Updates CCD state
    xcontinuous
    Continuous acquisition. Called from button
    xbloom
    Sets antiblooming option on and off
    xshutter
    Opens and close the camera shutter
    xtunning
    Camera started continuously whitout acquiring images
    xfilm
    Starts a film on the images after a ACQUIRE action
    xnext
    Shows next image in film
    xprev
    Shows previous image in film
    xwaitacq
    Will catch action on STOP button (~)
    xstopacq
    STOP button is pressed.
    xupdsetup
    Updates all variables in setup panel
    xtrigger
    Sets external trigger on or off
    xcmdout
    called from radio buttons
    ccdsv
    xclosedacs
    close dacs pannel
    ccdpars
    send configuration (images sweeps op_mode)
    ccdreadset
    Read roi and bin parameters from frelon
    xdacs
    for managing the dacs pannel
    xdacs_send_A
    xdacs_send_B ...... xdacs_send_G
    xdacs_send_all
    bumm_clear
    For tesing purposes of accum mode
    bumm_clear_always
    For tesing purposes of accum mode
    ccdsaveconf
    Save dac values to a file
    ccdgetconf
    Restore DAC values from file

    EXAMPLE
    Some examples of macros
        NERON.213> ccdpars 0 1 1
    


    SETUP
    The macro ccd.mac has to be loaded The frelon ccd has to be configured in config

Macros:
    ccdinit
    Usage: ccdinit
    Runs fast1024 to initialize SDV card. Loads xilinx.

    xfrelon
    Usage: xfrelon
    Update SpecGUI values ( called when panel opened and at other several places )

    xbinroi
    Usage: xbinroi
    Binning and roi. ( called when APPLY button pressed )

    xroi
    Usage: xroi
    ROI change ( called when REGION OF INTEREST list is changed or from xbinroi macro)

Internal Macros:
    sdv
    Usage: sdv
    Configures the camera as SDV type

    ccdsdv
    Usage: ccdsdv
    Same as sdv

    vxi
    Usage: vxi


    ccdvxi
    Usage: ccdvxi


    _my_sersleep
    Usage: _my_sersleep


    ccdstatus
    Usage: ccdstatus


    Xstatus_update
    Usage: Xstatus_update


    ccdstatus_normal
    Usage: ccdstatus_normal


    ccdstatus_2000
    Usage: ccdstatus_2000


    ccdserial
    Usage: ccdserial


    ccdstatus_mpp
    Usage: ccdstatus_mpp


    ccdstatus_mpp_new
    Usage: ccdstatus_mpp_new


    ccdstatus_init_normal
    Usage: ccdstatus_init_normal


    ccdstatus_init_mpp_new
    Usage: ccdstatus_init_mpp_new


    ccdstatus_init_mpp
    Usage: ccdstatus_init_mpp


    ccdstatus_init_2000
    Usage: ccdstatus_init_2000


    ccdrst
    Usage: ccdrst


    ccdtest
    Usage: ccdtest


    ccdvxitest
    Usage: ccdvxitest


    setfrelon2000
    Usage: setfrelon2000


    ccdoffset
    Usage: ccdoffset


    ccd_1channel
    Usage: ccd_1channel(cha,level,tol,bin,mode)


    xbin
    Usage: xbin


    send_roi_col_beg
    Usage: send_roi_col_beg


    send_roi_row_beg
    Usage: send_roi_row_beg


    send_roi_col_width
    Usage: send_roi_col_width


    send_roi_row_width
    Usage: send_roi_row_width


    xacquire
    Usage: xacquire


    xupdcurrent
    Usage: xupdcurrent


    xupdstate
    Usage: xupdstate


    xcontinuous
    Usage: xcontinuous


    ccd_cleancont
    Usage: ccd_cleancont


    xbloom
    Usage: xbloom


    xshutter
    Usage: xshutter


    send_acq_time
    Usage: send_acq_time


    send_no_images
    Usage: send_no_images


    xtunning_on_off
    Usage: xtunning_on_off


    xfilm
    Usage: xfilm


    xnext
    Usage: xnext


    xprev
    Usage: xprev


    xwaitacq
    Usage: xwaitacq


    xstopacq
    Usage: xstopacq


    xtrigger
    Usage: xtrigger


    xcmdout
    Usage: xcmdout


    ccdsv
    Usage: ccdsv


    xclosedacs
    Usage: xclosedacs


    ccdpars
    Usage: ccdpars


    Xccdsize
    Usage: Xccdsize


    xdacs
    Usage: xdacs
    Send command DUM. Get answers: two readings are necessary for each string. First string: dac values ( non binning ) Second string: dac values ( binning ) then clear serial line buffer and updata GUI values

    xdacs_norm
    Usage: xdacs_norm


    xdacs_2000
    Usage: xdacs_2000


    xdacs_send_A
    Usage: xdacs_send_A


    xdacs_send_B
    Usage: xdacs_send_B


    xdacs_send_C
    Usage: xdacs_send_C


    xdacs_send_D
    Usage: xdacs_send_D


    xdacs_send_E
    Usage: xdacs_send_E


    xdacs_send_F
    Usage: xdacs_send_F


    xdacs_send_G
    Usage: xdacs_send_G


    xdacs_send_H
    Usage: xdacs_send_H


    xdacs_send_I
    Usage: xdacs_send_I


    xdacs_send_J
    Usage: xdacs_send_J


    xdacs_send_K
    Usage: xdacs_send_K


    xdacs_send_L
    Usage: xdacs_send_L


    xdacs_send_M
    Usage: xdacs_send_M


    xdacs_send_N
    Usage: xdacs_send_N


    xdacs_send_P
    Usage: xdacs_send_P


    xdacs_send_Q
    Usage: xdacs_send_Q


    xdacs_send_R
    Usage: xdacs_send_R


    xdacs_send_S
    Usage: xdacs_send_S


    xdacs_send_T
    Usage: xdacs_send_T


    xdacs_send_U
    Usage: xdacs_send_U


    xdacs_send_V
    Usage: xdacs_send_V


    xdacs_send_W
    Usage: xdacs_send_W


    xdacs_send_X
    Usage: xdacs_send_X


    xdacs_send_Y
    Usage: xdacs_send_Y


    xdacs_send_Z
    Usage: xdacs_send_Z


    xdacs_send_a
    Usage: xdacs_send_a


    xdacs_send_b
    Usage: xdacs_send_b


    xdacs_send_c
    Usage: xdacs_send_c


    xdacs_send_all
    Usage: xdacs_send_all


    bumm_clear
    Usage: bumm_clear


    bumm_clear_always
    Usage: bumm_clear_always


    xresetmux
    Usage: xresetmux


    xflip
    Usage: xflip


    flip_set
    Usage: flip_set


    ccd_hwpars
    Usage: ccd_hwpars


    xsetkinetics
    Usage: xsetkinetics


    xsetkinbegin
    Usage: xsetkinbegin


    xsetkinwinsize
    Usage: xsetkinwinsize


    xsetkinstripes
    Usage: xsetkinstripes


    xkinetics
    Usage: xkinetics


    ccdgetconf
    Usage: ccdgetconf


    ccdsaveconf
    Usage: ccdsaveconf


Filename: ccdutils.mac
Author: David Fernandez and the DETECTOR/BLISS cooperation group
Last mod.: 07/07/2011 11:01 by perez