Custom script timer issue

Christie Widget Designer Version 6 - Q&A

Moderator: Moderator Group

Forum rules
When asking make sure to include the operating system and the revision of Widget Designer you are using.

Custom script timer issue

Postby azman » Tue Mar 14, 2017 5:02 am

Hello,

I'm experiencing some inconsistency with the ScriptTimer

The Script timers seem to stop working but its appears a little random,
I'm finding that the 'active' blue highlight is not triggering, as if the interval is not counting down? & that the scripts are not executing.
I've tired to isolate what is causing the issue & it seems to occur when updating the interval time (but not always!)
Once the timers stop working, I can't get them back but can create new timers that appear ok.

I've found that the Script "WDScriptTimerStart(ID)" doesn't appear to work, or actually 'Stops' the timer? (when triggered from a Custom script button),

Regards

Az
Last edited by azman on Wed Mar 15, 2017 12:05 pm, edited 2 times in total.
azman
 
Posts: 86
Joined: Tue Feb 02, 2010 11:43 pm

Re: Custom script timer issue

Postby azman » Tue Mar 14, 2017 7:10 am

I think I have narrowed down the issue I'm experiencing,

There are new scripts (or scripts I've not used/needed before) "WDScriptTimerPause(ID)" & "WDScriptTimerResume(ID)",

I'm finding that some how my script timers are ending up in a "Pause" state rather than "Stop"
When the script timer is in a "Pause" state the only way to re-activate the timer is with a "resume" command.

What is puzzling is that I was only every using "Start" & "Stop" Commands when the problem occurred but it was only when i tried the 'resume' command I was able to re-activate the Script timer??
azman
 
Posts: 86
Joined: Tue Feb 02, 2010 11:43 pm

Re: Custom script timer issue

Postby azman » Tue Mar 14, 2017 8:38 am

I think i solved the issue...or at least got a working result.

If the 'Run Once' button is selected it puts the Script Timer into a "pause" mode,
I don't recall this from earlier version but may not have used this feature.

I have noticed that the "WDScriptTimerStart(ID)" script doesn't change the Script Timer button look (like when its clicked or when the 'start' button in the item properties is pressed),
This added to the confusion.
azman
 
Posts: 86
Joined: Tue Feb 02, 2010 11:43 pm

Re: Custom script timer issue

Postby azman » Tue Mar 14, 2017 9:09 am

One more twist.....

The act of 'Ctrl-S' puts the Script Timers into a 'Pause' mode or disables it some how??? :?

To get around it I'm clicking the Script Timer button (so it is show the 'click' button graphic), then sending WDScripttimerResume(ID) then sending WDScripttimerStop(ID).
This is getting back to a state where I can just send Start & Stop commands.

Or I can reload the project.
azman
 
Posts: 86
Joined: Tue Feb 02, 2010 11:43 pm

Re: Custom script timer issue

Postby liamohanlon » Sun Sep 24, 2017 8:06 pm

I am having this exact same issue in the latest release (6322). Definitely seems to be related to saving. Every time I hit save, a random assortment of my script timers stop working.

Any updates on this?
liamohanlon
 
Posts: 5
Joined: Thu Aug 20, 2015 10:14 pm
Location: Baltimore, MD

Re: Custom script timer issue

Postby Mike Mengen » Mon Sep 25, 2017 12:50 pm

Hi,
You're right. I will forward that to our Developers.
You can reload the Page with F5 and Save again with Ctlr+S then it will work again.

Regards
User avatar
Mike Mengen
 
Posts: 15
Joined: Thu Aug 13, 2015 1:50 pm


Return to Widget Designer V6

Who is online

Users browsing this forum: No registered users and 1 guest

cron