Configuring the build and monitoring settings

To monitor your cyclic executive application from HCL OneTest Embedded, you must enable the compilation and monitoring build settings and configure some parameters related to the communication and libraries that are used to monitor your application.

About this task

Procedure

  1. Right-click in your project node.
  2. Click Properties.
  3. Select C/C++ Build > Settings in the Properties dialog box.
  4. Click the Build TDP tab, click Target Deployment Port > Linker Options and set the appropriate library in Libraries to enable compilation with a socket library. The default library is ws2_32.lib for Visual compiler or -lwsock32 for GNU compiler. This option must be set for a socket communication mode only, see step8.
  5. From the Build Settings tab, click Settings > General > Selective instrumentation.
  6. In Build options, click Application profiling > ... and select Application profiling in the Build Options dialog box.
  7. From the Build Settings tab, click Settings > Application profiling > Monitoring and set Activate to yes. You can keep the default settings for the other parameters.
  8. Select the Communication type used to allow communication between HCL OneTest Embedded and the target application. SOCKET is the default communication mode. To use a customized communication mode, select USER.
  9. Select Yes in Cyclic read allowed to allow cyclic read of the global variables in your application.
    Note: You have to allocate memory to your application to complete cyclic read. If you can't allocate memory to your application, you must select No.
  10. Select the Default Frequency of the streaming process if you enabled a cyclic read. The default scale factor is set to 10. This is a multiplying factor that applies to the cyclic read frequency that is set in the function code with the pragma. This multiplying factor can also be changed in the monitoring view.
  11. Select Read only mode in Bitfields support if your application use bit fields. Select NONE if your application doesn't use bit fields in order to reduce memory consumption used by the runtime.
  12. Select the bit format in Bitfields Order: Little endian or Big endian order if you enabled Bitfields support.
  13. Click Apply.
    The monitoring feature is enabled and the settings are configured. You can start building your application.

What to do next

The next step is to build your project and then start your application.