WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-03-2011, 10:33 AM
jincheker jincheker is offline
Member
 
Join Date: Oct 2009
Posts: 15
viz.info message delay

Hi, everyone

I have a question. I define a function in which, a dll file was called, but before calling dll, i would like to display a message on screen.

The code structure is like this:

Code:
status_field=vizinfo.add('Ready')

def foo():
    status_field.message("Dll Called")
    ans = load_dll.calculate()

foo()
The problem is, the message is always displayed AFTER all calculation in dll was done. But I want message shown BEFORE load dll

Can anyone give me an idea how can I solve this problem? Thanks
Reply With Quote
  #2  
Old 08-03-2011, 03:16 PM
Jeff Jeff is offline
WorldViz Team Member
 
Join Date: Aug 2008
Posts: 2,466
You could create a small delay between the message being displayed and the dll call. Either use a timer function or place your code within a task function and use viztask.waitTime.
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
Limit vizinfo message to only one window? hotspur1 Vizard 1 05-07-2010 02:13 PM
Timed changing message on screen Saz Vizard 3 06-17-2009 03:14 AM
character limit in viz.input message moooh Vizard 3 04-15-2009 05:27 PM
Error Message Jerhy Vizard 1 02-28-2006 01:59 PM
error message vrlab Vizard 1 07-26-2004 01:56 PM


All times are GMT -7. The time now is 03:32 PM.


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