AMX NETLINX PROGRAMMING LANGUAGE Manual page 91

Programming language
Table of Contents

Advertisement

LONG TimeArray[100]
INTEGER iLoop
(***********************************************************)
(*
(***********************************************************)
DEFINE_START
(***********************************************************)
(*
(***********************************************************)
DEFINE_EVENT
TIMELINE_EVENT[MY_LINE_1]
{
switch(Timeline.Sequence)
{
case 1: { SEND_COMMAND dvPanel,"'TEXT1-1 1'"
case 2: { SEND_COMMAND dvPanel,"'TEXT1-1 2'"
case 3: { SEND_COMMAND dvPanel,"'TEXT1-1 3'"
case 4: { SEND_COMMAND dvPanel,"'TEXT1-1 4'"
case 5: { SEND_COMMAND dvPanel,"'TEXT1-1 5'"
}
SEND_STRING
',ITOA(Timeline.Sequence), ' Time= ',ITOA(Timeline.Time),
',ITOA(Timeline.Relative)"
}
TIMELINE_EVENT[MY_LINE_2]
{
switch(Timeline.Sequence)
{
case 1: { SEND_COMMAND dvPanel,"'TEXT2-2 1'"
case 2: { SEND_COMMAND dvPanel,"'TEXT2-2 2'"
case 3: { SEND_COMMAND dvPanel,"'TEXT2-2 3'"
case 4: { SEND_COMMAND dvPanel,"'TEXT2-2 4'"
case 5: { SEND_COMMAND dvPanel,"'TEXT2-2 5'"
}
SEND_STRING
',ITOA(Timeline.Sequence), ' Time = ',ITOA(Timeline.Time),
',ITOA(Timeline.Relative)"
}
(***********************************************************)
(*
(***********************************************************)
NetLinx Programming Language Reference Guide
STARTUP CODE GOES BELOW
THE EVENTS GOES BELOW
dvDebug,"'Timer ',ITOA(Timeline.ID),' Event
'Repetition = ',ITOA(Timeline.Repetition),' Relative =
dvDebug,"'Timer ',ITOA(Timeline.ID),' Event
' Repetition = ',ITOA(Timeline.Repetition),' Relative =
THE ACTUAL PROGRAM GOES BELOW
Event Handlers
*)
*)
}
}
}
}
}
}
}
}
}
}
*)
Continued
75

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents