Code Wizard Dialog - Data Tab - AMX NETLINX STUDIO V2.4 Instruction Manual

Table of Contents

Advertisement

Code Wizard Dialog - Data Tab

The advanced options available for Data_Events (in the Data tab of the Code Wizard dialog) are
described below:
NetLinx Studio (v2.4 or higher)
From, To, Total
The level range used during code generation. The range is 1 - 1000.
You may change any of these values; the others will adjust automati-
cally. A value of 0 (zero) in the From field will generate an "all level"
LEVEL_EVENT handler. In this case, code generation cannot support
arrays.
Note: The range setting (1-1000) affects the load placed on the CPU
at compile time. Higher range settings may result in slower compile
operations.
Array Name
The array name used for generating DEVLEV or INTEGER array for
level ranges.
Value/Variable Name
The array name or value used for generating CREATE_LEVEL or
SEND_LEVEL statements. If generating code for a level range on
NetLinx, this variable will be created as an array. If generating code for
a level range on Axcess, this variable will be created as a series or
variable starting with this name, i.e. Variable Name 1, Variable Name
2, etc...
Comment
This value is used on the lines before the array definition,
LEVEL_EVENT, CREATE_LEVEL, and SEND_LEVEL 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 com-
mand button to insert the specified code into the file.
Online
Generate ONLINE statements. In Axcess, a construct for detecting device online
status is generated.
Offline
Generate OFFLINE statements. In Axcess, a construct for detecting device
offline status is generated.
OnError
Generate ONERROR Statements (not supported in Axcess).
String
Generate STRING statements (not supported in Axcess).
Command
Generate COMMAND Statements (not supported in Axcess).
Create Buffer
Define a buffer and connect it to a device using CREATE_BUFFER, in the
DEFINE_START section.
Process Buffer Generate a construct for detecting incoming strings. If generating code for
NetLinx, this code is placed in the STRING section of the DATA_EVENT. If gen-
erating code for Axcess, this code is placed in the DEFINE_PROGRAM section.
Device
The device name used during code generation. This name may appear in a vari-
able declaration, ONLINE/OFFLINE construct, DATA_EVENT or
CREATE_BUFFER statements depending on the platform and options selected.
Comment
This value is used on the lines before the variable declaration, ONLINE/
OFFLINE construct, DATA_EVENT or CREATE_BUFFER statements as deter-
mined 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 but-
ton to insert the specified code into the file.
Programming
83

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents