dbTalk Databases Forums  

Comms IO Control

comp.databases.ms-access comp.databases.ms-access


Discuss Comms IO Control in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nigel Versfeld
 
Posts: n/a

Default Comms IO Control - 01-03-2005 , 03:26 PM






I am busy writing an application (Access 2000) which requires control of a
comm port to interrogate the status of some equipment. Can anyone point me
in the right direction as far as controlling the comm port goes ..... any
good third party software out there that can be used as the interface.

Regards

Nigel
nigel (AT) diversified-security (DOT) co.za



Reply With Quote
  #2  
Old   
MGFoster
 
Posts: n/a

Default Re: Comms IO Control - 01-03-2005 , 07:40 PM






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Saw this a while ago. Posted by rwr (AT) robcom (DOT) com:

open the COMPORT:
OPEN "COM1: 9600,N,8,1,CS,RS" FOR RANDOM AS #1

....read data like this:
incoming$ = incoming$ & INPUT$(LOC(1), #1)

....and write data like this:
PRINT #1, <string-expression>;

--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQdn0BYechKqOuFEgEQLvdwCg9KDaPaX1nLaoeVGmlYCHYg lu1DMAoKEc
q+J0xR1PbRmw98Ild9O7Sadp
=Liz5
-----END PGP SIGNATURE-----


Nigel Versfeld wrote:
Quote:
I am busy writing an application (Access 2000) which requires control of a
comm port to interrogate the status of some equipment. Can anyone point me
in the right direction as far as controlling the comm port goes ..... any
good third party software out there that can be used as the interface.

Regards

Nigel
nigel (AT) diversified-security (DOT) co.za

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.