Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently May 17th, 2024, 12:03 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Strange problem with ticker trigger
PostPosted: June 11th, 2015, 7:05 am 
Offline

Joined: May 16th, 2008, 4:50 pm
Posts: 368
Location: Berghem The Netherlands
Opus: Opus Pro 9.75
OS: Windows 10
System: `HP
I made a counter to help me counting penalties for showjumping.
You can set the time that's allowed, and after that time it must count a penalty every 4 seconds.
The first penalty must show when the allowed time is reached.

This works great when i use is the second time and later, but when i use it the first time it takes 4 seconds to show the first penalty.
I solved the problem by adding 1 on show, but the second time it counts 2 points directly and that's not what i need so i deleted that option.
Hopefully someone can help me with this problem

To use this tool you have to enter the number of seconds in "Toegestane Tijd" and then only use the spacebar to step through the pages.
This is the URL:
http://csnmedia.nl/tijdfouten/

_________________
Opus Pro v9.75
Windows 10 on HP EliteBook i7
http://www.csnmedia.nl


For this message Ad Mulders has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: Re: Strange problem with ticker trigger
PostPosted: June 12th, 2015, 10:20 pm 
Offline
Godlike
Godlike

Joined: November 12th, 2005, 1:56 am
Posts: 1474
Location: SFBay Area
Opus: OpusPro v9.0x, & Evol.
OS: Vista32
System: Core 2 duo 2Ghz, RAM 3GB, Nvidia Go 7700 - laptop
csnmedia wrote:
....after that time it must count a penalty every 4 seconds.
The first penalty must show when the allowed time is reached.

This works great when i use is the second time and later, but when i use it the first time it takes 4 seconds to show the first penalty.


It is difficult for me to follow, as it is rather abstract.
Let's say the time-interval to meet or beat for the 1st leg (or milestone) is set to 7 sec.
So I take it that 0 to 6.99 seconds the penalty is 0 ??

If the set-time is always greater-than 4 secs, this approach may work: ( * is by program )
__User sets the interval time.
__User presses spacebar.... starts the ticker.
* set a variable xyz to: interval time - 4
* Show the penalty score --- initially EQ 0 (or you can Test a condition to allow Show)
* test ticker value ---- when ticker EQ xyz, start your penalty LOOP (of 4 seconds)
--- within the Loop, or after the Loop (depending how you structured it) INCREMENT the penalty count.
--- you need some method to EXIT the Loop if the User presses the spacebar (before the 4 sec penalty gets counted)
__When User has pressed the spacebar ---- *proceed to next segment or milestone ( ??? )


The above could be totally not-right and I've misunderstood the intended steps/logic. :(

Are you creating this using Actions, or using scripting?

_________________
_good things come to those who wait(0)_


For this message Lar_123 has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Majestic-12 [Bot] and 7 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group