Skip to content

Instantly share code, notes, and snippets.

@stuartcampbell
Created November 15, 2017 22:29
Show Gist options
  • Save stuartcampbell/6e9dc2b512d2aa8187280d122608b28e to your computer and use it in GitHub Desktop.
Save stuartcampbell/6e9dc2b512d2aa8187280d122608b28e to your computer and use it in GitHub Desktop.
XSPRESS2 setup/collection script from a facility far far away...
xspress2 set-up "xsp1" $14 $14 $5 $5 0 $ffff $100 $8401
#xspress2 dump-regs "xsp1" -1
tfg generate 1 1 0.01 300 0
clear 0
enable 0
tfg start
echo "Starting run ..."
tfg wait
echo "Stopping run ..."
disable 0
#xspress2 dump-regs "xsp1" -1
read 0 0 0 65536 9 1 from 0 to-local-file "test.dat" raw
read 0 0 0 9 2 1 from 1 to-local-file "scalers.dat" raw intel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment