When it stops working, what do you see?
Here are some things to try:
- When it stops working, issue the following command:
This asks for a detailed report on the state of that asyn
Next, issue the following commands:
That enables TraceEscape output, printing ASCII plus escape
That turns on all trace output for your asyn port on address
0. If you are using other addresses you might need to issue commands like:
for address 2, etc.
This should tell you if you are getting disconnected from
the terminal server (TCP/IP disconnect) or if the device is sending garbage,
firstname.lastname@example.org [mailto:email@example.com] On Behalf Of tanushyam bhattacharjee
Sent: Thursday, November 12, 2009
Subject: Fw: asyn problem
--- On Thu, 12/11/09, tanushyam
From: tanushyam bhattacharjee <firstname.lastname@example.org>
Subject: asyn problem
Date: Thursday, 12 November, 2009, 8:18 PM
am using ‘asyn’ to communicate with a custom made device using
‘HowTodoSerial’ concept where CommonGpib functions are used.
device continuously sends data if a knob, attached to it, rotates and does
not send anything otherwise.
IOC is working properly as long as the knob rotates but stops working after
some time when there is a long gap.The device is connected through a Serial
to Ethernet Converter by
it a time out problem? Is it disconnecting from device after timeout?
I also want to know how can I flush a particular serial buffer in this
program?Is flushbuffer function is available here?
Now, send attachments up to 25MB with Yahoo! India
Mail. Learn how.
Keep up with people you care about with Yahoo! India Mail. Learn how.