SERIN troubles!
Archiver
Posts: 46,084
I am having weird trouble with SERIN. I have non with SEROUT by the
way! Here is the problem:
I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I can
send commands (open carriage, play frame etc) and can get
information back such as the current fram # etc.
From the BS2, I send commands to the DVD with no trouble at all
(however commands are slower to execute than through H-terminal).
The trouble is with receiving the information.
With H-Terminal, when I request current frame #, I send the unit ?F
<cr> and I get back 0000500 indicating frame 500. When I do this
from the BS2 I use the following code:
serData Var word
serout 0,16468,[noparse][[/noparse]"?F",cr]
pause 200 (I tried longer and shorter delays with no luck)
serin 1,16468,[noparse][[/noparse]serData]
debug serData.
What I get is a long pause, then a single number like a 0 on the
terminal window. If I send the command once more, the BS2 editor
freezes and then I have to force it to shut down.
Any idea of what's happening and how I can get it to accept the data
from the DVD? Is the fact there are many leading zeros is what
confusing the stamp?
Al Najjar
way! Here is the problem:
I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I can
send commands (open carriage, play frame etc) and can get
information back such as the current fram # etc.
From the BS2, I send commands to the DVD with no trouble at all
(however commands are slower to execute than through H-terminal).
The trouble is with receiving the information.
With H-Terminal, when I request current frame #, I send the unit ?F
<cr> and I get back 0000500 indicating frame 500. When I do this
from the BS2 I use the following code:
serData Var word
serout 0,16468,[noparse][[/noparse]"?F",cr]
pause 200 (I tried longer and shorter delays with no luck)
serin 1,16468,[noparse][[/noparse]serData]
debug serData.
What I get is a long pause, then a single number like a 0 on the
terminal window. If I send the command once more, the BS2 editor
freezes and then I have to force it to shut down.
Any idea of what's happening and how I can get it to accept the data
from the DVD? Is the fact there are many leading zeros is what
confusing the stamp?
Al Najjar
Comments
0000, the largest word you could receive is 65535 so 0000500
will not fit into a word size var. What is the largest
number you could receive. also remove the pause command.
Original Message
From: <brownstamp@y...>
To: <basicstamps@yahoogroups.com>
Sent: December 20, 2002 6:48 AM
Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> I am having weird trouble with SERIN. I have non with
SEROUT by the
> way! Here is the problem:
>
> I am using a Pioneer DVD7400 with RS232. From Hyper
Terminal, I can
> send commands (open carriage, play frame etc) and can get
> information back such as the current fram # etc.
>
> From the BS2, I send commands to the DVD with no trouble
at all
> (however commands are slower to execute than through
H-terminal).
> The trouble is with receiving the information.
>
> With H-Terminal, when I request current frame #, I send
the unit ?F
> <cr> and I get back 0000500 indicating frame 500. When I
do this
> from the BS2 I use the following code:
>
> serData Var word
> serout 0,16468,[noparse][[/noparse]"?F",cr]
> pause 200 (I tried longer and shorter delays
with no luck)
> serin 1,16468,[noparse][[/noparse]serData]
> debug serData.
>
> What I get is a long pause, then a single number like a 0
on the
> terminal window. If I send the command once more, the BS2
editor
> freezes and then I have to force it to shut down.
>
> Any idea of what's happening and how I can get it to
accept the data
> from the DVD? Is the fact there are many leading zeros is
what
> confusing the stamp?
>
>
> Al Najjar
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in
the Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
come with the Serin. Waiting for 0000 is fine but my frame number
can very well get up to 9999999 with a long DVD. How can I get the
large a value? Also, would that be a string or a number. So let's
say serData is now = 500, can I take that value and divide it by 2?
Al
--- In basicstamps@yahoogroups.com, "Larry Gaminde" <lgaminde@t...>
wrote:
> I would try using the wait modifier and wait for 00, or
> 0000, the largest word you could receive is 65535 so 0000500
> will not fit into a word size var. What is the largest
> number you could receive. also remove the pause command.
>
>
>
Original Message
> From: <brownstamp@y...>
> To: <basicstamps@yahoogroups.com>
> Sent: December 20, 2002 6:48 AM
> Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
>
>
> > I am having weird trouble with SERIN. I have non with
> SEROUT by the
> > way! Here is the problem:
> >
> > I am using a Pioneer DVD7400 with RS232. From Hyper
> Terminal, I can
> > send commands (open carriage, play frame etc) and can get
> > information back such as the current fram # etc.
> >
> > From the BS2, I send commands to the DVD with no trouble
> at all
> > (however commands are slower to execute than through
> H-terminal).
> > The trouble is with receiving the information.
> >
> > With H-Terminal, when I request current frame #, I send
> the unit ?F
> > <cr> and I get back 0000500 indicating frame 500. When I
> do this
> > from the BS2 I use the following code:
> >
> > serData Var word
> > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > pause 200 (I tried longer and shorter delays
> with no luck)
> > serin 1,16468,[noparse][[/noparse]serData]
> > debug serData.
> >
> > What I get is a long pause, then a single number like a 0
> on the
> > terminal window. If I send the command once more, the BS2
> editor
> > freezes and then I have to force it to shut down.
> >
> > Any idea of what's happening and how I can get it to
> accept the data
> > from the DVD? Is the fact there are many leading zeros is
> what
> > confusing the stamp?
> >
> >
> > Al Najjar
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in
> the Subject and Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
serString using a byte you could use the nib variable
instead and pick out your seven digits.
or you could use
n1 var nib
through
n7 var nib
serin 1,16468,[noparse][[/noparse]n1,n2,n3,n4,n5,n6,n7]
larry
Original Message
From: <brownstamp@y...>
To: <basicstamps@yahoogroups.com>
Sent: December 20, 2002 7:06 AM
Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> Thanks! I really need to better understand all the
modifiers that
> come with the Serin. Waiting for 0000 is fine but my
frame number
> can very well get up to 9999999 with a long DVD. How can
I get the
> large a value? Also, would that be a string or a number.
So let's
> say serData is now = 500, can I take that value and divide
it by 2?
>
> Al
>
>
>
> --- In basicstamps@yahoogroups.com, "Larry Gaminde"
<lgaminde@t...>
> wrote:
> > I would try using the wait modifier and wait for 00, or
> > 0000, the largest word you could receive is 65535 so
0000500
> > will not fit into a word size var. What is the largest
> > number you could receive. also remove the pause command.
> >
> >
> >
Original Message
> > From: <brownstamp@y...>
> > To: <basicstamps@yahoogroups.com>
> > Sent: December 20, 2002 6:48 AM
> > Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> >
> >
> > > I am having weird trouble with SERIN. I have non with
> > SEROUT by the
> > > way! Here is the problem:
> > >
> > > I am using a Pioneer DVD7400 with RS232. From Hyper
> > Terminal, I can
> > > send commands (open carriage, play frame etc) and can
get
> > > information back such as the current fram # etc.
> > >
> > > From the BS2, I send commands to the DVD with no
trouble
> > at all
> > > (however commands are slower to execute than through
> > H-terminal).
> > > The trouble is with receiving the information.
> > >
> > > With H-Terminal, when I request current frame #, I
send
> > the unit ?F
> > > <cr> and I get back 0000500 indicating frame 500.
When I
> > do this
> > > from the BS2 I use the following code:
> > >
> > > serData Var word
> > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > pause 200 (I tried longer and shorter delays
> > with no luck)
> > > serin 1,16468,[noparse][[/noparse]serData]
> > > debug serData.
> > >
> > > What I get is a long pause, then a single number like
a 0
> > on the
> > > terminal window. If I send the command once more, the
BS2
> > editor
> > > freezes and then I have to force it to shut down.
> > >
> > > Any idea of what's happening and how I can get it to
> > accept the data
> > > from the DVD? Is the fact there are many leading
zeros is
> > what
> > > confusing the stamp?
> > >
> > >
> > > Al Najjar
> > >
> > >
> > > To UNSUBSCRIBE, just send mail to:
> > > basicstamps-unsubscribe@yahoogroups.com
> > > from the same email address that you subscribed. Text
in
> > the Subject and Body of the message will be ignored.
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > >
> > >
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in
the Subject and Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
>
>
I tried both the solution on page 512 using the STR with the array
variable as well as your solution of n1,n2,n3 etc with no luck.. The
stamp still lock up and nothing comes out'
Is there any other solutions or insights? If you don't want to read
all of the threads, here is my problem:
I am having weird trouble with SERIN. I have non with SEROUT by the
way! Here is the problem:
I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I can
send commands (open carriage, play frame etc) and can get
information back such as the current fram # etc.
From the BS2, I send commands to the DVD with no trouble at all
(however commands are slower to execute than through H-terminal).
The trouble is with receiving the information.
With H-Terminal, when I request current frame #, I send the unit ?F
<cr> and I get back 0000500 indicating frame 500. When I do this
from the BS2 I use the following code:
serData Var word
serout 0,16468,[noparse][[/noparse]"?F",cr]
pause 200 (I tried longer and shorter delays with no luck)
serin 1,16468,[noparse][[/noparse]serData]
debug serData.
What I get is a long pause, then a single number like a 0 on the
terminal window. If I send the command once more, the BS2 editor
freezes and then I have to force it to shut down.
Any idea of what's happening and how I can get it to accept the data
from the DVD? Is the fact there are many leading zeros is what
confusing the stamp?
--- In basicstamps@yahoogroups.com, "Larry Gaminde" <lgaminde@t...>
wrote:
> On page 312 of the 1.9 manual it shows how to use the
> serString using a byte you could use the nib variable
> instead and pick out your seven digits.
>
>
> or you could use
> n1 var nib
> through
> n7 var nib
> serin 1,16468,[noparse][[/noparse]n1,n2,n3,n4,n5,n6,n7]
>
>
> larry
>
Original Message
> From: <brownstamp@y...>
> To: <basicstamps@yahoogroups.com>
> Sent: December 20, 2002 7:06 AM
> Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
>
>
> > Thanks! I really need to better understand all the
> modifiers that
> > come with the Serin. Waiting for 0000 is fine but my
> frame number
> > can very well get up to 9999999 with a long DVD. How can
> I get the
> > large a value? Also, would that be a string or a number.
> So let's
> > say serData is now = 500, can I take that value and divide
> it by 2?
> >
> > Al
> >
> >
> >
> > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> <lgaminde@t...>
> > wrote:
> > > I would try using the wait modifier and wait for 00, or
> > > 0000, the largest word you could receive is 65535 so
> 0000500
> > > will not fit into a word size var. What is the largest
> > > number you could receive. also remove the pause command.
> > >
> > >
> > >
Original Message
> > > From: <brownstamp@y...>
> > > To: <basicstamps@yahoogroups.com>
> > > Sent: December 20, 2002 6:48 AM
> > > Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> > >
> > >
> > > > I am having weird trouble with SERIN. I have non with
> > > SEROUT by the
> > > > way! Here is the problem:
> > > >
> > > > I am using a Pioneer DVD7400 with RS232. From Hyper
> > > Terminal, I can
> > > > send commands (open carriage, play frame etc) and can
> get
> > > > information back such as the current fram # etc.
> > > >
> > > > From the BS2, I send commands to the DVD with no
> trouble
> > > at all
> > > > (however commands are slower to execute than through
> > > H-terminal).
> > > > The trouble is with receiving the information.
> > > >
> > > > With H-Terminal, when I request current frame #, I
> send
> > > the unit ?F
> > > > <cr> and I get back 0000500 indicating frame 500.
> When I
> > > do this
> > > > from the BS2 I use the following code:
> > > >
> > > > serData Var word
> > > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > > pause 200 (I tried longer and shorter delays
> > > with no luck)
> > > > serin 1,16468,[noparse][[/noparse]serData]
> > > > debug serData.
> > > >
> > > > What I get is a long pause, then a single number like
> a 0
> > > on the
> > > > terminal window. If I send the command once more, the
> BS2
> > > editor
> > > > freezes and then I have to force it to shut down.
> > > >
> > > > Any idea of what's happening and how I can get it to
> > > accept the data
> > > > from the DVD? Is the fact there are many leading
> zeros is
> > > what
> > > > confusing the stamp?
> > > >
> > > >
> > > > Al Najjar
> > > >
> > > >
> > > > To UNSUBSCRIBE, just send mail to:
> > > > basicstamps-unsubscribe@yahoogroups.com
> > > > from the same email address that you subscribed. Text
> in
> > > the Subject and Body of the message will be ignored.
> > > >
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in
> the Subject and Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> >
> >
Original Message
From: <brownstamp@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, December 20, 2002 1:18 PM
Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> Thanks Larry,
>
> I tried both the solution on page 512 using the STR with the array
> variable as well as your solution of n1,n2,n3 etc with no luck.. The
> stamp still lock up and nothing comes out'
>
> Is there any other solutions or insights? If you don't want to read
> all of the threads, here is my problem:
>
> I am having weird trouble with SERIN. I have non with SEROUT by the
> way! Here is the problem:
>
> I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I can
> send commands (open carriage, play frame etc) and can get
> information back such as the current fram # etc.
>
> From the BS2, I send commands to the DVD with no trouble at all
> (however commands are slower to execute than through H-terminal).
> The trouble is with receiving the information.
>
> With H-Terminal, when I request current frame #, I send the unit ?F
> <cr> and I get back 0000500 indicating frame 500. When I do this
> from the BS2 I use the following code:
>
> serData Var word
> serout 0,16468,[noparse][[/noparse]"?F",cr]
> pause 200 (I tried longer and shorter delays with no luck)
> serin 1,16468,[noparse][[/noparse]serData]
> debug serData.
>
> What I get is a long pause, then a single number like a 0 on the
> terminal window. If I send the command once more, the BS2 editor
> freezes and then I have to force it to shut down.
>
> Any idea of what's happening and how I can get it to accept the data
> from the DVD? Is the fact there are many leading zeros is what
> confusing the stamp?
>
>
>
>
> --- In basicstamps@yahoogroups.com, "Larry Gaminde" <lgaminde@t...>
> wrote:
> > On page 312 of the 1.9 manual it shows how to use the
> > serString using a byte you could use the nib variable
> > instead and pick out your seven digits.
> >
> >
> > or you could use
> > n1 var nib
> > through
> > n7 var nib
> > serin 1,16468,[noparse][[/noparse]n1,n2,n3,n4,n5,n6,n7]
> >
> >
> > larry
> >
Original Message
> > From: <brownstamp@y...>
> > To: <basicstamps@yahoogroups.com>
> > Sent: December 20, 2002 7:06 AM
> > Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> >
> >
> > > Thanks! I really need to better understand all the
> > modifiers that
> > > come with the Serin. Waiting for 0000 is fine but my
> > frame number
> > > can very well get up to 9999999 with a long DVD. How can
> > I get the
> > > large a value? Also, would that be a string or a number.
> > So let's
> > > say serData is now = 500, can I take that value and divide
> > it by 2?
> > >
> > > Al
> > >
> > >
> > >
> > > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> > <lgaminde@t...>
> > > wrote:
> > > > I would try using the wait modifier and wait for 00, or
> > > > 0000, the largest word you could receive is 65535 so
> > 0000500
> > > > will not fit into a word size var. What is the largest
> > > > number you could receive. also remove the pause command.
> > > >
> > > >
> > > >
Original Message
> > > > From: <brownstamp@y...>
> > > > To: <basicstamps@yahoogroups.com>
> > > > Sent: December 20, 2002 6:48 AM
> > > > Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> > > >
> > > >
> > > > > I am having weird trouble with SERIN. I have non with
> > > > SEROUT by the
> > > > > way! Here is the problem:
> > > > >
> > > > > I am using a Pioneer DVD7400 with RS232. From Hyper
> > > > Terminal, I can
> > > > > send commands (open carriage, play frame etc) and can
> > get
> > > > > information back such as the current fram # etc.
> > > > >
> > > > > From the BS2, I send commands to the DVD with no
> > trouble
> > > > at all
> > > > > (however commands are slower to execute than through
> > > > H-terminal).
> > > > > The trouble is with receiving the information.
> > > > >
> > > > > With H-Terminal, when I request current frame #, I
> > send
> > > > the unit ?F
> > > > > <cr> and I get back 0000500 indicating frame 500.
> > When I
> > > > do this
> > > > > from the BS2 I use the following code:
> > > > >
> > > > > serData Var word
> > > > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > > > pause 200 (I tried longer and shorter delays
> > > > with no luck)
> > > > > serin 1,16468,[noparse][[/noparse]serData]
> > > > > debug serData.
> > > > >
> > > > > What I get is a long pause, then a single number like
> > a 0
> > > > on the
> > > > > terminal window. If I send the command once more, the
> > BS2
> > > > editor
> > > > > freezes and then I have to force it to shut down.
> > > > >
> > > > > Any idea of what's happening and how I can get it to
> > > > accept the data
> > > > > from the DVD? Is the fact there are many leading
> > zeros is
> > > > what
> > > > > confusing the stamp?
> > > > >
> > > > >
> > > > > Al Najjar
> > > > >
> > > > >
> > > > > To UNSUBSCRIBE, just send mail to:
> > > > > basicstamps-unsubscribe@yahoogroups.com
> > > > > from the same email address that you subscribed. Text
> > in
> > > > the Subject and Body of the message will be ignored.
> > > > >
> > > > >
> > > > > Your use of Yahoo! Groups is subject to
> > > > http://docs.yahoo.com/info/terms/
> > > > >
> > > > >
> > >
> > >
> > > To UNSUBSCRIBE, just send mail to:
> > > basicstamps-unsubscribe@yahoogroups.com
> > > from the same email address that you subscribed. Text in
> > the Subject and Body of the message will be ignored.
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > >
> > >
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
--- In basicstamps@yahoogroups.com, Mike Blier <w6ffc@p...> wrote:
> Which flavor of the BS2 are u using?
>
>
Original Message
> From: <brownstamp@y...>
> To: <basicstamps@yahoogroups.com>
> Sent: Friday, December 20, 2002 1:18 PM
> Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
>
>
> > Thanks Larry,
> >
> > I tried both the solution on page 512 using the STR with the
array
> > variable as well as your solution of n1,n2,n3 etc with no luck..
The
> > stamp still lock up and nothing comes out'
> >
> > Is there any other solutions or insights? If you don't want to
read
> > all of the threads, here is my problem:
> >
> > I am having weird trouble with SERIN. I have non with SEROUT by
the
> > way! Here is the problem:
> >
> > I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I
can
> > send commands (open carriage, play frame etc) and can get
> > information back such as the current fram # etc.
> >
> > From the BS2, I send commands to the DVD with no trouble at all
> > (however commands are slower to execute than through H-terminal).
> > The trouble is with receiving the information.
> >
> > With H-Terminal, when I request current frame #, I send the
unit ?F
> > <cr> and I get back 0000500 indicating frame 500. When I do this
> > from the BS2 I use the following code:
> >
> > serData Var word
> > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > pause 200 (I tried longer and shorter delays with no luck)
> > serin 1,16468,[noparse][[/noparse]serData]
> > debug serData.
> >
> > What I get is a long pause, then a single number like a 0 on the
> > terminal window. If I send the command once more, the BS2 editor
> > freezes and then I have to force it to shut down.
> >
> > Any idea of what's happening and how I can get it to accept the
data
> > from the DVD? Is the fact there are many leading zeros is what
> > confusing the stamp?
> >
> >
> >
> >
> > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
<lgaminde@t...>
> > wrote:
> > > On page 312 of the 1.9 manual it shows how to use the
> > > serString using a byte you could use the nib variable
> > > instead and pick out your seven digits.
> > >
> > >
> > > or you could use
> > > n1 var nib
> > > through
> > > n7 var nib
> > > serin 1,16468,[noparse][[/noparse]n1,n2,n3,n4,n5,n6,n7]
> > >
> > >
> > > larry
> > >
Original Message
> > > From: <brownstamp@y...>
> > > To: <basicstamps@yahoogroups.com>
> > > Sent: December 20, 2002 7:06 AM
> > > Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> > >
> > >
> > > > Thanks! I really need to better understand all the
> > > modifiers that
> > > > come with the Serin. Waiting for 0000 is fine but my
> > > frame number
> > > > can very well get up to 9999999 with a long DVD. How can
> > > I get the
> > > > large a value? Also, would that be a string or a number.
> > > So let's
> > > > say serData is now = 500, can I take that value and divide
> > > it by 2?
> > > >
> > > > Al
> > > >
> > > >
> > > >
> > > > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> > > <lgaminde@t...>
> > > > wrote:
> > > > > I would try using the wait modifier and wait for 00, or
> > > > > 0000, the largest word you could receive is 65535 so
> > > 0000500
> > > > > will not fit into a word size var. What is the largest
> > > > > number you could receive. also remove the pause command.
> > > > >
> > > > >
> > > > >
Original Message
> > > > > From: <brownstamp@y...>
> > > > > To: <basicstamps@yahoogroups.com>
> > > > > Sent: December 20, 2002 6:48 AM
> > > > > Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> > > > >
> > > > >
> > > > > > I am having weird trouble with SERIN. I have non with
> > > > > SEROUT by the
> > > > > > way! Here is the problem:
> > > > > >
> > > > > > I am using a Pioneer DVD7400 with RS232. From Hyper
> > > > > Terminal, I can
> > > > > > send commands (open carriage, play frame etc) and can
> > > get
> > > > > > information back such as the current fram # etc.
> > > > > >
> > > > > > From the BS2, I send commands to the DVD with no
> > > trouble
> > > > > at all
> > > > > > (however commands are slower to execute than through
> > > > > H-terminal).
> > > > > > The trouble is with receiving the information.
> > > > > >
> > > > > > With H-Terminal, when I request current frame #, I
> > > send
> > > > > the unit ?F
> > > > > > <cr> and I get back 0000500 indicating frame 500.
> > > When I
> > > > > do this
> > > > > > from the BS2 I use the following code:
> > > > > >
> > > > > > serData Var word
> > > > > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > > > > pause 200 (I tried longer and shorter delays
> > > > > with no luck)
> > > > > > serin 1,16468,[noparse][[/noparse]serData]
> > > > > > debug serData.
> > > > > >
> > > > > > What I get is a long pause, then a single number like
> > > a 0
> > > > > on the
> > > > > > terminal window. If I send the command once more, the
> > > BS2
> > > > > editor
> > > > > > freezes and then I have to force it to shut down.
> > > > > >
> > > > > > Any idea of what's happening and how I can get it to
> > > > > accept the data
> > > > > > from the DVD? Is the fact there are many leading
> > > zeros is
> > > > > what
> > > > > > confusing the stamp?
> > > > > >
> > > > > >
> > > > > > Al Najjar
> > > > > >
> > > > > >
> > > > > > To UNSUBSCRIBE, just send mail to:
> > > > > > basicstamps-unsubscribe@yahoogroups.com
> > > > > > from the same email address that you subscribed. Text
> > > in
> > > > > the Subject and Body of the message will be ignored.
> > > > > >
> > > > > >
> > > > > > Your use of Yahoo! Groups is subject to
> > > > > http://docs.yahoo.com/info/terms/
> > > > > >
> > > > > >
> > > >
> > > >
> > > > To UNSUBSCRIBE, just send mail to:
> > > > basicstamps-unsubscribe@yahoogroups.com
> > > > from the same email address that you subscribed. Text in
> > > the Subject and Body of the message will be ignored.
> > > >
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the
Subject and
> Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
Just for grins why don't you try 84 for the baudmode value in case the
data is non-inverted. This brings up another point. Is the data from your
DVD machine "true" RS232 levels? (+- 12-15 volts??) If so are you recieving
the data from the DVD through something like a MAX232? Perhaps the data
FROM the DVD is TTL?? (It matters)
If you don't have the current manual (version 2.0c) go to the website
and download it. Look on page 277 at the note under the baud rate table
about the possibility of a read problem at 9600 baud. If all the things
above are ok then (if you can) try lowering the DVD baud rate to say 2400
and see if that helps. It will at least give a clue to the problem..
Mike B.
Original Message
From: <brownstamp@y...>
To: <basicstamps@yahoogroups.com>
Sent: Friday, December 20, 2002 2:28 PM
Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> BS2!
>
> --- In basicstamps@yahoogroups.com, Mike Blier <w6ffc@p...> wrote:
> > Which flavor of the BS2 are u using?
> >
> >
Original Message
> > From: <brownstamp@y...>
> > To: <basicstamps@yahoogroups.com>
> > Sent: Friday, December 20, 2002 1:18 PM
> > Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> >
> >
> > > Thanks Larry,
> > >
> > > I tried both the solution on page 512 using the STR with the
> array
> > > variable as well as your solution of n1,n2,n3 etc with no luck..
> The
> > > stamp still lock up and nothing comes out'
> > >
> > > Is there any other solutions or insights? If you don't want to
> read
> > > all of the threads, here is my problem:
> > >
> > > I am having weird trouble with SERIN. I have non with SEROUT by
> the
> > > way! Here is the problem:
> > >
> > > I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I
> can
> > > send commands (open carriage, play frame etc) and can get
> > > information back such as the current fram # etc.
> > >
> > > From the BS2, I send commands to the DVD with no trouble at all
> > > (however commands are slower to execute than through H-terminal).
> > > The trouble is with receiving the information.
> > >
> > > With H-Terminal, when I request current frame #, I send the
> unit ?F
> > > <cr> and I get back 0000500 indicating frame 500. When I do this
> > > from the BS2 I use the following code:
> > >
> > > serData Var word
> > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > pause 200 (I tried longer and shorter delays with no luck)
> > > serin 1,16468,[noparse][[/noparse]serData]
> > > debug serData.
> > >
> > > What I get is a long pause, then a single number like a 0 on the
> > > terminal window. If I send the command once more, the BS2 editor
> > > freezes and then I have to force it to shut down.
> > >
> > > Any idea of what's happening and how I can get it to accept the
> data
> > > from the DVD? Is the fact there are many leading zeros is what
> > > confusing the stamp?
> > >
> > >
> > >
> > >
> > > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> <lgaminde@t...>
> > > wrote:
> > > > On page 312 of the 1.9 manual it shows how to use the
> > > > serString using a byte you could use the nib variable
> > > > instead and pick out your seven digits.
> > > >
> > > >
> > > > or you could use
> > > > n1 var nib
> > > > through
> > > > n7 var nib
> > > > serin 1,16468,[noparse][[/noparse]n1,n2,n3,n4,n5,n6,n7]
> > > >
> > > >
> > > > larry
> > > >
Original Message
> > > > From: <brownstamp@y...>
> > > > To: <basicstamps@yahoogroups.com>
> > > > Sent: December 20, 2002 7:06 AM
> > > > Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> > > >
> > > >
> > > > > Thanks! I really need to better understand all the
> > > > modifiers that
> > > > > come with the Serin. Waiting for 0000 is fine but my
> > > > frame number
> > > > > can very well get up to 9999999 with a long DVD. How can
> > > > I get the
> > > > > large a value? Also, would that be a string or a number.
> > > > So let's
> > > > > say serData is now = 500, can I take that value and divide
> > > > it by 2?
> > > > >
> > > > > Al
> > > > >
> > > > >
> > > > >
> > > > > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> > > > <lgaminde@t...>
> > > > > wrote:
> > > > > > I would try using the wait modifier and wait for 00, or
> > > > > > 0000, the largest word you could receive is 65535 so
> > > > 0000500
> > > > > > will not fit into a word size var. What is the largest
> > > > > > number you could receive. also remove the pause command.
> > > > > >
> > > > > >
> > > > > >
Original Message
> > > > > > From: <brownstamp@y...>
> > > > > > To: <basicstamps@yahoogroups.com>
> > > > > > Sent: December 20, 2002 6:48 AM
> > > > > > Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> > > > > >
> > > > > >
> > > > > > > I am having weird trouble with SERIN. I have non with
> > > > > > SEROUT by the
> > > > > > > way! Here is the problem:
> > > > > > >
> > > > > > > I am using a Pioneer DVD7400 with RS232. From Hyper
> > > > > > Terminal, I can
> > > > > > > send commands (open carriage, play frame etc) and can
> > > > get
> > > > > > > information back such as the current fram # etc.
> > > > > > >
> > > > > > > From the BS2, I send commands to the DVD with no
> > > > trouble
> > > > > > at all
> > > > > > > (however commands are slower to execute than through
> > > > > > H-terminal).
> > > > > > > The trouble is with receiving the information.
> > > > > > >
> > > > > > > With H-Terminal, when I request current frame #, I
> > > > send
> > > > > > the unit ?F
> > > > > > > <cr> and I get back 0000500 indicating frame 500.
> > > > When I
> > > > > > do this
> > > > > > > from the BS2 I use the following code:
> > > > > > >
> > > > > > > serData Var word
> > > > > > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > > > > > pause 200 (I tried longer and shorter delays
> > > > > > with no luck)
> > > > > > > serin 1,16468,[noparse][[/noparse]serData]
> > > > > > > debug serData.
> > > > > > >
> > > > > > > What I get is a long pause, then a single number like
> > > > a 0
> > > > > > on the
> > > > > > > terminal window. If I send the command once more, the
> > > > BS2
> > > > > > editor
> > > > > > > freezes and then I have to force it to shut down.
> > > > > > >
> > > > > > > Any idea of what's happening and how I can get it to
> > > > > > accept the data
> > > > > > > from the DVD? Is the fact there are many leading
> > > > zeros is
> > > > > > what
> > > > > > > confusing the stamp?
> > > > > > >
> > > > > > >
> > > > > > > Al Najjar
> > > > > > >
> > > > > > >
> > > > > > > To UNSUBSCRIBE, just send mail to:
> > > > > > > basicstamps-unsubscribe@yahoogroups.com
> > > > > > > from the same email address that you subscribed. Text
> > > > in
> > > > > > the Subject and Body of the message will be ignored.
> > > > > > >
> > > > > > >
> > > > > > > Your use of Yahoo! Groups is subject to
> > > > > > http://docs.yahoo.com/info/terms/
> > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > > To UNSUBSCRIBE, just send mail to:
> > > > > basicstamps-unsubscribe@yahoogroups.com
> > > > > from the same email address that you subscribed. Text in
> > > > the Subject and Body of the message will be ignored.
> > > > >
> > > > >
> > > > > Your use of Yahoo! Groups is subject to
> > > > http://docs.yahoo.com/info/terms/
> > > > >
> > > > >
> > >
> > >
> > > To UNSUBSCRIBE, just send mail to:
> > > basicstamps-unsubscribe@yahoogroups.com
> > > from the same email address that you subscribed. Text in the
> Subject and
> > Body of the message will be ignored.
> > >
> > >
> > > Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
> > >
> > >
> > >
>
>
> To UNSUBSCRIBE, just send mail to:
> basicstamps-unsubscribe@yahoogroups.com
> from the same email address that you subscribed. Text in the Subject and
Body of the message will be ignored.
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
the numbers I was getting from the DVD are a byte for each
character. Thanks for your help
Al
--- In basicstamps@yahoogroups.com, Mike Blier <w6ffc@p...> wrote:
> Ok, I'll assume you mean the plain BS2 and not the E, SX or P
versions.
>
> Just for grins why don't you try 84 for the baudmode value in
case the
> data is non-inverted. This brings up another point. Is the data
from your
> DVD machine "true" RS232 levels? (+- 12-15 volts??) If so are you
recieving
> the data from the DVD through something like a MAX232? Perhaps
the data
> FROM the DVD is TTL?? (It matters)
>
> If you don't have the current manual (version 2.0c) go to the
website
> and download it. Look on page 277 at the note under the baud rate
table
> about the possibility of a read problem at 9600 baud. If all the
things
> above are ok then (if you can) try lowering the DVD baud rate to
say 2400
> and see if that helps. It will at least give a clue to the
problem..
>
> Mike B.
>
>
>
Original Message
> From: <brownstamp@y...>
> To: <basicstamps@yahoogroups.com>
> Sent: Friday, December 20, 2002 2:28 PM
> Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
>
>
> > BS2!
> >
> > --- In basicstamps@yahoogroups.com, Mike Blier <w6ffc@p...>
wrote:
> > > Which flavor of the BS2 are u using?
> > >
> > >
Original Message
> > > From: <brownstamp@y...>
> > > To: <basicstamps@yahoogroups.com>
> > > Sent: Friday, December 20, 2002 1:18 PM
> > > Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> > >
> > >
> > > > Thanks Larry,
> > > >
> > > > I tried both the solution on page 512 using the STR with the
> > array
> > > > variable as well as your solution of n1,n2,n3 etc with no
luck..
> > The
> > > > stamp still lock up and nothing comes out'
> > > >
> > > > Is there any other solutions or insights? If you don't want
to
> > read
> > > > all of the threads, here is my problem:
> > > >
> > > > I am having weird trouble with SERIN. I have non with SEROUT
by
> > the
> > > > way! Here is the problem:
> > > >
> > > > I am using a Pioneer DVD7400 with RS232. From Hyper
Terminal, I
> > can
> > > > send commands (open carriage, play frame etc) and can get
> > > > information back such as the current fram # etc.
> > > >
> > > > From the BS2, I send commands to the DVD with no trouble at
all
> > > > (however commands are slower to execute than through H-
terminal).
> > > > The trouble is with receiving the information.
> > > >
> > > > With H-Terminal, when I request current frame #, I send the
> > unit ?F
> > > > <cr> and I get back 0000500 indicating frame 500. When I do
this
> > > > from the BS2 I use the following code:
> > > >
> > > > serData Var word
> > > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > > pause 200 (I tried longer and shorter delays with no luck)
> > > > serin 1,16468,[noparse][[/noparse]serData]
> > > > debug serData.
> > > >
> > > > What I get is a long pause, then a single number like a 0 on
the
> > > > terminal window. If I send the command once more, the BS2
editor
> > > > freezes and then I have to force it to shut down.
> > > >
> > > > Any idea of what's happening and how I can get it to accept
the
> > data
> > > > from the DVD? Is the fact there are many leading zeros is
what
> > > > confusing the stamp?
> > > >
> > > >
> > > >
> > > >
> > > > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> > <lgaminde@t...>
> > > > wrote:
> > > > > On page 312 of the 1.9 manual it shows how to use the
> > > > > serString using a byte you could use the nib variable
> > > > > instead and pick out your seven digits.
> > > > >
> > > > >
> > > > > or you could use
> > > > > n1 var nib
> > > > > through
> > > > > n7 var nib
> > > > > serin 1,16468,[noparse][[/noparse]n1,n2,n3,n4,n5,n6,n7]
> > > > >
> > > > >
> > > > > larry
> > > > >
Original Message
> > > > > From: <brownstamp@y...>
> > > > > To: <basicstamps@yahoogroups.com>
> > > > > Sent: December 20, 2002 7:06 AM
> > > > > Subject: [noparse][[/noparse]basicstamps] Re: SERIN troubles!
> > > > >
> > > > >
> > > > > > Thanks! I really need to better understand all the
> > > > > modifiers that
> > > > > > come with the Serin. Waiting for 0000 is fine but my
> > > > > frame number
> > > > > > can very well get up to 9999999 with a long DVD. How can
> > > > > I get the
> > > > > > large a value? Also, would that be a string or a number.
> > > > > So let's
> > > > > > say serData is now = 500, can I take that value and
divide
> > > > > it by 2?
> > > > > >
> > > > > > Al
> > > > > >
> > > > > >
> > > > > >
> > > > > > --- In basicstamps@yahoogroups.com, "Larry Gaminde"
> > > > > <lgaminde@t...>
> > > > > > wrote:
> > > > > > > I would try using the wait modifier and wait for 00, or
> > > > > > > 0000, the largest word you could receive is 65535 so
> > > > > 0000500
> > > > > > > will not fit into a word size var. What is the largest
> > > > > > > number you could receive. also remove the pause
command.
> > > > > > >
> > > > > > >
> > > > > > >
Original Message
> > > > > > > From: <brownstamp@y...>
> > > > > > > To: <basicstamps@yahoogroups.com>
> > > > > > > Sent: December 20, 2002 6:48 AM
> > > > > > > Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
> > > > > > >
> > > > > > >
> > > > > > > > I am having weird trouble with SERIN. I have non
with
> > > > > > > SEROUT by the
> > > > > > > > way! Here is the problem:
> > > > > > > >
> > > > > > > > I am using a Pioneer DVD7400 with RS232. From Hyper
> > > > > > > Terminal, I can
> > > > > > > > send commands (open carriage, play frame etc) and can
> > > > > get
> > > > > > > > information back such as the current fram # etc.
> > > > > > > >
> > > > > > > > From the BS2, I send commands to the DVD with no
> > > > > trouble
> > > > > > > at all
> > > > > > > > (however commands are slower to execute than through
> > > > > > > H-terminal).
> > > > > > > > The trouble is with receiving the information.
> > > > > > > >
> > > > > > > > With H-Terminal, when I request current frame #, I
> > > > > send
> > > > > > > the unit ?F
> > > > > > > > <cr> and I get back 0000500 indicating frame 500.
> > > > > When I
> > > > > > > do this
> > > > > > > > from the BS2 I use the following code:
> > > > > > > >
> > > > > > > > serData Var word
> > > > > > > > serout 0,16468,[noparse][[/noparse]"?F",cr]
> > > > > > > > pause 200 (I tried longer and shorter
delays
> > > > > > > with no luck)
> > > > > > > > serin 1,16468,[noparse][[/noparse]serData]
> > > > > > > > debug serData.
> > > > > > > >
> > > > > > > > What I get is a long pause, then a single number like
> > > > > a 0
> > > > > > > on the
> > > > > > > > terminal window. If I send the command once more,
the
> > > > > BS2
> > > > > > > editor
> > > > > > > > freezes and then I have to force it to shut down.
> > > > > > > >
> > > > > > > > Any idea of what's happening and how I can get it to
> > > > > > > accept the data
> > > > > > > > from the DVD? Is the fact there are many leading
> > > > > zeros is
> > > > > > > what
> > > > > > > > confusing the stamp?
> > > > > > > >
> > > > > > > >
> > > > > > > > Al Najjar
> > > > > > > >
> > > > > > > >
> > > > > > > > To UNSUBSCRIBE, just send mail to:
> > > > > > > > basicstamps-unsubscribe@yahoogroups.com
> > > > > > > > from the same email address that you subscribed.
Text
> > > > > in
> > > > > > > the Subject and Body of the message will be ignored.
> > > > > > > >
> > > > > > > >
> > > > > > > > Your use of Yahoo! Groups is subject to
> > > > > > > http://docs.yahoo.com/info/terms/
> > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > > > > To UNSUBSCRIBE, just send mail to:
> > > > > > basicstamps-unsubscribe@yahoogroups.com
> > > > > > from the same email address that you subscribed. Text in
> > > > > the Subject and Body of the message will be ignored.
> > > > > >
> > > > > >
> > > > > > Your use of Yahoo! Groups is subject to
> > > > > http://docs.yahoo.com/info/terms/
> > > > > >
> > > > > >
> > > >
> > > >
> > > > To UNSUBSCRIBE, just send mail to:
> > > > basicstamps-unsubscribe@yahoogroups.com
> > > > from the same email address that you subscribed. Text in the
> > Subject and
> > > Body of the message will be ignored.
> > > >
> > > >
> > > > Your use of Yahoo! Groups is subject to
> > http://docs.yahoo.com/info/terms/
> > > >
> > > >
> > > >
> >
> >
> > To UNSUBSCRIBE, just send mail to:
> > basicstamps-unsubscribe@yahoogroups.com
> > from the same email address that you subscribed. Text in the
Subject and
> Body of the message will be ignored.
> >
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
> >
b var word
serout 0,16468,[noparse][[/noparse]"?F,cr]
serin 1,16468,1000,[noparse][[/noparse]dec b]
the 1000 in milliseconds is the timeout or the time that the pin will listen for
the response from the DVD player.
Page 311 of the 1.9 manual describes the DEC numeric modifier among others.
I hope this is of some help to you.
Good Luck and Happy Holidays!!
Deneb
Original Message
From: brownstamp <brownstamp@y...> [noparse]/noparse]mailto:[url=http://forums.parallaxinc.com/group/basicstamps/post?postID=BVoW3YXJD9tS9LEPNnGCRhQUC3fe6jCVQCqzxXn4UcGjpDhh2EOZmycsWbXAh_rjdXfUrhkkSUpYTeYwCw]brownstamp@y...[/url
Sent: Friday, December 20, 2002 6:48 AM
To: basicstamps@yahoogroups.com
Subject: [noparse][[/noparse]basicstamps] SERIN troubles!
I am having weird trouble with SERIN. I have non with SEROUT by the
way! Here is the problem:
I am using a Pioneer DVD7400 with RS232. From Hyper Terminal, I can
send commands (open carriage, play frame etc) and can get
information back such as the current fram # etc.
From the BS2, I send commands to the DVD with no trouble at all
(however commands are slower to execute than through H-terminal).
The trouble is with receiving the information.
With H-Terminal, when I request current frame #, I send the unit ?F
<cr> and I get back 0000500 indicating frame 500. When I do this
from the BS2 I use the following code:
serData Var word
serout 0,16468,[noparse][[/noparse]"?F",cr]
pause 200 (I tried longer and shorter delays with no luck)
serin 1,16468,[noparse][[/noparse]serData]
debug serData.
What I get is a long pause, then a single number like a 0 on the
terminal window. If I send the command once more, the BS2 editor
freezes and then I have to force it to shut down.
Any idea of what's happening and how I can get it to accept the data
from the DVD? Is the fact there are many leading zeros is what
confusing the stamp?
Al Najjar
To UNSUBSCRIBE, just send mail to:
basicstamps-unsubscribe@yahoogroups.com
from the same email address that you subscribed. Text in the Subject and Body
of the message will be ignored.
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/