EasyManuals Logo

AMX NETLINX PROGRAMMING LANGUAGE User Manual

AMX NETLINX PROGRAMMING LANGUAGE
246 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 #162 background imageLoading...
Page #162 background image
Reserved Identifiers
146
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
REBUILD_EVENT() (Cont.) {
SET_LENGTH_ARRAY(nBtns,4000)
REBUILD_EVENT()
}
BUTTON_EVENT[dvTP,nBtns]
{
PUSH:
{
// ...
}
}
// end
REDIRECT_STRING This keyword is used to pass all strings from device 1 to device 2 and all
strings from device 2 to device 1. This is called a redirection and you can
assign up to eight at one time.
REDIRECT_STRING (Number, DEV1, DEV2)
The parameter Number identifies the particular redirection (1-8). To cancel a
redirection, pass zero for Device1 and Device2.
Note: Redirections are lost if system power is turned off.
RELEASE This keyword declares a block of code to be executed when a release event is
received for the associated device and channel.
RELEASE [DEVICE,CHANNEL]
RELEASE [DEVCHAN[ ]]
{
// statements
}
This keyword also defines a section in a BUTTON_EVENT handler for process-
ing RELEASE events.
RELEASE_CHANNEL This keyword contains the number of the channel that was just turned off due
to an input change. The value remains valid for one pass through mainline.
The inactive state of this variable is all fields equal to zero.
RELEASE_DEVCHAN This keyword contains the device-channel (a DEVCHAN structure) that was just
turned off due to an input change. Individual fields of this DEVCHAN structure
can be accessed using dot-operator syntax, as shown below:
RELEASE_DEVCHAN.Device
RELEASE_DEVCHAN.Device.Number
RELEASE_DEVCHAN.Device.Port
RELEASE_DEVCHAN.Device.System
RELEASE_DEVCHAN.Channel
These fields remain valid for one pass through mainline. The inactive state of
this variable is all fields equal to zero.
RELEASE_DEVICE This system variable contains the number of the device associated with the
channel that was just turned off due to an input change. The value remains
valid for one pass through mainline. The inactive state of this variable is all
fields equal to zero.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the AMX NETLINX PROGRAMMING LANGUAGE and is the answer not in the manual?

AMX NETLINX PROGRAMMING LANGUAGE Specifications

General IconGeneral
BrandAMX
ModelNETLINX PROGRAMMING LANGUAGE
CategorySoftware
LanguageEnglish

Related product manuals