multiple-InitialStatePartnering problem
I'm creating a Diagram to hook the XInputController Service to my ControlSample9 Service. [Controller4.mvp](Diagram 1) XInputController - ControlSample9 starts its service using InitialState Controlsample9.xml So the questions are:
And ControlSample9 is listening (and is a partner of ) the SimpleJointSimulation9, which also needs InitialState SimpleJointSimulation9.xml to start up.
What I have done was, I went to "Set Configuration" for ControlSample9 Service and Imported "ControlSample9.xml", which is the IntiailStatePartnering XML file for this service, you can take a look at its code at the end of this port.
I saved the aboveDiagram1 as "Controller4.mvp" at C:\Microsoft Robotics Studio (1.5)\samples\Controller4.
Then I saved the source code of the Controller4 project in C:\Microsoft Robotics Studio (1.5)\samples\Controller4 (same as the above).
Here's the content of "C:\Microsoft Robotics Studio (1.5)\samples\Controller4 "
http://farm2.static.flickr.com/1214/1233382795_1e1c71108f_o.jpg
And Here's the content of "C:\Microsoft Robotics Studio (1.5)\samples\Controller4\Controller4 "
http://farm2.static.flickr.com/1095/1234246580_fdfc6f1076_o.jpg
You see that there areeach folder above haveboth of the following XML:
1) controlsample9 (ControlSample9.Manifest).xml
2) simplejointsimulation9 (ControlSample9.Manifest).xml
***Now the problem is, even after I try changing the parameters insimplejointsimulation9 (ControlSample9.Manifest), appears that the Controller4 Service does not attempt to load theeditted simplejointsimulation9 (ControlSample9.Manifest), at all, I don't even know what it is loading. I tried changing the simplejointsimulation9.xml in the SimpleJointSimulation9 Service's home foler too, nothing worked !
Both ControlSample9 and SimpleJointSimulation9 services were written in Visual Studio, and they both worked great with all the loading of InitialStatePartner and stuff. I'm new to VPL and I dont know what to do with this case.
In conclusion Please show me how to Compile[Diagram1] above, where to save its source code, so that each time I run it (the Controller4 Service), it will always start ControlSample9 and SimpleJointSimulation9 by RELOADING both InitialStatepartnerings:
1) controlsample9 (ControlSample9.Manifest).xml
2) simplejointsimulation9 (ControlSample9.Manifest).xml
In other words, each time I change those InitialStatePartnering XML, and re-run I should see the change.
By the way, the Manifest of ControlSample9 looks as follows:
<?xml version=" 1.0" ?>
<Manifest
xmlns="http://schemas.microsoft.com
xmlns: dssp=" http://schemas.microsoft.com
>
<CreateServiceList>
<ServiceRecordType>
<dssp: Contract>http://schemas.tempuri.org
<dssp: PartnerList>
<dssp: Partner>
<dssp: Service>ControlSample9.xml</dssp: Service>
<dssp: Name>dssp: StateService<
</dssp: Partner>
</dssp: PartnerList>
</ServiceRecordType>
<dssp: Contract>http://schemas.tempuri.org
<dssp: PartnerList>
<dssp: Partner>
<dssp: Service>SimpleJointSimulation9.xml</dssp: Service>
<dssp: Name>dssp: StateService<
</dssp: Partner>
</dssp: PartnerList>
</ServiceRecordType>
</CreateServiceList>
</Manifest>
Thank you very much for your help,

