pyParallel virtual mode needed
Brought to you by:
cliechti
To test software for equipment attached to the LPT
port, we need a 'virtual' port mode that just quietly
logs to a file all traffic. And maybe maintains
internal values for the registers, and a 'track log' so
tests can easily check-up on sequences.
I don't want to monkey with my code to switch between
real and simulations. So I want either a INIT flag to
indicate simulation mode, or an options list.
Logged In: YES
user_id=403744
Originator: NO
i will not implement a simulation mode based on a flag to __init__. if i'd provide a simulation or mock object it would be a separate class. hey there is even some code for a start. see VirtualParallelPort in parallelutil.py.