Hardware Emulator / Simulator for Winforms .Net Application

Posted by Suneet on Stack Overflow See other posts from Stack Overflow or by Suneet
Published on 2010-04-28T18:49:28Z Indexed on 2010/04/29 1:07 UTC
Read the original article Hit count: 575

Filed under:
|
|
|
|

I have a WinForms .Net HMI software which talks to hardware over USB. I check for communication with the hardware at Load time and if communication is active then run it (The hardware manufacturer has provided a communication library to talk over USB).

I want to build an emulator for cases when communication with hardware is not possible (not connected) and want the software to run in simulated mode by providing dummy values for different states of hardware.

Has anyone implemented something similar? Any pointers will be helpful. Are there any design patterns to handle such implementations.

TIA

© Stack Overflow or respective owner

Related posts about Hardware

Related posts about .NET