esrf

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

See other macros in category: All
Description:
    ID21K428.MAC - Macros to control a Keithley 428 current amplifier via GPIB
Documentation:
    DESCRIPTION
    This macro file allows definition and control of the Keithley 428 in SPEC. As this is implemented at the macro level not all commands will work

    EXAMPLE
    k428add : add a k428 with the parameters * mnemonic * gpib addr


Macros:
    k428_setup
    Usage: k428_setup [K428 mnemonic name] [k428 gpib addr]
    Adds the given K428 to the already defined K428 amplifiers

    k428add
    Usage: k428add k428-mnemonic k428-gpib-address
    Add definitions for a 428 amplifier

    k428_offset
    Usage: k428_offset <mne> <gain> <value> MDESC% this is the offset current to apply, according to that gain.
    For the other gain, a multiple factor will be applied (factor of 10 if gain+1, factor of 100 if gain+2 ... divide by 10 if gain-1 ...)


Internal Macros:
    k428_add
    Usage: k428_add (k428-mnemonic,k428-gpibaddr)
    Add definitions for a k428 amplifier

    k428unsetup
    Usage: k428unsetup


    k428_exists
    Usage: k428_exists(gpibaddr)


    k428_read
    Usage: k428_read(mne)


    k428getallparam
    Usage: k428getallparam(mne)


    k428setparam
    Usage: k428setparam


    _k428setparam
    Usage: _k428setparam(k428_mne, k428_comm, k428_val)


    k428show
    Usage: k428show


    k428singleshow
    Usage: k428singleshow(k428_mne)


    k428_getrisetimestr
    Usage: k428_getrisetimestr(val)


    k428_scan_header
    Usage: k428_scan_header


    k428scanon
    Usage: k428scanon


    k428scanoff
    Usage: k428scanoff


    k428_isconfig
    Usage: k428_isconfig(mne)


    k428_isenable
    Usage: k428_isenable(mne)


Filename: k428.mac
Author:
Last mod.: 02/03/2020 18:21 by witsch