Compile Operations
111
NetLinx Studio (v2.4 or higher)
Device values must be
equal
In a range specification, the devices (or their defined identifi-
ers) must be equal. For example, ([1,1]..[1,5]) is valid;
([1,1]..[2,5]) is not.
Duplicate symbol
Duplicate definitions of variables or constants are found. All
variables and constants must have unique identifiers.
Evaluation stack overflow
Evaluation stack underflow
The expression is too complicated. Try breaking it up into
smaller pieces.
Identifier expected
The compiler is expecting an identifier after a #DEFINE state-
ment or after an integer declaration in the
DEFINE_VARIABLE section.
Identifier is not an array type
A non-array variable was treated as an array.
Include file not found
An INCLUDE statement was encountered, but the specified
Include file could not be found.
Invalid Include file name
A string literal enclosed in single quotes must follow the
INCLUDE keyword.
Library file not found
The library file containing the specified SYSTEM_CALL could
not be found.
Maximum string length
exceeded
String literals are limited in length to 132 characters, including
spaces.
Must be char array
reference
An array type variable was expected in CREATE_BUFFER,
CREATE_MULTI_BUFFER, or CLEAR_BUFFER.
Must be integer reference
The identifier in question must be an integer. This error occurs
when the third parameter of CREATE_LEVEL is an array or
array element.
NetLinx Compiler failed
RT: -2147417851 ST:1
This error means that the compiler cannot find the line num-
ber to even check what type of error has occurred, so it gives
no details on the cause.
If you get this non-descriptive error when compiling and the
code contains modules, check to make sure the module
parameters are the right type. If you're trying to pass in a one-
dimension array where the module requires a two-dimension
array, or a CHAR instead of an INTEGER, etc., this error will
occur.
Out of memory
The compiler has run out of memory. Free up memory either
by removing any pop-up programs or drivers, by using
extended memory, or by breaking your program into one or
more Include files.
Parameter mismatch
in CALL
A value or variable passed to a CALL as a parameter is of the
wrong type as defined by the DEFINE_CALL statement.
PROGRAM_NAME must be
on line 1
Move the PROGRAM_NAME= statement to the first line of
the program.
PUSH/RELEASE not allowed
within PUSH/RELEASE
A PUSH or RELEASE statement was found within a block of
code headed by a PUSH or RELEASE statement.
PUSH/RELEASE not allowed
within WAIT
PUSH_CHANNEL not allowed
within WAIT
RELEASE_CHANNEL not
allowed within WAIT
PUSH_DEVICE not allowed
within WAIT
RELEASE_DEVICE not allowed
within WAIT
These keywords are not allowed in a section of code which
will be executed due to a WAIT keyword.
Summary of Contents for NETLINX STUDIO V2.4
Page 1: ...instruction manual Software NetLinx Studio v2 4 or higher ...
Page 16: ...NetLinx Studio v2 4 or higher 4 NetLinx Studio v2 4 or higher ...
Page 32: ...The NetLinx Studio v2 4 Work Area 20 NetLinx Studio v2 4 or higher ...
Page 44: ...Working With Workspace Files 32 NetLinx Studio v2 4 or higher ...
Page 88: ...Working With Systems and System Files 76 NetLinx Studio v2 4 or higher ...
Page 118: ...Programming 106 NetLinx Studio v2 4 or higher ...
Page 152: ...Working With Online Devices 140 NetLinx Studio v2 4 or higher ...