aldweb

Close I. aldweb

Close II. PC Freeware

Close III. Palm Freeware

Close IV. Palm Shareware

Close V. iziBasic Palm

Close VI. Palm Knowledge

Close VII. Pocket Computer

Close VIII. miniPortail

Special !



Mobile version of
the aldweb Site

m.aldweb.com


Neither French, nor English?

Try one of these flags then:
[de] [es] [it] [pt]
Search




Weather / Spam / www

Lyon Weather


aldweb against spam


Newsletter
To receive news about this website, consider subscribing to our Newsletter.
Subscribe
Unsubscribe
298 Subscribers
Family's web sites

Webmaster - Infos
Friends News
Visits

   visitors

   visitors online

Poll
What do you think of the new design of the aldweb Site?
 
Great !
Beautiful
Average
So ugly...
Results
forum.gifForum - iziBasic - Topic #982

Forum - Forum
iziBasic - iziBasic


Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257

active  Topic # 982  serial port in iziBasic

04/11/2004 @ 21:24
by aldweb

Anonymous



Dear all,

I copy & paste an e-mail exchange I had with someone, to keep you updated on the "serial port in iziBasic" topic.

[Privacy preserve] in these messages replaces the real name of the person who got in touch with me, for obvious reasons (I did not ask him permission before copying this e-mail exchange here, I will do right now!).

Cheers,
aldweb


----- Original Message -----
From: [Privacy preserve]
To: info@aldweb.com
Sent: Thursday, November 04, 2004 6:06 PM
Subject: serial port in iziBasic


Hello Laurent,
I am sorry that I write to this mail, but I cannot find forum about iziBasic on
http://www.aldweb.com .

My question is howto handle with serial port.
I inspired in Turbo Basic program, which I used several years ago:
20 ' *** do in circle till RTN$­­ not A(HEX41)
30 OPEN "COM2:4800,N,8,1,CS,DS,CD" FOR RANDOM AS #1
40 PRINT #1, "S1"
50 LINE INPUT #1, RTN$­­
60 RTN = ASC(RTN$­­)
100 PRINT "ERROR STATUS="; RTN
140 PRINT #1, "R1(0000,0050,A)"
215 CLOSE #1
320 END


In iziBasic help I found:
OPEN c|t FOR INPUT|OUTPUT|APPEND|RANDOM AS #v|n


For it I tested in already working program this construction:
OPEN "COM1:1200,N,8,1,CS,DS,CD" FOR RANDOM AS #1
CLOSE #1


I tested this variations of OPEN, bat all was bad:
OPEN "COM1:1200,N,8,1,CS,DS,CD" FOR RANDOM AS #1
OPEN "COM1:1200,N,8,1" FOR RANDOM AS #1
OPEN 'COM1:1200,N,8,1' FOR RANDOM AS #1
OPEN "COM:1200,N,8,1,CS,DS,CD" FOR RANDOM AS #1
OPEN "COM:1200,N,8,1" FOR RANDOM AS #1
OPEN 'COM:1200,N,8,1' FOR RANDOM AS #1


Do you can help me please how Open, close, read and write to serial port?
Thank you very much. You must not answer immediately to all. Only information, if iziBas know handle with COM or not will good for me now.

Best Regards
[Privacy preserve]
I use ZIRE 71 (When I connect serial cable, I listen info sound. If could be tested COM cable connection, it will good information for me too.)


----- Original Message -----
From: aldweb
To: [Privacy preserve]
Sent: Thursday, November 04, 2004 9:18 PM
Subject: Re: serial port in iziBasic


Dobri den [Privacy preserve]

The forum area is here: http://www.aldweb.com/fortopic.php?lng=en
And the dedidated iziBasic forum is here: http://www.aldweb.com/forum.php?lng=en&cat=80
Both can be accessed from the Forum icon in the top bar.

Currently, iziBasic does not manage the serial communications. I have no special plan for doing it for 2 reasons:
1. I never looked in the serial communication Palm OS APIs, but you made me curious about that so I will look just after I finish answering you
2. I have no device with a serial connector, just a USB connector, so I am not sure that I will be able to test what I program

But, meanwhile, you may very well workaround this limitation, by writing some PP applets to manage the serial communications.
This will require you to dig into the Palm OS APIs and to Pascal programming...

Cheers,
Laurent


@+
aldweb
Write to aldweb   Post an answer  Top
active topic active   closed topic closed   Sticky Sticky   New New message   -   Correct Correct message   Close Close topic   Make sticky Make sticky
[]
Forum Topic  Forum 



 
^ Top ^