‎05-12-2007 03:47 AM
‎05-14-2007 11:06 AM
‎05-23-2011 09:41 AM
Of course he's dealing with a LPT port
‎05-23-2011 02:10 PM
Where do you see that? DTR, DTE, DCS.... sounds like a serial port to me....
‎05-24-2011 03:46 AM
Hi all!
I think this three topics are related each other:
http://forums.ni.com/t5/Instrument-Control-GPIB-Serial/serial-port-activity-logging/m-p/1569954
Dear nagyo,
please can you explain me, why do you want to spy the communication on DB9 serial port instead of sniff the data with LPT port?
The DTO/DTR/RTS... etc signals of RS-232 COM port probably you can handle programmatically to create a custom communication, or acquire digital signals. BUT:
The RS-232 uses +-12V Voltage, and the LPT paralell port uses 0 - 5V TTL voltages on the pins. If your device uses communication with this TTL signals the RS-232 may be a wrong way.
If you still want to acquire digital signals this way (with the serial COM port), you have to use external device (for example a MAX232), and I think you'll have also difficulties to handle the signals programatically.
I recommend to measure the signal voltages first, and make a decision to try make difficult programm plus build an external device, or an easier solution with LPT port, where you can have also clock inputs, but still you'll have to programm the communication protocol. (I saw the timing diagrams you sent to one of those forum topics)
I also think, use of a proper NI Digital IO card can be also a great solution, because you'll get more advanced features to create programs with labVIEW or labWindows/CVI or .NET measurement studio.
Best Regards,
Tamas