#9 pyParallel virtual mode needed

closed
nobody
None
5
2008-06-20
2006-04-14
No

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.

Discussion

  • Chris Liechti

    Chris Liechti - 2008-06-20
    • milestone: 181227 -->
    • status: open --> closed
     
  • Chris Liechti

    Chris Liechti - 2008-06-20

    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.

     

Log in to post a comment.