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 #120 background imageLoading...
Page #120 background image
Reserved Identifiers
104
NetLinx Programming Language Reference Guide
Keywords & Run-Time Library Functions (Cont.)
CANCEL_WAIT_UNTIL This keyword cancels a specified WAIT_UNTIL or TIMED_WAIT_UNTIL. Only
named WAIT_UNTIL and named TIMED_WAIT_UNTIL commands can be can-
celed.
CANCEL_WAIT_UNTIL '<wait name>'
CASE See SWITCH..CASE on page 153.
CHANNEL_EVENT The CHANNEL keyword defines a channel event handler. This type of handler is
invoked when an output change occurs on the specified device-channel and
can only be used in the DEFINE_EVENT section of the program.
CHANNEL[DEVICE,CHANNEL] or
CHANNEL[(DEVCHAN[ ])]
{
ON:
{
// Channel ON event handling
}
OFF:
{
// Channel OFF event handling
}
}
DEVICE refers to:
• Device – a single device number constant.
• D:P:S – a constant device specification such as TP:1:0.
CHANNEL refers to:
• Channel – a single channel number constant.
DEVCHAN[ ] refers to a device-channel array.
See the Event Handlers section on page 61 for more information on
CHANNEL_EVENTs.
CHAR This keyword defines an intrinsic data type representing an 8-bit unsigned inte-
ger. This data type is used with ANSI character strings.
CHARD Sets the delay between all transmitted characters to that specified in
100-microsecond increments.
The syntax:
CHARD-<time in 100 microsecond increments>
Example:
SEND_COMMAND device,'CHARD-100'
Sets a 10mS delay between all transmitted characters.
CHARDM Sets the delay between all transmitted characters to that specified in
1-millisecond increments.
The syntax:
CHARDM-<time in 1 millisecond increments>
Example:
SEND_COMMAND device,'CHARDM-100'
Sets a 10 mS delay between all transmitted characters.
CLEAR_BUFFER This command sets the contents of the specified text buffer to zero; therefore,
subsequent GET_BUFFER_CHAR calls will not return anything. The
CLEAR_BUFFER command does not modify the data in the buffer, just the inter-
nal length value.
CLEAR_BUFFER Buffer
CLEAR_BUFFER does not delete the data in the buffer; it only sets the length 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