Hey CBee,
Thanks for the mail. I do have a sleep in my tcl/tk code. This is the function
that I am calling in my Tcl/tk.
-------------------------------------------------------------------
# # # # # # # # # # # # # # # # # # # # # # # # # #
# Play an Aleart
# # # # # # # # # # # # # # # # # # # # # # # # # #
proc playSound {} \
{
global playSnd
if {$playSnd > 0} \
{
bell
# after 1250 milli secs play a bell
after 1250 bell
playNext
}
#puts "in playSound -> $playSnd"
}
proc playNext {} \
{
after 1250 playSound
}
if you look at the code, I have a total of 2500 milli secs between each bells.
-------------------------------------------------------------------
On June 5, 2003 11:51 am, Beerse, Corni wrote:
> > -----Original Message-----
> > From: Matt Tharma [mailto:[EMAIL PROTECTED]
> >
> > Hey Guys,
> >
> > I have a tcl/tk application running on a linux box. This tcl/tk
>
> application
>
> > executes a "bell" in a loop when there is an alarm generated. when I use
> > a
> >
> > vnc server/viewer its all working fine and good. But when the alarm is
> > playing (bell) and I close the vncview (exit using the "x") and then I am
>
> not
>
> > able to connect to that session again.
> >
> > As a test, i took out the bell command in my tcl/tk and did the same
> > experiment, it works fine! I could colse the viewer
> >
> > Anyone know why this is happening? and if you guys know any fix for it..
>
> I think there is way to much bell in the display. Put a wait (`sleep 5 ` or
> such) in the loop and see if you can connect.
>
> On the other hand, at the desktop/viewer machine, do you have a bell
> converted to a sound? Use a verry short sound (or no sound at all).
>
>
>
> CBee
> _______________________________________________
> VNC-List mailing list
> [EMAIL PROTECTED]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list