Re: Sending commands to serial port connected device



In case anyone is interested, this actually works with *zero* configuration
on either the desktop or the device. You just have to enable serial port
redirection in the TSC on the device and write your code for the desktop to
use the corresponding serial port (COM2 on the desktop --> COM2 on the
device,
when the device is connected). This makes it very easy to do your scanner
configuration. Use whatever code you use on the desktop to make it happen,
on the desktop, and, when you run the program via a terminal services client
session, the data will be automatically redirected to the device's serial
port.

I have a whole new respect for this TSC stuff. I would have bet $50 that it
wouldn't work.

Paul T.

"Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT
com> wrote in message news:eC4fGWhqIHA.3940@xxxxxxxxxxxxxxxxxxxxxxx
True! Just depends on what you're doing on the desktop. If you've really
got a client that you don't want to do *anything* custom on, it should
work (I have a test to do today and I'll try it).

Paul T.

"Dick Grier" <dick_grierNOSPAM@.msn.com> wrote in message
news:OHe6zNhqIHA.3568@xxxxxxxxxxxxxxxxxxxxxxx
Paul,

Seem like way to much work. Simple (almost always) is best.

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications,
Fourth Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.






.


Quantcast