does SERIN has some inherent delay?
hi,
im using bs2p40 and communicate with it from LabView front end env.
i wanted to know what is the minimum delay involved in serin processin.
for this i tried an example which sends 6 bytes frm front end to bs2p40 and rcv the same bytes thro serout.
my expectation was that, if i change the value of A from my gui, i shld see change happenin in the display(which receives serout msg).
i used wait function in serin, but the problem here is, i receive proper update of the value only with a timeout value of 350 in serin and above. if i bring it less than that, the response is slow and random.
[noparse][[/noparse]note: i use serial to usb cable]
does SERIN has some inherent delay?
im using bs2p40 and communicate with it from LabView front end env.
i wanted to know what is the minimum delay involved in serin processin.
for this i tried an example which sends 6 bytes frm front end to bs2p40 and rcv the same bytes thro serout.
my expectation was that, if i change the value of A from my gui, i shld see change happenin in the display(which receives serout msg).
i used wait function in serin, but the problem here is, i receive proper update of the value only with a timeout value of 350 in serin and above. if i bring it less than that, the response is slow and random.
[noparse][[/noparse]note: i use serial to usb cable]
does SERIN has some inherent delay?
Comments
in the reference manual i saw the unit for timeout in serin is 0.4ms. so i thought 350 * 0.4 = 140ms. also im runnin at 19200baud.
so, r u sayin this is not correct?
the timeout constant value range frm 0-65k. whts the unit of that constant?
It might help for you to post a copy of your source program as an attachment to your reply