Syntax, Example, Access_domain( ) function – Echelon Neuron C User Manual
Page 91: Access_nv( ) function

Neuron C Reference Guide
71
Syntax
#include
const alias_struct *access_alias (int
index
);
Example
#include
alias_struct alias_copy;
void f(void)
{
alias_copy = *(access_alias(2));
}
access_domain( )
Function
The access_domain( ) function returns a const pointer to the domain structure
that corresponds to the index parameter. This pointer can be stored, used to
perform a structure copy, or used in other ways common to C pointers, except
that the pointer cannot be used for writes.
See the ISO/IEC 14908 (ANSI/EIA/CEA-709.1)
Control Network Specification
for
a description of the data structure.
Syntax
#include
const domain_struct *access_domain (int
index
);
Example
#include
domain_struct domain_copy;
void f(void)
{
domain_copy = *(access_domain(0));
}
access_nv( )
Function
The access_nv( ) function returns a const pointer to the network variable
configuration structure that corresponds to the index parameter. This pointer
can be stored, used to perform a structure copy, or used in other ways common to
Neuron C pointers, except that the pointer cannot be used for writes.
See the ISO/IEC 14908 (ANSI/EIA/CEA-709.1)
Control Network Specification
for
a description of the data structure.
Syntax
#include
const nv_struct *access_nv (int
index
);