| 1 | = Running a component = |
| 2 | |
| 3 | When we created a component and created and XML file for it, we are now going to run the program which will load this component. |
| 4 | |
| 5 | **Note:** Make sure that you have ''installed'' the component library to the ```bin`` directory of Pacpus. |
| 6 | |
| 7 | **Note:** We will now suppose that we are in the ```bin``` directory of Pacpus installation. |
| 8 | |
| 9 | == Using ```DbitePlayer``` == |
| 10 | |
| 11 | **Warning:** This is for testing purposes only, !DbitePlayer and your component will run in the same process. |
| 12 | |
| 13 | Windows release: |
| 14 | {{{#!sh |
| 15 | DbitePlayer.exe MyComponent_Dbite.xml |
| 16 | }}} |
| 17 | |
| 18 | Linux debug: |
| 19 | {{{#!sh |
| 20 | ./DbitePlayer MyComponent_Dbite_d.xml |
| 21 | }}} |
| 22 | |
| 23 | == Using ```Sensor``` == |
| 24 | |
| 25 | **Warning:** This is for testing purposes only, Sensor and your component will run in the same process. |
| 26 | |
| 27 | Windows debug: |
| 28 | {{{#!sh |
| 29 | Sensor.exe MyComponent_Sensor_d.xml |
| 30 | }}} |
| 31 | |
| 32 | Linux release: |
| 33 | {{{#!sh |
| 34 | ./Sensor MyComponent_Sensor.xml |
| 35 | }}} |
| 36 | |
| 37 | == Using your own executable == |
| 38 | |
| 39 | Use ```ComponentManager```. |
| 40 | |
| 41 | TODO |