Link to home
Start Free TrialLog in
Avatar of koossa
koossa

asked on

RS232 Serial Port monitoring.

Good day

We've got a piece of hardware that interface with the RS232 port on the PC. (Prolific USB-to-Serial Comm Port)
The hardware manufacturer's support is very poor.

They supply a piece of software that clear the memory, when you click a couple of buttons, by sending about 200 separate bytes to the device.
I need to clear the memory from my own developed software, the manufacturer said I must use Portmon to find out how to clear it.
According to them you just send a single string to the device, but it's not that easy.

It seems like someone don't want us to clear the devises memory, we have tried everything to find out what data and time intervals are sent to the serial port.
We are sending data as close as possible, to what they are doing, but it still does not want to clear.
We have asked them how much they will charge us to develop an application just to clear the memory, but they don't even reply to that.

We have tried:
- Portmon (Serial Port Monitoring)
- Free Serial Port Monitor (Serial Port Monitoring)
- ApiMonitor (Api Monitoring)
- Device Monitoring studio (Serial Port Monitoring)
- Rec Studio (Try to decompile it)
- com0com (Null-modem emulator)

It seems like there need to be a specific timing between the serial outputs.
We cannot get the exact time intervals using any of the serial port monitoring applications, because it seems like as the buffer get full the duration between writes gets longer.
If we record it with the serial port monitoring apps, and put that exact time intervals in our own test app and then monitoring our app with the serial port monitoring the time intervals is different.

Any ideas how we can find out what the exact time intervals between the serial writes are?
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of koossa
koossa

ASKER

Yes, I'm trying to clear the device connected to it.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of koossa

ASKER

Thank you very much, when measuring the timing on a standard serial port, it works!!
You're welcome.  Glad you got it working.