|
In lugnet.dacta, Yves Levesque wrote:
> In lugnet.dacta, Brian Bachmeier wrote:
> >
> > I did some quick testing on the LegoMultiCLI program that you posted. I was able
> > to connect two CLIs to my computer as follows:
> >
> > CLI 1: connected to COM1 serial port
> > CLI 2: connected to COM6 (using USB to Serial adaptor)
> >
> > I ran the program and selected the appropriate COM ports and then hit the Start
> > button. I had a touch sensor connected to port 1 on CLI 1.
> > When I pressed the touch sensor, the output 1 did start properly on CLI 2.
> > When I released the touch sensor though, the output remained on. The input
> > light on CLI 1 would toggle on and off with each press of the sensor, but the
> > output on CLI 2 only reponded to the first press.
> >
> > I moved the touch sensor to CLI 2 and it had the same effect where the output on
> > CLI 1 only responded to the first press.
> >
> > Any ideas?
> >
> > I will try to get VB installed in the next couple days so that I can view the
> > source code files to help with some testing.
> >
> > Brian
>
>
> Thank you Brian. I made a mistake and corrected it I think. So you can
> download the updated file (same name) from the same url mentionned before.
>
> But according to what your saying, it sounds good.
>
> Thank you very much for your interest.
>
> Yves
Brian, I just put in the BOX folder the LegoMultiCLISource.zip file that is the
Source for the Multiple CLIs test demo project.
Thank you again for your help.
|
|
|
In lugnet.dacta, Yves Levesque wrote:
> In lugnet.dacta, Yves Levesque wrote:
> >
> >
> > Thank you Brian. I made a mistake and corrected it I think. So you can
> > download the updated file (same name) from the same url mentionned before.
> >
> > But according to what your saying, it sounds good.
> >
> > Thank you very much for your interest.
> >
> > Yves
>
>
> Brian, I just put in the BOX folder the LegoMultiCLISource.zip file that is the
> Source for the Multiple CLIs test demo project.
>
> Thank you again for your help.
The updated program works perfectly. At first I thought there was another issue
because one of the outputs (B) on the CLI with the touch sensor also went on....
but after checking the code I see you added that little surprise also (motorB on
CLI with touch sensor goes forward, motorA on other CLIs goes On Left).
Thanks very much for sharing your work. I can definitely imagine a lot of
different applications (train layouts with automated swtiches, lego contraptions
with many lights and motors etc).
I am not a Visual Basic expert but have written some simple programs in the
past, and the ability to easily program a nice windows interface is great.
Are you planning to put together some documentation (commands, declarations,
etc)?
Let me know if there is anything that I can help you out with, testing or
otherwise.
Brian
|
|
|
In lugnet.dacta, Brian Bachmeier wrote:
>
> The updated program works perfectly. At first I thought there was another issue
> because one of the outputs (B) on the CLI with the touch sensor also went on....
> but after checking the code I see you added that little surprise also (motorB on
> CLI with touch sensor goes forward, motorA on other CLIs goes On Left).
>
> Thanks very much for sharing your work. I can definitely imagine a lot of
> different applications (train layouts with automated swtiches, lego contraptions
> with many lights and motors etc).
>
> I am not a Visual Basic expert but have written some simple programs in the
> past, and the ability to easily program a nice windows interface is great.
>
> Are you planning to put together some documentation (commands, declarations,
> etc)?
>
> Let me know if there is anything that I can help you out with, testing or
> otherwise.
>
> Brian
Thank you for your quick feedback Brian.
Indeed, I added the Output 2 that follows the switch connected to the same CLI.
I did it while correcting the mistake you pointed out.
I actually have a lego light connected on this output 2...
I am planning in my spare time to build a PDF document that will explain all
Methods, Properties, declarations, sample program...). I might start with a
quick guide that list the Methods and Properties first and I will improve the
document regularly with more explanations and images...
I will update the BOX folder regularly and post msg here about significant
updates.
I am glad it works with 2 CLIs. I hope the response time was as good as one
CLI. The interest for this VB.NET project, according to me, is really the
possibility to build a program that controls multiple CLIs to increase the the
quantities of I/Os while keeping a fast response time.
Thanks again!
Yves
|
|
|