Documentation for Intellect 4.11.0-4.11.3. Documentation for other versions of Intellect is available too.

Previous page Message Syntax (port 900)  Examples of Managing System Objects Next page


For working with messages, you may use the classes provided: Event and React, declared in the msg.h file.

Example of using the react class:

A message composed without using the classes

A message composed using the React class

CString msg = “CORE||DO_REACT|source_type<TELEMETRY>,source_id<1.1>, action<GO_PRESET>,params<2>,param0_name<preset>,param0_val<4>,

param1_name<tel_prior>,param1_val<2>”;

SendMsg(id,msg);

 

React react(“TELEMETRY”,”1.1”,”GO_PRESET”);

react.SetParamInt(“preset”,4);

react.SetParamInt(“tel_prior”,2);

SendMsg(id,react.MsgToString().c_str());

 

Note:

The msg.h and msg.cpp files are located in the Misc folder which is in the archive on page Intellect integration guide (HTTP API, IIDK, ActiveX, HTTP Server, Axxon Next)
  • No labels