Echelon Neuron User Manual

Page 69

Advertising
background image

Neuron Tools Errors Guide

61

NCC#

Description

134

Call only applies to bindable msg_tag [NCC#134]

The is_bound( ) built-in function returns TRUE (nonzero) if the requested

object has been bound. Otherwise, it returns FALSE. The function applies
only to network variables and to bindable message tags. A bindable

message tag is a message tag declared

without

the bind_info (nonbind)

option.

135

Parameter must be either a msg_tag name or an NV name [NCC#135]

The is_bound( ), addr_table_index( ), and nv_table_index( ) built-in

functions return TRUE (nonzero) if the requested object is bound

(connected). Otherwise, they return FALSE. The functions apply only to
network variables and to bindable message tags. A bindable message tag is

a message tag declared without the bind_info (nonbind) option.

136

Incorrect number of parameters [NCC#136]

The compiler outputs these diagnostics when the number of actual

parameters, or the actual parameter types, do not match those in the
function prototype and they cannot be automatically converted.

137

Parameter to ‘poll’ must be input network variable [NCC#137]

The built-in function poll( ) takes as its only argument the name of an input

network variable. See the

Functions

chapter of the

Neuron C Reference

Guide

for a definition of this function.

138

Invalid 2nd argument to ‘sleep’ [NCC#138]

The built-in function sleep( ) has an optional second parameter which may

be a previously declared Neuron C I/O object name or an I/O pin name. If

an I/O object name is specified, the object's primary pin will be monitored
for a wakeup condition. Alternately, a pin name may be explicitly specified.

In both cases, this pin must be one of IO_4, IO_5, IO_6, or IO_7.

139

Sleep wakeup I/O object must be an input pin on one of IO_4..IO_7 [NCC#139]

The built-in function sleep( ) has an optional second parameter which may

be a previously declared Neuron C I/O object name or an I/O pin name. If
an object name is specified, the object’s primary pin will be monitored for a

wakeup condition. The primary pin must be one of IO_4, IO_5, IO_6, or

IO_7.

140

Incorrect message object field reference [NCC#140]

The message objects, msg_out, msg_in, resp_out, and resp_in have no value

in themselves. They only have meaning when they are accessed using the

dot operator (.) and a field name. Only certain predefined field names
apply. The data field is an array, and access to it must be by index, except

when used with the memcpy( ) function.

Advertising