Xml File

<< Back to the SharedPhidgets 3 page


All the XML configuration files of the tools and example applications in the SharedPhidgets toolkit can be edited directly (e.g., by using a standard text editor like Windows Notepad). While you can configure the applications directly in the user interface, sometimes it might be faster to just edit the XML file.

Please note: Do not change anything in the XML files unless you are familiar with XML editing and structure of valid documents. By changing the wrong setting, the config file might be invalid and causes the application to not work properly.

<settings>
  <core>
    <addmetadata>True</addmetadata>
    <removeentries>True</removeentries>
    <removeentriesonexit>True</removeentriesonexit>
    <keywords>thesis grouplab cml shared phidgets</keywords>
    <location>Weimar, Germany</location>
    <owner>Nicolai Marquardt</owner>
    <shareddictionary>tcp://localhost:sp</shareddictionary>
    <localphidgetmanager>True</localphidgetmanager>
    <serverinfo>tcp://localhost:sp</serverinfo>
    <startplugin>
      <gsmgateway>False</gsmgateway>
      <phidgetcomponents>True</phidgetcomponents>
      <wirelesscolordisplay>True</wirelesscolordisplay>
      <gpsreceiver>False</gpsreceiver>
      <phidgetcomponentsremote>True</phidgetcomponentsremote>
      <colourgraphiclcd>True</colourgraphiclcd>
    </startplugin>
    <secure>False</secure>
    <stayontop>False</stayontop>
    <sharebydefault>True</sharebydefault>
    <connectonstartup>True</connectonstartup>
    <sharingconfiguration>
      <phidgetrfid6906>True</phidgetrfid6906>
      <phidgetaccelerometer7634>True</phidgetaccelerometer7634>
      [...]
    </sharingconfiguration>
  </core>
  <plugin>
    <gps>
      <com>COM4</com>
      <serial>1001</serial>
    </gps>
    <gsm>
      <com>COM3</com>
      <phonenumber>491791451090</phonenumber>
    </gsm>
  </plugin>
</settings>

1) Change the TCP address of the server:

<shareddictionary>tcp://136.159.7.93:sp</shareddictionary>

2) Change the metadata location information with:

<location>Math Science 671</location>

3) The owner metadata:

<owner>GroupLab</owner>

4) Or change the keywords for additional metadata tags:

<keywords>iLab Homespace GroupLab</keywords>


\\