The KS Foundation sequences now supports the following releases without need to change the code:
psd_ksfoundation
repository contains the following directories: KSFoundation/common.mk
has a matching entry for your ESE top path/MR30.1_R01
). Many recent ESE distributions are already in common.mk
, so you may not need to do anything. Including this file in the Imakefile of each psd is already taken care of, and will set the RELEASE_NUM
(and PATCH_NUM) variable in the Imakefile, so the psds can compile for multiple ESE releases without need for changing the psd source code.setupESE
to set your ESE variables (see GE's EPIC installation manual). Releases from DV24 and later are supported with KS Foundation EPIC.
Each sequence that is shipped with KSFoundation "lives" in its own folder named ks***/
. You can copy one of those folders to use as a starting point for your sequence (e.g. ksgre_tutorial
is a simple one to start from). Here, is a step by step guide to generating your own sequence:
***.e
files and the Imakefile
s (you should have three files and one symbolic link remaining after this). ***.e
files to your sequence name. ksgre_tutorial
and replace with mysequence
).Imakefile
you need to change the PSD
name to your sequence name.***.e
file you need to make sure you include the implementation file to your sequence.***_implementation.e
file you need to change the psdname to your sequence name.mysequence
to do whatever you would like it to do. Most commonly you will only need to work in the ***_implementation.e
file that contain functions that get called by the functions in the ***.e
file. For more details on KSFoundation objects, looping structure, modules, functions etc. Check out the other HowTo
s and specific Documentation on this page.
Once you have built your sequence and successfully compiled it locally, you can try running it on your scanner following these steps:
/usr/g/research/
. Depending on your release version the folder where the binaries are stored after compilation with psdqmake clean all
can be called slightly different things. The binary for the HOST is in a folder called host
or host32
and is named by your sequence name (e.g. mysequence
) without any extension. The binary for the TGT is in a folder called tgt
, tgt_ice
, agp
, ice_agp
, tgt_mgd
or tgt_ice
, and will have an extension of either .mgd
or .ice
(e.g. mysequence.psd.ice
). For example, to copy files on MR30.1_R01 you would need to run the following commands (assuming the scanner is available on your network): /usr/g/bin/mysequence
(where the scanner looks for sequence binaries) to the binaries in /usr/g/research/mysequence
. To run from your local computer: mysequence
in Imaging Options...
->More
->PSD Name
on your scanner!