I would try adding a pause between the launching of AFNI and the driver. You can do this in bash using the sleep() function, where sleep 2 would make it pause for 2 seconds. I think I use a value of 5 in my scripts.
Another thing you could do is have AFNI cycle through every combination that you want to view and save a picture of each, then you can quickly look through the pictures.
Edited 1 time(s). Last edit at 12/15/2014 11:24AM by Peter Molfese.