<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="FeedCreator 1.8" -->
<?xml-stylesheet href="https://wiki.cockpit-xp.de/dokuwiki/lib/exe/css.php?s=feed" type="text/css"?>
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="https://wiki.cockpit-xp.de/dokuwiki/feed.php">
        <title>Cockpit-XP - Wiki cockpit-xp:addon</title>
        <description></description>
        <link>https://wiki.cockpit-xp.de/dokuwiki/</link>
        <image rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/lib/tpl/simple_sidebar/images/favicon.ico" />
       <dc:date>2026-04-16T16:11:47+0200</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon-editor&amp;rev=1606562098&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon.cps.xml&amp;rev=1606562098&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon&amp;rev=1680782019&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:anweisungen&amp;rev=1606562098&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:configpackage.xml&amp;rev=1606562096&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:ereignisse&amp;rev=1606562096&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:formulare&amp;rev=1606562098&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:info.txt&amp;rev=1606562094&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmablauf&amp;rev=1606562094&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmiersprache&amp;rev=1606562094&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmstruktur&amp;rev=1606562094&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:schnittstelle&amp;rev=1636973817&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen&amp;rev=1718608209&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:variablentypen&amp;rev=1606562094&amp;do=diff"/>
                <rdf:li rdf:resource="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:version.xml&amp;rev=1606562094&amp;do=diff"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="https://wiki.cockpit-xp.de/dokuwiki/lib/tpl/simple_sidebar/images/favicon.ico">
        <title>Cockpit-XP - Wiki</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/</link>
        <url>https://wiki.cockpit-xp.de/dokuwiki/lib/tpl/simple_sidebar/images/favicon.ico</url>
    </image>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon-editor&amp;rev=1606562098&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:58+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:addon-editor</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon-editor&amp;rev=1606562098&amp;do=diff</link>
        <description>AddOn-Editor

Aufruf des AddOn-Editors

	*  Cockpit XP starten
	*  StartCenter
	*  auf ConfigCenter klicken
	*  auf AddOn Verwaltung klicken
	*  auf Anwender klicken

Folgendes Fenster sollte jetzt sichtbar sein:




---&gt; Nun erscheint eine Liste mit allen verfügbaren AddOns. Klickt man hier jetzt auf z.B.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon.cps.xml&amp;rev=1606562098&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:58+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:addon.cps.xml</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon.cps.xml&amp;rev=1606562098&amp;do=diff</link>
        <description>Die Datei AddOn.cps.xml



In dieser Datei befindet sich der eigentliche Programmcode. Er ist nach Ereignissen strukturiert. Diese Events (Ereignisse) löst die Rennbahnzeitmessung aus und innerhalb dieser Bereiche kann dann mit Programmcode auf diese Events näher eingegangen werden.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon&amp;rev=1680782019&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2023-04-06T13:53:39+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:addon</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:addon&amp;rev=1680782019&amp;do=diff</link>
        <description>AddOn
addon index


Was ist ein AddOn?

Cockpit-XP bietet seit der Version 2.0.4 build 46 die Option, die Funktionalität des Hauptprogramms durch eigene Scripte, sogenannte AddOns, zu erweitern. Dadurch hat jeder Anwender die Möglichkeit, Funktionen, die er für sich gerne einsetzen möchte, selbst zu programmieren.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:anweisungen&amp;rev=1606562098&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:58+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:anweisungen</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:anweisungen&amp;rev=1606562098&amp;do=diff</link>
        <description>Anweisungen




Einleitung

Ein Programm besteht aus verschiedenen Konstrukten, die meist Anweisungen genannt werden. Es gibt dabei unterschiedliche Formen, die sich meist durch ihre Komplexität unterscheiden.

Einfache Anweisungen / Zuweisungen

So ist z.B. die Zuweisung eines Wertes zu einer Variablen eine einfache Anweisung.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:configpackage.xml&amp;rev=1606562096&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:56+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:configpackage.xml</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:configpackage.xml&amp;rev=1606562096&amp;do=diff</link>
        <description>ConfigPackage.XML

in dieser Datei wird programmiert bzw. konfiguriert, was man später direkt in Cockpit XP zu einem AddOn so alles einstellen kann:


Beispiel:




Die Einträge dafür in der Confige.Package.XML sehen folgendermaßen aus:


Was kann man alles in der ConfigPackage.XML einstellen?</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:ereignisse&amp;rev=1606562096&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:56+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:ereignisse</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:ereignisse&amp;rev=1606562096&amp;do=diff</link>
        <description>Ereignisse im AddOn

Die folgenden Ereignisse (Events) sind zur Zeit verfügbar
 Event  Beschreibung  StartRealTime   Dieses Ereignis tritt ein, wenn auf den großen Start-Button gedrückt wurde und der Rennbildschirm auf dem Monitor erscheint. Es ist das einzige Event, in dem eine</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:formulare&amp;rev=1606562098&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:58+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:formulare</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:formulare&amp;rev=1606562098&amp;do=diff</link>
        <description>Formulare und andere Delphi Elemente




Formulare kennt jeder Anwender, der mit Windows Berührung hatte. Letztlich sind alle Fenster, die sich vor den Augen der Benutzer öffnen, alle Meldungen solche Elemente.

Die AddOn-Funktionalität in Cockpit-XP bietet ebenfalls die Möglichkeit, solche Formulare zu generieren und für die Interaktion mit dem Anwender zu nutzen.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:info.txt&amp;rev=1606562094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:54+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:info.txt</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:info.txt&amp;rev=1606562094&amp;do=diff</link>
        <description>Info.txt

Diese Datei ist eine reine Textdatei. Hier wird üblicherweise die Funktion das AddOn beschrieben bzw. zusätzlich auf notwendige Einstellungen bzw. Bahnkonfigurationszustände hingewiesen. Auch wird hier beschrieben, welche Vorraussetzunge erfüllt sein müssen, damit das AddOn sauber läuft. Darüberhinaus werden hier auch die möglichen Einstellungen in der Config.Package.XML sehr ausführlich beschrieben.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmablauf&amp;rev=1606562094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:54+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:programmablauf</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmablauf&amp;rev=1606562094&amp;do=diff</link>
        <description>Programmablauf

Innerhalb des Hauptprogramms werden die Programmzeilen Schritt für Schritt abgearbeitet. Das geschieht rein hierarchisch.

Der folgende Code blendet bei Tanken Einfahrt ein Symbol ein, wartet 1 sek. und gibt dann den Text Sensoren Tanken Einfahrt überfahren</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmiersprache&amp;rev=1606562094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:54+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:programmiersprache</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmiersprache&amp;rev=1606562094&amp;do=diff</link>
        <description>Die Programmiersprache

Die AddOn Entwicklung läuft über ein zusätzliches Modul, das mehrere Programmiersprachen möglich machen würde. Die Entscheidung für den zu Cockpit-XP passende Element, eine Untermenge der Programmiersprache Delphi, war naheliegend, da auch Cockpit-XP in dieser Sprache programmiert ist.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmstruktur&amp;rev=1606562094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:54+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:programmstruktur</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:programmstruktur&amp;rev=1606562094&amp;do=diff</link>
        <description>Programmstruktur

Jedes Programm in Pascal Script oder anderen Programmiersprachen weist bestimmte Bereiche und Strukturen auf. Aufgrund des Umfangs dieses Themas existiert dazu eine eigene Seite.

Kommentare

Kommentare im Quellcode erläutern die einzelnen Befehle und helfen beim Verstehen, welcher Code welche Funktionalität umfasst. Das ist besonders wichtig, wenn man den Code anderer Entwickler verstehen möchte oder zu dessen Ergänzung oder Wartung beitragen soll.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:schnittstelle&amp;rev=1636973817&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2021-11-15T11:56:57+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:schnittstelle</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:schnittstelle&amp;rev=1636973817&amp;do=diff</link>
        <description>AddOn-Schnittstelle

Folgende globale Variablen werden bereits verwendet:
 Globale Variable   AddOn  Beschreibung  40   RK-K-RegenSimulation  1=es regnet, 0=kein Regen  51 - 56   RK-K-MotorBremsReifenSchaden  ID-bezogen, 1=Schaden vorhanden, 0=kein Schaden</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen&amp;rev=1718608209&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2024-06-17T09:10:09+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:standardfunktionen</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:standardfunktionen&amp;rev=1718608209&amp;do=diff</link>
        <description>Standard Funktionen




Mathematcial
 Befehl  Beschreibung  Typ  Abs(e:Extended)  Bildet den absoluten Wert einer Gleitkommazahl. Schneidet ohne Rundung ab.  Extended  ArcTan(x:Extended)  Der Tangens-Wert einer Gleitkommazahl in Radiant  Extended  Cos(e:Extended)  Der Cosinus-Wert einer Gleitkommazahl</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:variablentypen&amp;rev=1606562094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:54+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:variablentypen</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:variablentypen&amp;rev=1606562094&amp;do=diff</link>
        <description>Variablentypen

Variablen sind Platzhalter für Daten, die im Programmablauf zwischen gespeichert und verarbeitet werden müssen. Jede Programmiersprache hat ihre eigenen Typen. Auf der anderen Seite sind diese oft sehr ähnlich zu den folgenden vier Grundtypen.</description>
    </item>
    <item rdf:about="https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:version.xml&amp;rev=1606562094&amp;do=diff">
        <dc:format>text/html</dc:format>
        <dc:date>2020-11-28T12:14:54+0200</dc:date>
        <dc:creator>Anonymous (anonymous@undisclosed.example.com)</dc:creator>
        <title>cockpit-xp:addon:version.xml</title>
        <link>https://wiki.cockpit-xp.de/dokuwiki/doku.php?id=cockpit-xp:addon:version.xml&amp;rev=1606562094&amp;do=diff</link>
        <description>version.xml

Diese Datei wurde mit der Online-Update Funktion eingeführt und liegt allen AddOns und Rennbildschirmen bei, die über diese Funktion installiert werden.


&lt;?xml version=&quot;1.0&quot; encoding=&quot;iso-8859-1&quot;?&gt;
&lt;info&gt;
  &lt;version&gt;1.0&lt;/version&gt;
  &lt;entwickler&gt;slot-xtreme&lt;/entwickler&gt;
  &lt;build&gt;260&lt;/build&gt;
  &lt;onlinedir&gt;AddOn\SLX&lt;/onlinedir&gt;
&lt;/info&gt;</description>
    </item>
</rdf:RDF>
