Hi there,
I am trying to learn how to drive suma from the command line by following the example from this video
[
www.youtube.com]
I am using this code (running from inside the SUMA folder of my subject)
#!/bin/tcsh
## Set up vars
set subj = P007_FR
set spec_file = {$subj}_lh.spec
set surf_vol = {$subj}_SurfVol+orig
## Set up afni vars
set portnum = `afni -available_npb_quiet`
setenv SUMA_DriveSumaMaxWait "30"
# Open surface
suma \
-echo_edu \
-npb $portnum \
-spec $spec_file \
-sv $surf_vol &
sleep 1
# Give side view for LH
DriveSuma \
-echo_edu \
-npb $portnum \
-com viewer_cont -key 'Ctrl+left'
But I am getting this error
Error SUMA_niml_call (SUMA_niml.c:597):
WriteCheck timed out (> 30000 ms).
-- Error SUMA_SendToSuma (SUMA_niml.c:4335):
Failed in SUMA_niml_call
-- Error DriveSuma (SUMA_DriveSuma.c:58):
Failed to initialize SUMA_SendToSuma
-- Error SUMA_SendToSuma (SUMA_niml.c:4363):
You must call SUMA_SendToSuma with action 0 before action 1.
No Communcation cleanup done.
oo Warning SUMA_ProcessCommand (SUMA_driver.c:628):
Failed in SUMA_SendToSuma
Communication halted.
Does anyone have any idea what I am doing wrong?
Thank you for your help,
Harriet