esrf

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

HP34401A.MAC
See other macros in category: All
Description:
    Use the hp 34401a multimeter as a pseudo-counter
Documentation:
    DESCRIPTION
    The hp 34401a multimeter can be used as a counter . Each time you ask spec to count it will look for counters with a name hp_<hp_number>. The hp will be programmed to automatic scaling.

    EXAMPLE
    counter hp_1 has configured with spec configuration editor.
    hp34401asetup 10 1
    You set up one hp on gpib address 10
    ct 2
    The actual values in the multimeter will be read and put into the counter hp_1 . The 2 will not have any meaning if you did not configure another counter. The hp will be read only once.
    ascan m1 0 10 1 1
    The motor m1 will be scanned and the hp values will be read at each point.


    ATTENTION
    The hp34401a offers many possiblities and is therefore very difficult to program. There are other version of this file. If you would like to read the internal buffer of the Hp34401a, you have to configure the K2001 as a MCA in Spec.

    DEPENDENCIES
    The file hp34401a.mac has to be read in !done by: startup script (this file needs: cpseudo.mac stchanges.mac)

Macros:
    hp34401asetup
    Usage: hp34401asetup [first_gpib_channel] [number_of_hps] [funcs1] [scale1] [funcs2] [scale2]
    define the hp as a pseudo counter and ask user questions if parameters are not given on command line.

Internal Macros:
    hp34401a_init
    Usage: hp34401a_init


    hp34401a_getcounts
    Usage: hp34401a_getcounts


Filename: hp34401a.mac
Author: JK 9.94
Last mod.: 08/08/2002 14:37 by berruyer