Group Abstract Group Abstract

Message Boards Message Boards

0
|
5K Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

I want a specific time to run an statement

(Asen = #) & / @ Range [Pi / 2, Pi, 0.001]

I want to run the above statement at a specific time. Is this possible?

Thank you

POSTED BY: Ernesto Espinosa
4 Replies

Dear Ernesto,

you might be looking for the function RunScheduledTask. The examples should be particularly useful.

Best wishes,

Marco

PS: Dear Sean, sorry. I don't know what happened. When I posted this your post did not show up in my browser.

POSTED BY: Marco Thiel

Have you taken a look at ScheduledTask?

https://reference.wolfram.com/language/ref/CreateScheduledTask.html

I'm not sure what your code is doing. It's sorta strange to Map a function like (Set). Are you asking how you can have the Map assign the different values to "Asen" at different times?

POSTED BY: Sean Clarke

I'm trying to imitate by code the motion and time of the Animator statement, to present students the different stages of the movement.

(ASen = #) & / @ Range [Pi / 2, Pi, 0.001]

Here the Dynamic ASen variable is the parameter of the Animator statement, and I'm using this variable to execute the movement in context.

I need to run this code is a specific time so that the student can see the movement. (The same time that Animator use, more or less.)

I do not know if I need RunScheduledTask or CreateScheduledTask (it uses seconds). Probably is another thing that I'm looking for. Thanks Sean.

POSTED BY: Ernesto Espinosa

I advance step by step.

I have the same code but the third Button is not working. Why?

Attachments:
POSTED BY: Ernesto Espinosa
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard