Data Events - AMX NETLINX PROGRAMMING LANGUAGE Manual

Programming language
Table of Contents

Advertisement

Event Handlers
Channel Objects
Property Name
Channel.Device
Channel.Device.Number
Channel.Device.Port
Channel.Device.System
Channel.Channel
Channel.SourceDev
Channel.SourceDev.Number
Channel.SourceDev.Port
Channel.SourceDev.System
If the event handler is specified using an array for
can be used to determine which index in the array caused the event to run.

Data events

The data object is available to the data event handler as a local variable. An example data event is:
DATA_EVENT[DEVICE] or DATA_EVENT[DEV[ ]]
{
}
64
Type
DEV
INTEGER
INTEGER
INTEGER
INTEGER
DEV
INTEGER
INTEGER
INTEGER
COMMAND:
{
// COMMAND event handler
}
STRING:
{
// STRING event handler
}
ONLINE:
{
// ONLINE event handler
}
OFFLINE:
{
// OFFLINE event handler
}
ONERROR:
{
// ONERROR event handler
}
Description
Device
Device number
Device port
System number
Device channel
Source Device of Channel Event
Source Device Number
Source Device Port
Source Device System.
DEV, CHANNEL
, or a
DEVCHAN
NetLinx Programming Language Reference Guide
array,
GET_LAST

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Netlinx studio 2

Table of Contents