Timeline question
TUTech
Junior Member
This works:
TIMELINE_EVENT[TL_Warming]
{
STACK_VAR INTEGER nCount
nCount = 30
SEND_COMMAND dvTP_Projector,"'^TXT-13,0,',itoa(nCount-timeline.repetition)";
IF (timeline.repetition * timeline.time > nCount * 1000)
{
TIMELINE_KILL(TL_Warming)
}
}
This doesn't:
IF(timeline.repetition > nCount)
{
Timeline_Kill(TL_Warming)
}
It's the same thing????
TIMELINE_EVENT[TL_Warming]
{
STACK_VAR INTEGER nCount
nCount = 30
SEND_COMMAND dvTP_Projector,"'^TXT-13,0,',itoa(nCount-timeline.repetition)";
IF (timeline.repetition * timeline.time > nCount * 1000)
{
TIMELINE_KILL(TL_Warming)
}
}
This doesn't:
IF(timeline.repetition > nCount)
{
Timeline_Kill(TL_Warming)
}
It's the same thing????
Comments
-
Let's see where you start the timeline. That might give the clue. Especially the long array that tells us the timeline events.
If your goal is to create a 30 second counter just make the array TL_Time[]={1000}, create the TL so it repeats, use if(timeline.repetition>30){ // kill it} and call it done.
Categories
- All Categories
- 2.5K AMX General Discussion
- 922 AMX Technical Discussion
- 514 AMX Hardware
- 502 AMX Control Products
- 3 AMX Video Distribution Products
- 9 AMX Networked AV (SVSI) Products
- AMX Workspace & Collaboration Products
- 3.4K AMX Software
- 151 AMX Resource Management Suite Software
- 386 AMX Design Tools
- 2.4K NetLinx Studio
- 135 Duet/Cafe Duet
- 248 NetLinx Modules & Duet Modules
- 57 AMX RPM Forum
- 228 MODPEDIA - The Public Repository of Modules for Everyone
- 943 AMX Specialty Forums
- 2.6K AMXForums Archive
- 2.6K AMXForums Archive Threads
- 1.5K AMX Hardware
- 432 AMX Applications and Solutions
- 249 Residential Forum
- 182 Tips and Tricks
- 146 AMX Website/Forums