Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

How to recur a bell, ..while waiting for operator to make selection


This topic is 4080 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Attached my little code snippet and alarm layout.. 

I have 2 buttons     to accept or postpone this triggered alarm...

I want to ring a bell sequence, to recur over & over.... until.... maybe as an option.... 

For waking up operator not near or at their desk.. possibly sleeping on the job!

To perform the alarm action..

 

How might i do this...

 

TIA    rod

Posted

Isn't there a plugin for shocks to the user's chair?...I believe it's buried in the OnTimer documentation...

Posted

LOL... gooosh you guys.. you make me laugh. 

RodM sometimes!,  ..well from some points of view,  most the times is just spaced out somewhere.. still in his pajamas

 

Now i am ATTACHED.

post-85391-0-84986100-1379628610_thumb.j

Posted

HI,

 

I kludge a couple loops together... they work... inbetween 5 second pause i can select from the 2 button, and do  either of the scripts.. but end up with a script still open?    message top?   to press cancel ///  looking for a smoother more elegant way..

 

And how do you cancel a script by name

 

Thanks.. so much

 

RodM

post-85391-0-34360100-1379646887_thumb.j

Posted

Rod -

 

Now i am ATTACHED.

 

… I find that in general, there definitely is something de-tached about you …  :D

 

I kludge a couple loops together […]

 

If you want an infinite loop, just don't specify an exit condition (and make sure the script can be terminated by another mean).

 

Try this; it should take care of the “Accept” part, but I wasn't sure what “Postpone” is supposed to do, and I obviously don't know how the process fits into the larger workflow.

 

Either way, the narrative of the script should be easier to follow …

RingMyBell_eos.fmp12.zip

Posted

Thanks , look at your code

.. sort of what I have already.. yours in within one script  

 

 

Wondering..

If there a way to exit a infinite loop and close the script behind you?

And for me inside the loop,  I click button 1 or 2   to exit,  run a different script

 

My example... loop script is not closed    I must click some FM button top 'Continue or Cancel'    what is that?   is there a command to do that ?

 

Thanks again..

Posted

The Halt Script (script step), can run via a button on the layout (or be a visible script). It stops all scripts. (Which is why you may not want to use it real often in other scripts, as it will stop all that are running.)

Posted

finished.. works.. well

This topic is 4080 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.