Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
-
xarow
- Posts:3
- Joined: Mon Sep 19, 2016 10:23 am
timedFunc() Function not defined
Post
by xarow »
I get the error "Function not defined" for the function timedFunc(), when I run the following script:
Code: Select all
int rc;
dpCreate( "windowTimedFunc", "_TimedFunc" );
dpSet("windowTimedFunc.interval", 10 );
dpSet("windowTimedFunc.syncTime", -1 );
rc = timedFunc( "workFunc", "windowTimedFunc" );
The code runs as script, and is called after an onClick event.
What can cause this problem?
Thanks in advance,
Xander
-
leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: timedFunc() Function not defined
Post
by leoknipp »
The CTRL function timedFunc() can only be used in a script executed by a CTRL manager.
In a script started in the UI the function cannot be used.
Best Regards
Leopold Knipp
Senior Support Specialist