forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


RS-232 manipulation…

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DanTheMan
Contributor
Contributor


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Thu Jan 02, 2003 12:43 pm    Post subject: RS-232 manipulation… Reply with quote

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
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Tue Jan 07, 2003 3:51 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
DanTheMan
Contributor
Contributor


Joined: 15 Mar 2002
Posts: 56
Location: Sweden

PostPosted: Wed Jan 08, 2003 11:56 am    Post subject: Reply with quote

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
View user's profile Send private message
Tommy
Admin Team


Joined: 16 Nov 2002
Posts: 746
Location: The Netherlands

PostPosted: Thu Jan 09, 2003 6:49 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
kc7aad
Contributor
Contributor


Joined: 09 Oct 2005
Posts: 53
Location: Spokane Washington

PostPosted: Tue Sep 30, 2008 3:46 am    Post subject: Reply with quote

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
View user's profile Send private message Yahoo Messenger
DaveR
Valued Contributor
Valued Contributor


Joined: 03 Sep 2005
Posts: 413
Location: Australia

PostPosted: Tue Sep 30, 2008 12:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group