Hello, I need help in creating a windows based application using Visual C++ for parallel port. I'm trying to count the number of pulses recieved by my circuit and need to display that figure. I'm not familiar with C++ and would really appreciate the help.
What is PortIO?
PortIO is a library which will allow convenient access to the PC I/O ports and other similar facilities, particularly for use in electronics projects and other projects requiring control of external electronics via the PC I/O ports. Eventually this will be cross-platform, allowing a consistent programming interface to be used for programs to communicate with the PC I/O ports on both Windows and Linux.
If you want free book for parallel port interfacing. Then download the files Parallel port from yahoo group-booksbybibin.
h**p://tech.groups.yahoo.com/group/booksbybibin/
This book will explain you the hardware and software programming in C, use some dll files to do the same in VC++.
For Windows XP ,you should be using DLL that support Windows XP.
You can not read/write direct to port like programming on Windows9X ..
Could you try to download Dll file for WinXP(and All Windows version) in interface parallel port.
we don't know the freq of your app inputs pulses, but if you try to use a input pin of rs232 port to count the pulses , you can control that pins easier that parallel, in VC anc VB.
hi
you can use a free software called linxdriver "DLPORT" which gives a full parallel port control
note:Rember min pulse width you can coun is 1.2 micro sec
I am sending you parallel interfacing using MatLab because this circuit is checked 100% by me you can using code compiler to converts this matlab file into C code using latest version of Matlab like version 7 on ward
InshALLAH as soon I will send u C code for Parallel interfacing
Take care