Hi,
I am doing a kind of reverse engineering to use our old program in new Windows version.
I had a weird issue on connection to RS-232 and I am wondering if you believe my situation.
I found some connnection parameters (2400 baud rate, 7 data bit, Even parity, Xon/Xoff control, 1 stop bit) of my instrument by a commercial serial monitoring program.
The instrument is around 20 years old.
The original operation program was operated in DOS and can be executed now under DOSBOX installed in windows XP with connection of USB to Serial connector.
When I operate the hyperterminal on XP under these conditions, I got some responses and it was okay.
But, when I try the same thing with hyperterminal or NI-MAX, LabView VISA code on Windows 7 (still USB to Serial connector), there is no any responses (no text).
The instrument should response for any written text but no response for my any input.
In my experience, I have never met such an issue and took several days to watch out for other possibility.
I tested this with two laptops of Win 7 which had no problem in other RS-232 connection. and one trial by cleaned Win 7 laptop.
Have you heard about this issue depending on Windows version?
If you have some idea (like reliable program) to check this issue more, please share your idea with me.
labmaster
The following was obtained by a commercial program in WinXP.
-----------------
[19:18:06:109]
31523 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_BAUD_RATE - Returns the baud rate that is currently set for a COM port
BaudRate - 2400
----------------------------------------------------------------------------------
[19:18:06:109]
31525 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_LINE_CONTROL - Request returns information about the line control set for a COM port
StopBits - 0 (1 stop bit)
Parity - 2 (EVEN_PARITY)
WordLength - 7
----------------------------------------------------------------------------------
[19:18:06:109]
31527 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_CHARS - Request returns the special characters that Serial uses with handshake flow control
EofChar - 0
ErrorChar - 0
BreakChar - 0
EventChar - 0
XonChar - 17
XoffChar - 19
----------------------------------------------------------------------------------
[19:18:06:109]
31529 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_HANDFLOW - Request returns information about the configuration of the handshake flow control set for a COM port
ControlHandShake - 0x00
FlowReplace - 0x00
XonLimit - 2048
XoffLimit - 512
----------------------------------------------------------------------------------
31523 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_BAUD_RATE - Returns the baud rate that is currently set for a COM port
BaudRate - 2400
----------------------------------------------------------------------------------
[19:18:06:109]
31525 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_LINE_CONTROL - Request returns information about the line control set for a COM port
StopBits - 0 (1 stop bit)
Parity - 2 (EVEN_PARITY)
WordLength - 7
----------------------------------------------------------------------------------
[19:18:06:109]
31527 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_CHARS - Request returns the special characters that Serial uses with handshake flow control
EofChar - 0
ErrorChar - 0
BreakChar - 0
EventChar - 0
XonChar - 17
XoffChar - 19
----------------------------------------------------------------------------------
[19:18:06:109]
31529 IRP_MJ_DEVICE_CONTROL - Request operates a serial port (COM1)
STATUS_SUCCESS
IOCTL_SERIAL_GET_HANDFLOW - Request returns information about the configuration of the handshake flow control set for a COM port
ControlHandShake - 0x00
FlowReplace - 0x00
XonLimit - 2048
XoffLimit - 512
----------------------------------------------------------------------------------