[Info-vax] Timeout in a write using QUIW.
Jan-Erik Söderholm
jan-erik.soderholm at telia.com
Wed Jun 21 16:45:12 EDT 2023
Now, here is a technical one...
When doing a *read* from a terminal device using QIOW, one
can use IO$M_TIMED and supply a timeout value in P3. That
works perfectly and we use that a lot.
Now, we are having issues with an application when *writing*
to a terminal (TNA) device using QUIW that points to a small
label printer. If the printer is offline or not accessable on
the network, the application just hangs.
As far as I can see, QIO/QIOW does not support a timeout value
when used for writing, is that correct?
I was hoping that one could add a timeout value just as in the
read case, but it doesn't look so. So I do not see how to get
out of the hanging call to QIOW. Maybe using QIO, and doing
some extra coding to check the I/O, I guess.
So, is there a way to get out of this state, still using QIOW?
These are new printers where they decided to use Wifi
instead of wired connection. We do not see these issues
on our older label printers which are all hard wired...
I will of course again suggest that they do take the cost to
ask for wired network connections instead of using Wifi...
I also fixed a COM file that pings these 7 printers once each
10 seconds, and it clearly shows that the connections comes
and goes more or less all the time. And when that happens to
be the same time as they try to print a label, it just hangs...
Regards,
Jan-Eik.
More information about the Info-vax
mailing list