Considering the present communication engineering principals and challenges, the type of multeplexing of data in a channel you would prefer most is:

Search This Blog

Tuesday, April 20, 2010

Get out of the BlackBox

Want to get stuffs out of or into your PC? the parallel port is the easiest way. If you use MS Windows XP and you want a GUI mode program to write or read the parallel port, follow this link. You must have MS Visual Studio 6 installed to try it out. try it, it worked for us:-
 http://electrosofts.com/parallel/parallelwin.html
you will be needing inpout32.dll for connecting you will get a free download link there.
For writing any value at any time and reading the same, create two timer threads instead of checkboxes, and make two arrays that will update the pins, or read from the same.
as ---  if((reg & 0x01)==0) m_pin2=0; else m_pin2=outbyte[0]; and so on.
 you must note that maximum theoretical writing or reading frequency is 1KHz, though actually due to miss cycles it should be kept around 800Hz.

1 comment:

  1. thanx dude..!!the code is working...the link is a good one..!!!

    ReplyDelete

Note: Only a member of this blog may post a comment.