 |
|
 |
Hello
If you came to this article from Google because you are looking for a way to measure digital signals via parallel port then have a look at the following article:
17 Channel Logic Analyzer!
* Digital Oscilloscope / Logic Analyzer with up to 17 input lines
* Uses the parallel (printer) port for input.
* While Logic Analyzers normally are very expensive, this one is for zero cost
* Written in speed optimized C++ to get the maximum possible sample rates
* The program is a stand alone single EXE file which neither needs any additional DLLs nor any framework. It runs out of the box
* Runs on all Windows platforms (95, 98, ME, NT, 2000, XP, 2003, Vista, 2008, Windows 7, 2008 R2)
* Runs on 32 Bit Windows and 64 Bit Windows
* When first run, installs a driver to access hardware IO ports on all NT platforms
* Plays a sound via PC speaker to prove that the driver works correctly
* Shows the actual state of the input lines life in the LED's of the GUI
* Captures up to 500.000 samples / second (depending on your hardware and OS)
* Captures to memory (rather than disk) for maximum speed
* Capturing runs always with the maximum frequency that the hardware allows
* Memory saving capture technology stores only the changes of the input lines rather than storing all lines with each sample that is taken
* The capture process is independent of data analyzing so you can try various settings to display the captured data in the best way
* The analyzer generates coloured oscilloscope diagrams with a raster grid
* The output is written into an HTML file and one or multiple GIF files
* So the analyzer results can easily be shared with other people who must not install any program to view a proprietary binary format
* You can write an individual heading into each analyzer output to distinguish them later in a multitude of files
* When analyzing data, you can choose to delete old analyzer output or keep the old files
* The time axis shows absolute or relative time with microsecond precision (Performance Counter)
* Automatic detection of inactive input lines shows only the channels that have activity
* Automatic detection of idle time cuts out long phases of inactivity
* Automatic detection of input frequency chooses the adequate raster unit like on a real oscilloscope (10 µs, 20 µs, 25 µs, 50 µs, 100 µs, etc..)
* Automatic detection of context switches of the operating system
* Decoding of serial protocols like I2C Bus, PS/2 Bus, SMBus, ModBus, SPI Bus, Asynchronous (RS232, RS422, RS485), Infrared Remote Controls, Smartcards is partially already implemented or may be added by you.
* Decoded serial data (Start Bit, Parity, Acknowledge, Stop Bit) and the Byte that they represent is written into the diagram
* Very cleanly written source code with a proper error handling and plenty of comments
Elmü
|
|
|
|
 |
|
 |
Great tutorial. Thanks for posting. However, Windows XP does not allow the code to run - instead it returns an error upon entering the timer event:
"Unhandled exception at 0x00412ec8 in ppsc.exe: 0xC0000096: Privileged instruction." This is because XP, 2000, NT do not allow applications to access the ports.
Any suggestions to get around this?
Thanks,
justin
|
|
|
|
 |
|
 |
Hello, can someone help me with articles that could help me learn and understand programming in vc++ from the scratch. i'm an electronics undergraduate
|
|
|
|
 |
|
 |
after implementing the project on port access it gives me an errror :OnTimer something ....
|
|
|
|
 |
|
 |
i want to that will the same code will work if i want to access the serail port pin(COM1) of my system by specifying the address as 0x3E8(standard address for COM1).
Plzzzz help me.
|
|
|
|
 |
|
 |
I am working on on project. in that software works properly on win98 but the same program compiled in xp but not working or execut hole project as it execute in win98.what is the region behind it.Is this of problem of including prots in it becuse in that project we have to out through ports.And geting input from port.
so please help me. give me region and solution of this.
|
|
|
|
 |
|
 |
Hi
In Windows XP, 2000 and other 'recent' microsoft operating systems you have to hack the windows IO sub-system in order to access the ports. I found this out the hard way when I was working on a robotics project. MS seems to think that the public has no reason to directly control their own hardware... Try googling for something like 'hardware port access on XP' or something, that may be helpful
none
|
|
|
|
 |
|
 |
pls if any body knows the code for how to extract the hardware key in VC++....
pls mail it to me.....
as it is urgent......
|
|
|
|
 |
|
 |
hi,
i do project to control the led(light emiting diode) in the circuit.
I expect to switch on the particular light at clicking the particular check box. The light is switched off when I take out off the tick mark from the particular check box .If I click the check box 1 and 4 means then they are only staying in the on condition.If I take out the 4th Ticks means then the remaining bulb 1 must be remaining in the on position.
This is the normal codings for check box.it is not worked .if anybody knows please send me
Private Sub Check1_click()
If val(Check1.Value) = 1 Then
port1.OutPort &H378, 1 = True
ElseIf val(Check1.Value) = 0 Then
port1.OutPort &H378, 1 = False
Else
MsgBox "nothing occur"
End If
End Sub
if you know the codings in vb,please reply for me.
|
|
|
|
 |
|
 |
haloz! am a computer and electronics student.I have got no idea about the kinds of projects that I can design. Any body with ideas or websites which can help with insights about projects can feel free to help.
|
|
|
|
 |
|
 |
hi i have already post messages butnobody replied me.
i m doing project on hardwares and thier softwares for my BS project can anybody help meeeeeeeeeeeeeeeeeeeeeee?
|
|
|
|
 |
|
 |
hi daygiri me quite new member.i belongs to A.K.Infact i m working on p[roject of home automation in order to design a device that controls the voltage level and developing its software as well.will u help me during my project? Also i have tried program for accessing parallel port but it gives runtime error....... me anxiously waiting for ur reply.
|
|
|
|
 |
|
 |
Thanks for the explanation. You explained how to enter the class wizard but I don't seem to get, what do you exactly mean by right click of check boxes? I can't find the option of entering the class wizard. Any further details will be very helpful. Thanks again.
|
|
|
|
 |
|
 |
i need to replace a printer for another computer to send the "output" of the lpt1 to a file.
I have some problems to read the data, status and control ports, I mean, i can't manage the busy and acknowledge in the second computer, in fact, i can't read what the first computer is sending to the printer. Could you please help me? or telling me what can i do for solve my problem?
If u want, i can send u the code i have written at this point.
Thank you in advance for your attention.
Regards
|
|
|
|
 |
|
 |
hi,i have a problem:how can i write assembly code in c# like this:
mov ax,bx
mov cl,2
..
..
..
|
|
|
|
 |
|
 |
Hi Jay,
Just few days back I got an opportunity to develop a tool in MFC which will fetch data from USB device(mouse,keyboard,dongles) and display it on the GUI.
I am required to use windows HID class for the same.
Please help me out if you have any idea about this stuff.
In case there is any specific set of APIs which are required to be invoked then please help me out.
You can mail me at wahiajay@yahoo.com
Thanks,
Ajay
|
|
|
|
 |
|
 |
i don;t thik that u can find api.
THERE IS A BOOK: USB complete
just read this.
|
|
|
|
 |
|
 |
hi,
i want to develop same for serial port. do u hav any hint, i m confused abt how to get pin values, all statistics etc
waiting for reply
|
|
|
|
 |
|
 |
Hi, I can read the input data from the parallel port. I have a thread that is reading continously the parallel port and updating a variable with the data.
I want to know if there is a better way to do it, because I need a quick response in my application (software side).
I have two push buttons connected to the parallel port (parallel port is already configured as bi-direccional) so, I want to detect the order in which I press the buttons, if the combination is correct it will display a message.
Could you please help me?
Thanks in advance.
|
|
|
|
 |
|
 |
i am building a application to program EEPROM 24CXX in VC++.can you help me to control IIC bus?i do not know to adjust Timer in microsecond.
|
|
|
|
 |
|
 |
I'm facig a problem. One application is developed where we are taking a person's photograph programetically using a webcam. Now the problem is if the clients computer does not have a webcam it is showing an error. so my requirement is I want to write a code through which it will detect whether a device is attached to USB or not. I want to write it in VC++.
|
|
|
|
 |
|
 |
how to acess the data from MS Access through VC++?
|
|
|
|
 |
|
 |
:-DPlease can we get an introduction of com1 and com2 introduction for how we can take controle, i hope you can.
thanks,
|
|
|
|
 |
|
 |
i have the same problem
i need it bad for my graduation project
plzzzzzzzzzzzzzzzzzzzzzz any body help
Shabayek
plz mail me if anything new
shabayek@walla.com
|
|
|
|
 |
|
 |
hi,
I have created the program shown to control the parallel port. The problem is that the program kept asking for the file 'MFC42D.dll', so I downloaded it. Afterwards, it kept crashing. plz help.
Thanx in advance
|
|
|
|
 |