• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 25, 2024, 12:29:06 pm

News:

SMF - Just Installed!


xon/xoff

Started by claudio222, July 25, 2011, 02:06:24 pm

Previous topic - Next topic

claudio222

I use Rad studio XE Pro ,and i need to comunicate with a logic analizer thru rs-232 , the analizer accept simple command to emulate a keyboard and send back an answer,for example i send CR and the analizer send back the hexadecimal sequence:
13 45 4e 54 45 52 0d 0a 2a 11 (xoff,E,N,T,E,R,cr,lf,*,xon).
now , when i try to receive this data from the analizer at the first time i find only the 'E' character in buffer,and at the second time i find in buffer "NTER/n/r*".
I use the method in the example StringReceiverBCB , i allegate a screenshot of the timing of the signal,
probably i mistake something .

claudio222

I'm sorry I forgot to say that I'm using nrComm Lib 9.20 Pro
best regard

Roman Novgorodov

Hello

Thank you for your information.

Please see sources of Demo from attachment.

We modified DataProc demo for apply your task.

Roman Novgorodov
DeepSoftware LLC
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

claudio222

Hi,roman , thank you for your reply , i've solved my problem.
My problem was the breakPoint placed in a wrong position and when i was checking a receive buffer the process was premature stopped and i can't see the data.
The problem was I!!
best regard .. claudio