SPEC Resources

The BCDA group has limited but growing SPEC expertise. However the APS does have a limited site licence with Certified Scientific Software.

Our cousins at the ESRF have many useful SPEC related items on their web site.

SPEC is a trademark of Certified Scientific Software.

BCDA SPEC Support

Note: Please see the BCDA spec subversion page to download the most current version of
the following file and find more sector specific macros.


APS Macro Repository
Packge
Description
Help
Dependency
Type
aalength.mac
functions that are widely used in other packages.
None
Tool
ccdscan_new.mac


ccdscan_4.0.mac
control Brian Tieman's CCD Image Server(V2.5 or later), trigger the area detector and save images at each scan point.

For Image Server V4.0.

ccdscan 
aalength.mac
uspec_column.mac
Scan/Detector
ccdscan_mar.mac
control MAR ccd through Mark river's EPICS ccd interface.
ccdscan aalength.mac
uspec_column.mac
Scan/Detector
ccdscan_old.mac
control Brian Tieman's CCD Image Server(earlier than V2.5), trigger the area detector and save images at each scan point. ccdscan
aalength.mac
uspec_column.mac
Scan/Detector
checkbeam.mac
protects scans against storage ring trips.
None
Miscellaneous
epics_mca.mac
capable of scanning multiple Multi Channel Analyzers and saving selected ROIs to SPEC file. epics_mca
aalength.mac
uspec_column.mac
synApps DXP/MCA module
Scan/Detector
hkl_ioc.mac
macros to send the HKL value to a soft IOC.
specioc
specioc
Interface
lp.mac
prints outputs from any spec command to a printer.

None
Miscellaneous
mythen_strip.mac

SLS MYTHEN detector support (low level control via epics interface)
similar to epicss mca
aalength.mac
uspec_column.mac
Scan/Detector
plcounter.mac
combines counters and plotselect to one command.
See macro header
None
Miscellaneous
record_params.mac  to save spec scan peak fit parameters to text file during


Tool
showmotors.mac
macros to group motors and display the grouped motor positions easily.

aalength.mac Tool
stripdet.mac

NSLS strip detector (HERMES-based) support
similar to epicss mca aalength.mac
uspec_column.mac
Scan/Detector
table.mac
macros for moving and scanning EPICS  optical table record ( even motors  not configured in spec). table
None
Scan/PV
temperature.mac
implementation of spec tempearature related macros
(te measuretemp  etc) for  Lakeshore 330 /340 and Eurotherm 2000 controllers based on EPICS support.
  aalength.mac
uspec_column.mac
Scan/PV/control
trajectory.mac uses the EPICS trajectory scan support for Newport NM4005/XPS controller
trajectory  None
Scan/EPICS
uspec_column.mac
adds/removes user defined columns to scan data. uspec_column 
None
Tool
undulators.mac
general APS type undulator support.

None
Scan

Beamline Specific Macros
Package
Description
Help
Beamline/CAT
Dependency
undulators.mac
macros for scanning the  undulator.                                      
XOR/4ID              

temperature.mac
temperature control/scan macros.

XOR/4ID

ccd_xpcsscan.mac(Image Server V4.0 or later)
series_params_8idi.4.0
beamparams_8idi.4.0.mac

ccdserver.mac (Image Server V2.5 )
ccdserver.mac (Image Server Older Version)
series_params.mac

CCD control macros for XPCS at 8idi.

XOR/8ID

mythen_ixs.mac
 calculate IXS spectrum  from  the  MYTHEN detector  spectral from  energy scans for 9ID's  spectrometer  configuration
need mythen_strip.mac XOR/9ID

dafs_pnc.mac
macros that carry out enery scan for both kinematic and dynamic DAFS measurements

PNC/XOR

PI865.mac

control for the PI865 controller (not EPICS based)

NanoProbe/26

Two_monos.mac
switch the mono between the kohzu and PSL

UNI/33ID

merix.mac
calculate the IXS(inelastic x-ray scattering)spectrum  from the  strip-detector during an energy scan.
need stripdet.mac XOR/30ID

energy_epics_DCM.mac
UNICAT 33-BM-C double crystal monochromator and mirrors control macros

UNI/33BM


Other spec utilities

specIOC

A nice document written by Donald Walko at Sector 7 that shows how to use spec macro hardware for EPICS PVs.

Links to Beamline/CAT spec page

The following sectors/beamlines have their spec configuration and deployed macros in the spec SVN repository:


// THIS SITE NO LONGER EXIST //

Other sites at APS:
// XOR/BESSRC 's specfe
//


Please email any bug reports and comments to Pete Jemian.