WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 11-02-2010, 02:22 PM
Kaminski Kaminski is offline
Member
 
Join Date: Nov 2010
Posts: 36
program is freezing

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
Reply With Quote
  #2  
Old 11-02-2010, 02:33 PM
Kaminski Kaminski is offline
Member
 
Join Date: Nov 2010
Posts: 36
Also I have made sure that the virus scan is disabled as well as the screen saver/sleep mode.
Reply With Quote
  #3  
Old 11-04-2010, 11:24 AM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,471
How are you getting the serial data? Try using a director function, which will run in a separate thread, to read in that data.
Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How can i import the code form a Java program to Vizard? alberto_redo Vizard 1 10-07-2010 12:18 PM
How do I run a destructor before the end of the program? EnvisMJ Vizard 3 12-14-2009 05:17 PM
changing the gain of a joystick during a program Saz Vizard 4 06-25-2009 03:49 AM
Get position data in an own little program Researcher Precision Position Tracker (PPT) 2 02-01-2006 02:55 AM
Loading .3ds-Files without interrupting Program flow Stefan Vizard 10 06-08-2005 04:44 PM


All times are GMT -7. The time now is 04:24 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC