DOMAIN_ARRAY

The DOMAIN_ARRAY structure is defined in < inc_path/toolkit.h > as:

typedef struct domain_array
{
     int   domain_index;
     char  domain_name[TOOLKIT_DOMAIN_NAM_LEN + 1];
     int   start_addr;
     int   domain_size;
     int   addr_type;
     char  caching;
} DOMAIN_ARRAY; 

Where:

domain_index is the internal reference used to access the information about the given domain. If you use standard addressing, this field must match the domain index assigned to the domain name in domain.cfg .

For diagnostic data, valid values for domain_index are:

100 Protocol diagnostic bits
101 Protocol diagnostic bytes
102 Protocol diagnostic words
104 Protocol diagnostic double words
108 Protocol diagnostic 8-bytes

domain_name is the ASCII name used to reference the domain. If you use standard addressing, this name must match a domain name in domain.cfg .

start_addr is the numeric value corresponding to the first memory location within the domain.

domain_size is the number of bytes in the domain.

addr_type is the type of addressing used in the domain. Valid values are:

  • TOOLKIT_BIT
  • TOOLKIT_BYTE
  • TOOLKIT_WORD
  • TOOLKIT_4BYTE
  • TOOLKIT_8BYTE

caching is reserved for GE Intelligent Platforms use.