alternative to debug .print

Started by doc975 May 11, 2004
Hi all,

This is my first post. I would like to use com1 and com3 to send
data. com1 to pc and com3 to bob2 osd module. I have a wireless rs232
connection to my pc and if communication gets interupted using debug
print the system hangs. I am new to basicx and could really use some
help.

ken



From: doc975 <>

> This is my first post. I would like to use com1 and
> com3 to send data. com1 to pc and com3 to bob2 osd
> module.

Is the data output-only, or combination input and output?

> I have a wireless rs232 connection to my pc and if
> communication gets interupted using debug print the
> system hangs. I am new to basicx and could really use
> some help.

Are you using queues for output on Com1? If so, you generally
shouldn't mix queues and Debug.Print, unless you make sure the
Com1 output queue is completely flushed before you call
Debug.Print.

-- Frank Manning
-- NetMedia, Inc.


Hi There,

Have a look at the DirectCom1_IO.bas routines in the file section. I'm currently using these in same way as you I.e. using Com1: as the communications link to a PC and Com3: as the communications link to other hardware.

I use the DirectCom1_IO routines for Com1: and DefineCom3 for Com3:, The advantage of the DirectCom1IO routines is that they are bi-directional I.e. they have an equivalent of Debug.Print and a DebugInput routine for capture fro Com1:.

Hope this helps.

Steve ;-)

-----Original Message-----
From: Frank Manning [mailto:]
Sent: 12 May 2004 22:03
To:
Subject: Re: [BasicX] alternative to debug .print From: doc975 <>

> This is my first post. I would like to use com1 and
> com3 to send data. com1 to pc and com3 to bob2 osd
> module.

Is the data output-only, or combination input and output?

> I have a wireless rs232 connection to my pc and if
> communication gets interupted using debug print the
> system hangs. I am new to basicx and could really use
> some help.

Are you using queues for output on Com1? If so, you generally
shouldn't mix queues and Debug.Print, unless you make sure the
Com1 output queue is completely flushed before you call
Debug.Print.

-- Frank Manning
-- NetMedia, Inc.

<http://companion.yahoo.com>" target="_blank" rel="nofollow">http://rd.yahoo.com/SIG9h630j0/M)5196.4901138.6071305.3001176/D=groups/S06554205:HM/EXP84482249/A!28215/R=0/SIGse96mf6/*http://companion.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M)5196.4901138.6071305.3001176/D=groups/S=:HM/A!28215/randB8782573 _____

> .
This email is intended only for the above named addressee(s). The information contained in this email may contain information which is confidential. The views expressed in this email are personal to the sender and do not in any way reflect the views of the company. If you have received this email and you are not a named addressee, please contact the sender and then delete it from your system.



I think Steve meant Com1DirectIO.bas

Don Lewis

--- In , "Stephen Whittle" <stephenw@t...> wrote:
> Hi There,
>
> Have a look at the DirectCom1_IO.bas routines in the file section.
I'm currently using these in same way as you I.e. using Com1: as the
communications link to a PC and Com3: as the communications link to
other hardware.
>
> I use the DirectCom1_IO routines for Com1: and DefineCom3 for Com3:,
The advantage of the DirectCom1IO routines is that they are
bi-directional I.e. they have an equivalent of Debug.Print and a
DebugInput routine for capture fro Com1:.
>
> Hope this helps.
>
> Steve ;-)
>
> -----Original Message-----
> From: Frank Manning [mailto:fmanning@n...]
> Sent: 12 May 2004 22:03
> To:
> Subject: Re: [BasicX] alternative to debug .print > From: doc975 <doc975@y...>
>
> > This is my first post. I would like to use com1 and
> > com3 to send data. com1 to pc and com3 to bob2 osd
> > module.
>
> Is the data output-only, or combination input and output?
>
> > I have a wireless rs232 connection to my pc and if
> > communication gets interupted using debug print the
> > system hangs. I am new to basicx and could really use
> > some help.
>
> Are you using queues for output on Com1? If so, you generally
> shouldn't mix queues and Debug.Print, unless you make sure the
> Com1 output queue is completely flushed before you call
> Debug.Print.
>
> -- Frank Manning
> -- NetMedia, Inc.
<http://companion.yahoo.com>" target="_blank" rel="nofollow">http://rd.yahoo.com/SIG9h630j0/M)5196.4901138.6071305.3001176/D=groups/S06554205:HM/EXP84482249/A!28215/R=0/SIGse96mf6/*http://companion.yahoo.com>
click here
>
<http://us.adserver.yahoo.com/l?M)5196.4901138.6071305.3001176/D=groups/S=:HM/A!28215/randB8782573>

>
>
> _____
>
> > . >
> This email is intended only for the above named addressee(s). The
information contained in this email may contain information which is
confidential. The views expressed in this email are personal to the
sender and do not in any way reflect the views of the company. If you
have received this email and you are not a named addressee, please
contact the sender and then delete it from your system.




Yes your right Don, got mixed up, i re-named it due to some changes i made for my system.

Steve ;-)

-----Original Message-----
From: Don Lewis [mailto:]
Sent: 13 May 2004 17:27
To:
Subject: [BasicX] Re: alternative to debug .print I think Steve meant Com1DirectIO.bas

Don Lewis

--- In , "Stephen Whittle" <stephenw@t...> wrote:
> Hi There,
>
> Have a look at the DirectCom1_IO.bas routines in the file section.
I'm currently using these in same way as you I.e. using Com1: as the
communications link to a PC and Com3: as the communications link to
other hardware.
>
> I use the DirectCom1_IO routines for Com1: and DefineCom3 for Com3:,
The advantage of the DirectCom1IO routines is that they are
bi-directional I.e. they have an equivalent of Debug.Print and a
DebugInput routine for capture fro Com1:.
>
> Hope this helps.
>
> Steve ;-)
>
> -----Original Message-----
> From: Frank Manning [mailto:fmanning@n...]
> Sent: 12 May 2004 22:03
> To:
> Subject: Re: [BasicX] alternative to debug .print > From: doc975 <doc975@y...>
>
> > This is my first post. I would like to use com1 and
> > com3 to send data. com1 to pc and com3 to bob2 osd
> > module.
>
> Is the data output-only, or combination input and output?
>
> > I have a wireless rs232 connection to my pc and if
> > communication gets interupted using debug print the
> > system hangs. I am new to basicx and could really use
> > some help.
>
> Are you using queues for output on Com1? If so, you generally
> shouldn't mix queues and Debug.Print, unless you make sure the
> Com1 output queue is completely flushed before you call
> Debug.Print.
>
> -- Frank Manning
> -- NetMedia, Inc.
< http://companion.yahoo.com>" target="_blank" rel="nofollow">http://rd.yahoo.com/SIG9h630j0/M)5196.4901138.6071305.3001176/D=groups/S06554205:HM/EXP84482249/A!28215/R=0/SIGse96mf6/*http://companion.yahoo.com>
click here
>
< http://us.adserver.yahoo.com/l?M)5196.4901138.6071305.3001176/D=groups/S=:HM/A!28215/randB8782573>

>
>
> _____
>
> > . >
> This email is intended only for the above named addressee(s). The
information contained in this email may contain information which is
confidential. The views expressed in this email are personal to the
sender and do not in any way reflect the views of the company. If you
have received this email and you are not a named addressee, please
contact the sender and then delete it from your system.

<http://companion.yahoo.com>" target="_blank" rel="nofollow">http://rd.yahoo.com/SIG9tifj9g/M)5196.4901138.6071305.3001176/D=groups/S06554205:HM/EXP84552140/A!28215/R=0/SIGse96mf6/*http://companion.yahoo.com> click here
<http://us.adserver.yahoo.com/l?M)5196.4901138.6071305.3001176/D=groups/S=:HM/A!28215/randp1208180 _____

> .
This email is intended only for the above named addressee(s). The information contained in this email may contain information which is confidential. The views expressed in this email are personal to the sender and do not in any way reflect the views of the company. If you have received this email and you are not a named addressee, please contact the sender and then delete it from your system.