Orchestra C - Code example

I checked the Orchestra Example model in 'C' code located in the following directory:

C:\OPAL-RT\RT-LAB8.1.4\Examples\Features\Orchestra\C_Code

This model is running in real time, But I am not able to view the results in telnet session window as in slide 39. I typed the command "./Orchestra_ExternalListener" in the telnet session window as in slide 39 but it is showing as in attchment2. Please suggest me to solve this problem

Question

How do you start the Orchestra_ExternalListener executable for Orchestra C-Code example?

Answer

The python script target_preload.py included in the model directory will load the Orchestra_ExternalListener executable file.

So you will not need to run this executable manually as shown in the power point slide

This is the python command.

ScriptStartProcess? ("./Orchestra_ExternalListener")

If you comment out this python command from the python script, you can run this execute command from your telnet session for you target

In order to start the executable:

cd //orchestra_sm_frame1/

./Orchestra_ExternalListener

This is the compiler command in the Simulink model for this example:

 

  • Orchestra C Code Compilation Options:


  • Orchestra ExternalListener telnet target: