esrf

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

IMAGEPRO.MAC
See other macros in category: Detection Ccd
Description:
    Macros for using ImagePro CCD image acquisition software
Documentation:
    OVERVIEW
    This macro set can be used to trigger CCD image acquisitions by ImagePro running on a Windows PC. The macros allow a user to configure the image acquisition basic setup (device, file prefix, exposure time). Triggering is switched on/off using the ipon/ipoff macro macros. When triggering is on image acquisition is triggered at every ct command i.e. during scans. Single shot images can be taking using the ipsnap command.

    EXAMPLE
    ipsetup id18/imagepro/1 "c:\\temp" "img"
    Will setup the ImagePro macros to trigger an acquisition from the device id18/imagepro/1 with file prefix "img" (exposure time is set by the count time specified to "ct"). The file names created will be of the form img_scan_i where scan is the scan number, i is the point number inside a scan.
    ipoff
    Switch triggering off at ct command
    ipon
    Switch triggering on at every ct command
    iptake "test" 10
    Take a single shot image exposure 10 s and store it in the file name "test" (NOTE: if the file exists already ImagePro will open a dialog box which has to be acknowledged)
    ipsnap 10
    Take a single shot image exposure 10 s and display it but don't save it in a file
    ipsave "C:\\mypath\\myfile"
    Save the current workspace (e.g. an image taken with ipsnap) in the specified file
    imagepro needs dbase.mac now - ONLY on ID11 jtdo("id11/dbase") ipsetup

Macros:
Internal Macros:
    ipsetup
    Usage: ipsetup


    ipoff
    Usage: ipoff


    ipon
    Usage: ipon


    ipctoff
    Usage: ipctoff


    ipautooff
    Usage: ipautooff


    ipautoon
    Usage: ipautoon


    ipcounter
    Usage: ipcounter


    ip_get_cnt_stats
    Usage: ip_get_cnt_stats


    ipstats
    Usage: ipstats


    ipscan
    Usage: ipscan


    ipwait
    Usage: ipwait()


    ipsnap
    Usage: ipsnap


    ipsave
    Usage: ipsave(filename)


    ipautosave
    Usage: ipautosave


    fipautosave
    Usage: fipautosave


    ipnewfile
    Usage: ipnewfile


    ipnewfile_fn
    Usage: ipnewfile_fn(_dir,_prefix,_suffix,_format,_file_no)


    ipseqsave
    Usage: ipseqsave


    set_fileformat
    Usage: set_fileformat


    set_fileformat_edf
    Usage: set_fileformat_edf


    set_fileformat_eda
    Usage: set_fileformat_eda


    set_fileformat_tif
    Usage: set_fileformat_tif


    iptake
    Usage: iptake


    iptake_old
    Usage: iptake_old


    ipautotake
    Usage: ipautotake


    ip_exposure
    Usage: ip_exposure


    ip_trigger
    Usage: ip_trigger


    ipcloseall
    Usage: ipcloseall


    ipcloseon
    Usage: ipcloseon


    ipcloseoff
    Usage: ipcloseoff


    ipmacro
    Usage: ipmacro


    ippresnapmacro
    Usage: ippresnapmacro


    ippostsnapmacro
    Usage: ippostsnapmacro


    ipsetdescription
    Usage: ipsetdescription(text)


    ipreset
    Usage: ipreset


Filename: imagepro.mac
Author: A.Gotz, (original 10/99, last changed 4/3/2003).
Last mod.: 22/04/2009 15:13 by guilloud