Dear Mathieu,
Java is not a low-level language such as C. Thus, the time accuracy is
quite less stringent than the time accuracy present in other programming
languages. Furthermore, garbage collection (i.e. destruction of
variables because they are not being currently used) can happen at any
time by default.
So the short answer is that Java does not guarantee time accuracy. It is
an excellent programming language for object oriented programming, but
it is not the best option: Workarounds can be done, but it is very
difficult to work with Java when synchronization is of high priority anyway.
I hope this helps.
Yours sincerely,
Juan J.
Mathieu d'Acremont wrote:
> Dear All,
>
> I would like to use the Java Programming Language to display stimuli
> and record response in a fMRI study (and then of course use SPM to
> analyze the data). I wonder how synchronization with the scanner can
> be done with Java an if Java guarantee time accuracy. Does anybody
> have experience with Java in fMRI experiment?
>
> Best,
>
--
________________________________________________________
Juan J. Lull Noguera - jualulno_at_upvnet.upv.es
- [log in to unmask]
http://www.ibime.upv.es
[MI - Medical Imaging Area]
IBIME::Biomedical Informatics Group
UPV - Politechnical University of Valencia - Spain
________________________________________________________
[IM - Área de Imagen]
IBIME::Informática Biomédica
UPV - Universidad Politécnica de Valencia
________________________________________________________
"Education is the best provision for the journey to old age"
Aristotle
|