How to create more than one instance of acme using different ports
hi
Can any one tell me if we can create more than one instances of Acme using different Ports
I am not sure whether Acme simulator is configured this way or not......
and please tell me how to do this.
Thanks
Para De
[262 byte] By [
Para_De] at [2008-2-18]
I assume your question is to simulate two Acme devices using different ports.
if it is the case you can do by running single instance of Device simulator through configuration file which looks like the following
<?xml version="1.0" encoding="utf-8" ?>
<profile>
<section name="NumberOfDevices">
<entry name="DeviceCount">2</entry>
</section>
<section name="DeviceInformation_1">
<entry name="DeviceName">ContosoTestDevice</entry>
<entry name="ConnectionType">TCPIP</entry>
<entry name="IpAddress">0.0.0.0</entry>
<entry name="PortNumber">6666</entry>
<entry name="ProviderId">Contoso</entry>
<entry name="NotificationDataFile">ContosoNotificationConfig.xml</entry>
<entry name="DeviceTranslatorAssemblyPath">Microsoft.Rfid.Test.ContosoDeviceTranslator.dll</entry>
<entry name="DeviceTranslatorConfigFile"></entry>
</section>
<section name="DeviceInformation_2">
<entry name="DeviceName">ContosoTestDevice2</entry>
<entry name="ConnectionType">TCPIP</entry>
<entry name="IpAddress">0.0.0.0</entry>
<entry name="PortNumber">6667</entry>
<entry name="ProviderId">Contoso</entry>
<entry name="NotificationDataFile">ContosoNotificationConfig.xml</entry>
<entry name="DeviceTranslatorAssemblyPath">Microsoft.Rfid.Test.ContosoDeviceTranslator.dll</entry>
<entry name="DeviceTranslatorConfigFile"></entry>
</section>
</profile>
you can change the parameter values you want.
Mukul
i have already done this but the setup file is creating only one device under Devices
where the ip:127.0.0.1
and port=6666
but i guess we need two devices one with port 6666 and other with port 6667
so can you tell me what are the changes we need to make in the device.xml
thanks
Para De