EasyManuals Logo

AMX NETLINX STUDIO V2.4 User Manual

AMX NETLINX STUDIO V2.4
200 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #93 background imageLoading...
Page #93 background image
Programming
81
N
etLinx Studio (v2.4 or higher)
Code Wizard Dialog - Channel Tab
The items in the Channel tab are described below:
Device The device name used during code generation. This name may
appear in a DEVCHAN definition, BUTTON_EVENT, PUSH,
RELEASE or feedback assignment statements depending on the
platform and options selected.
From, To, Total The button range used during code generation. The range is 1 -
1000. You may change any of these values; the others will adjust
automatically. A value of 0 (zero) in the From field will generate an
"all button" handler. In this case, code generation cannot support
arrays or feedback.
Array Name The array name used for generating DEVCHAN or INTEGER array
for button ranges.
Hold Time This value is used when generating the HOLD statement.
Comment This value is used on the lines before the array definition,
BUTTON_EVENT, PUSH, and RELEASE and feedback statements
as determined by the options. Comments in NetLinx are always line-
style comments (i.e. //).
Insert Once you have made the relevant selections on this tab, click this
command button to insert the specified code into the file.
On Generate ON statements
Off Generate OFF Statements
No Arrays Channel ranges will be generated without using arrays, i.e. multiple
CHANNEL_EVENTs will be generated.
Use DEVCHAN Channel ranges will be placed in a DEVCHAN array named Array
Name using the Device and channel range defined as From
through To in the DEFINE_VARIABLE section. A single
CHANNEL_EVENT statement referencing Array Name will be gen-
erated. Note that when Use DEVCHAN is selected, GET_LAST() is
selected and grayed out. This option is not available if generating
code for Axcess.
Use INTEGER Channel ranges will be placed in an INTEGER array named Array
Name using the channel range defined as From through To in the
DEFINE_VARIABLE section. A single CHANNEL_EVENT state-
ment referencing Device and Array Name will be generated.
Channel Index/GET_LAST() This option will include a calculation for the channel index using a
mathematical calculation, CHANNEL.CHANNEL - From, for non-
array channel ranges and a function call to GET_LAST(),
GET_LAST(Array Name), for array channel ranges. The channel
index calculation is used if generating code for Axcess.
SWITCH/CASE This option will include a SWITCH/CASE construct under the ON
and/or OFF statements. The SWITCH will be based on the Chan-
nel Index. Note that when SWITCH/CASE is selected, the Channel
Index option is selected, and grayed out.
Stacked This option will cause each channel in the Array Name definition to
be generated on its own line with an empty comment at the end of
the line. If this option is not selected, eight channels will be gener-
ated on each line with an empty comment above the line.
Device The device name used during code generation. This name may
appear in a DEVCHAN definition or CHANNEL_EVENT statement
depending on the platform and options selected.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMX NETLINX STUDIO V2.4 and is the answer not in the manual?

AMX NETLINX STUDIO V2.4 Specifications

General IconGeneral
BrandAMX
ModelNETLINX STUDIO V2.4
CategorySoftware
LanguageEnglish

Related product manuals