Code Wizard Dialog - Data Tab - AMX NetLinx Studio Instruction Manual

Netlinx design v3.3 or higher
Table of Contents

Advertisement

Programming
Code Wizard - Level tab Options (Cont.)
Device
From, To, Total
Array Name
Value/Variable
Name
Comment
Insert

Code Wizard dialog - Data tab

The advanced options available for Data_Events in the Data tab of the Code Wizard dialog (FIG. 169) are described
below:
FIG. 169
Code Wizard dialog - Data tab
Code Wizard - Data tab Options
Online
Offline
OnError
String
Command
Create Buffer
Process Buffer
Device
94
The device name used during code generation. This name may appear in a DEVLEV definition,
LEVEL_EVENT, CREATE_LEVEL or SEND_LEVEL statements depending on the platform and options
selected.
The level 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
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.
The array name used for generating DEVLEV or INTEGER array for level ranges.
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...
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. //).
Once you have made the relevant selections on this tab, click this button to insert the specified code
into the file.
Generate ONLINE statements.
Generate OFFLINE statements.
Generate ONERROR Statements.
Generate STRING statements.
Generate COMMAND Statements.
Define a buffer and connect it to a device using CREATE_BUFFER, in the DEFINE_START section.
Generate a construct for detecting incoming strings.
If generating code for NetLinx, this code is placed in the STRING section of the DATA_EVENT.
The device name used during code generation. This name may appear in a variable declaration,
ONLINE/OFFLINE construct, DATA_EVENT or CREATE_BUFFER statements depending on the
platform and options selected.
NetLinx Studio - Instruction Manual

Advertisement

Table of Contents
loading

Table of Contents