how to implement Filter using Acme as the simulator

Hi

I am using Acme simulator.

Can any one tell me how to implement filter in Acme simulator.

Thnks

Para De

[144 byte] By [Para_De] at [2008-2-21]
# 1

If by filter do you mean filtering tags at the device level ?

Acme simulator lets you simulate devices and you can control the behaviour of these simulated devices using DeviceSimulatorProxy . So basically, using devicesimulator proxy you can send whatever notifications you want to send.

Hope this helps.

Thanks,

keerthi.

KeerthiKiran[MSFT] at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 2

Hi keerthi

Can you explain in detail how to use this DeviceSimulatorProxy in Acme and where will i find it .

thanks

Para De

Para_De at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 3

hi,

Class DeviceSimulatorProxy defines the client for a device simulator web service. You can find the details on how to use this class in %rfidinstalldir%\bin\BizTalkRFID.chm under section Microsoft BizTalk RFID Documentation > Technical Reference > Developers Reference > Microsoft.Rfid.Test.DeviceSimulator.Client > DeviceSimulatorProxy. You can also explore DeviceSimulatorAdvancedFeaturesProxy class if you want to use any advanced features.

Thanks,

keerthi.

KeerthiKiran[MSFT] at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 4

hi,

Thanks for your information but i am trying to implement DupElim sample with Acme ,

can you tell me how to do this?

Thanks

Para

Para_De at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 5

Hi,

If you want to add dupelim eventhandler to acme test process do the following

1. run acme end to end sample, also start acme device simulator ( present in %rfidinstalldir%\Samples\Device Service Provider\Acme)

2. build the dupelim sample (you can find the samples http://go.microsoft.com/fwlink/?LinkId=86689) and copy the dll to bin dir of the process (here %rfiddatadir%\Processes\AcmeTestProcess\bin)

3. now stop the AcmeTestProcess and then edit it.

4. open the browse tab fo the process and right click on "component bindings" and add "new component". selec and add "dupelim eventhandler" component (dupelim should be on top of sink eventhandler)

5. validate the process and start the process

now whatever tags that this process gets from "Acme Device" will be dupeliminated and will be put in the sink database.

Hope this helps.

thanks,

keerthi.

KeerthiKiran[MSFT] at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 6

Hi

Thanks alot for your help , i have tried this steps and at the time of Validating the process i am getting this

Error msg:

"The process has a component that is not reachable. None of its event handler methods will ever get called.
There is no path for system type starting from a logical device that reaches this event handler.
One common reason for this happening is that there are event handlers but no logical devices in the process.
The event handler is <EventHandlerDefinition xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Microsoft.SensorServices.Rfid.Design">
<componentName>DupElim</componentName>
<eventHandlerInfo>
<assembly>DuplicateTagIdsElimination</assembly>
<className>Microsoft.Rfid.Samples.DupElim</className>
<description>Parameters for Event Cycle EH</description>
</eventHandlerInfo>
</EventHandlerDefinition>.
Verify if this event handler is properly positioned in the process pipeline."

Thanks

Para De

Para_De at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 7

Hi,

what eh's do you have as part of the component bindings. are you having your sink eh before your dup elim one. sink eh dumps all of the tags it gets into sink database and doesnt return any of them, therefore if you want to use sink eh use it at the end. try moving the dupelim on top of sink eh and validate the process (you can do this in the lower half of "add new component" dialog)

Thanks,

keerthi.

KeerthiKiran[MSFT] at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 8

hi

Thanks a lot ,its working ...........

Here i have implemented this DupElim for Acme , i hope we can use this dll for any other reader like Alien.

Thanks

Para De

Para_De at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 9

Hi,

you can use the same dll for any other reader.

KeerthiKiran[MSFT] at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 10

hi

I would like to implement a delta filter with the process(Acme),can i customize the dupelim,or if there is any other process please let me know.

Thanks

Para De

Para_De at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...
# 11

you can customize the dupelim sample to serve your purpose.

Thanks,

keerthi.

KeerthiKiran[MSFT] at 2007-10-2 > top of Msdn Tech,BizTalk Server,BizTalk RFID...