PDA

View Full Version : program is freezing


Kaminski
11-02-2010, 02:22 PM
Hi all,

I am having a strange error with a script and am stumped as to what is happening. Any advice would be appreciated.

I am running a Vizard script that communicates through a serial port with an fMRI scanner and a button box. I have run the program 6 times, and 3 of those times the graphics froze. There are no runtime errors and Vizard doesn't detect (or output) button presses. It seems to happen completely randomly, except always at the same spot of a looping trial. I am running Vizard 3.0 on a Windows XP machine. I realize that it is hard to help without seeing the code but I was wondering if anyone has had any similar issues?

thanks,
-B

Kaminski
11-02-2010, 02:33 PM
Also I have made sure that the virus scan is disabled as well as the screen saver/sleep mode.

Jeff
11-04-2010, 11:24 AM
How are you getting the serial data? Try using a director function, which will run in a separate thread, to read in that data.