| View previous topic :: View next topic |
| Author |
Message |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Thu Jan 02, 2003 12:43 pm Post subject: RS-232 manipulation… |
|
|
Hi !,
I’m working on a serial communication (comport) project to send/receive data from/to a POS Customer Display. I’m using Tommys vdsserio Dll. So far everyting works fine!, but right now I’ve run into a problem!?!.
I need to check the hardware flow control (this device cannot use the xon/xoff control). So I need to Check/Set the comport status signals RTS/CTS, cause I have to
now if the device is busy or not.
My question: Do anyone knows howto do this within VDS, ?, vdsserio works fine with sending/receiving data but I think it's impossible to check the comport status from another program thus the port is hooked from the vdsserio dll.
Please help ?
// Dan |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Tue Jan 07, 2003 3:51 pm Post subject: |
|
|
Dan,
Sorry that I didn't reply before. The DLL contains an undocumented FLOWCONTROL command:
DLL SERIAL, FLOWCONTROL, XONOFF, <hexadecimal value of XON character>, <hexadecimal value of XOFF character>, <XON limit number>, <XOFF limit number>
DLL SERIAL, FLOWCONTROL, RTSCTS
DLL SERIAL, FLOWCONTROL, DTRDSR
I'm not sure though if these commands will make it work as if or that additional commands
should be added in in order to make the flow control methods useful.
Tommy |
|
| Back to top |
|
 |
DanTheMan Contributor


Joined: 15 Mar 2002 Posts: 56 Location: Sweden
|
Posted: Wed Jan 08, 2003 11:56 am Post subject: |
|
|
Thank's Tommy i'll tried the undocumented FLOWCONTROL but with no
luck ?. The serial,send command seemes to ignore this. But Thank's anyway.
PS. Do you have more info about the Delphi comm. part you used for this dll ?
Dan |
|
| Back to top |
|
 |
Tommy Admin Team
Joined: 16 Nov 2002 Posts: 746 Location: The Netherlands
|
Posted: Thu Jan 09, 2003 6:49 pm Post subject: |
|
|
I used the "Delphree - AsyncFree" components. I tried to use the communication port
API calls directly myself a while ago but it wouldn't work perfectly for some reason, so I just
used to components to be sure it would work well.
http://delphree.clexpert.com/pages/projects/asyncfree/default.htm |
|
| Back to top |
|
 |
kc7aad Contributor

Joined: 09 Oct 2005 Posts: 53 Location: Spokane Washington
|
Posted: Tue Sep 30, 2008 3:46 am Post subject: |
|
|
Anyone know where I can find the vdsserio Dll from Tommy??
Been looking for it, and hoping it will work in VDS5.
Thanks for any help!! |
|
| Back to top |
|
 |
DaveR Valued Contributor


Joined: 03 Sep 2005 Posts: 413 Location: Australia
|
Posted: Tue Sep 30, 2008 12:10 pm Post subject: |
|
|
| kc7aad wrote: | Anyone know where I can find the vdsserio Dll from Tommy??
Been looking for it, and hoping it will work in VDS5. |
It's part of his VDSDLL - see his signature above your post. Version 3.0 works with VDS 5. _________________ cheers
Dave |
|
| Back to top |
|
 |
|