Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Nächste ÜberarbeitungBeide Seiten der Revision
embedded_systems:ethercat:test_acontis_stack [2019-02-12 11:19] mgehrig2embedded_systems:ethercat:test_acontis_stack [2019-02-12 16:03] mgehrig2
Zeile 1: Zeile 1:
 ====== Test Acontis Stack ====== ====== Test Acontis Stack ======
  
-===== Run a test application =====+===== Run demo application classB =====
 {{:embedded_systems:ethercat:ec-master_classb.pdf|EC-Master_ClassB.pdf}} 2.4.1 {{:embedded_systems:ethercat:ec-master_classb.pdf|EC-Master_ClassB.pdf}} 2.4.1
  
Zeile 17: Zeile 17:
       * Mode 1 = Polling mode       * Mode 1 = Polling mode
   * **-perf** enables performance measurements (Enable max. and average time measurement in μs for all EtherCAT jobs)   * **-perf** enables performance measurements (Enable max. and average time measurement in μs for all EtherCAT jobs)
 +
 +More detailed explanation {{:embedded_systems:ethercat:ec-master_classb.pdf|EC-Master_ClassB.pdf}} 2.4.2
  
 This demo will initialize the EtherCAT master. This demo will initialize the EtherCAT master.
Zeile 74: Zeile 76:
 034318 : Master state changed from <OP> to <INIT> 034318 : Master state changed from <OP> to <INIT>
 035384 : EcMasterDemo stop. 035384 : EcMasterDemo stop.
- 
 </code> </code>
 +
 +If the output looks similar to the example above, then the demo runs successfully.
  
 ==== Possible problems ==== ==== Possible problems ====
 See troubleshooting process [[embedded_systems:ethercat:troubleshooting:application_does_not_start|The application does not start]] See troubleshooting process [[embedded_systems:ethercat:troubleshooting:application_does_not_start|The application does not start]]
  
 +===== Run demo application classA =====
 +Before you run this demo make shure, you can run the classB demo successfully.
  
-===== Measure stack performance =====+<code> 
 +cd <classA_path>/Bin/Linux/x64 
 +cp <classB_path>/Bin/Linux/x64/libeml8254x.so ./ 
 +sudo ./EcMasterDemoDc -f <path_to_eni>/ein.xml -i85254x 1 1 -perf 
 +</code>
  
 +The demo will output the maximal cycle time every second.
 +You can terminate the demo witch ''CTRL+C''.
 +
 +
 +==== Possible problems ====
 +See troubleshooting process [[embedded_systems:ethercat:troubleshooting:application_does_not_start|The application does not start]]