To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.dactaOpen lugnet.dacta in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Dacta / 264
     
   
Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Sun, 10 Jan 2010 06:08:43 GMT
Viewed: 
16692 times
  

Hi,

I just added a demo file in the folder http://www.box.net/shared/xc44rksi2h.
It is called LegoMultiCLISetup.zip and contains the installable test application
for multiple (Max 3) CLIs.

I would appreciate if someone could try it with 2 or 3 CLIs at the same time and
give me some feedback.  I have only one CLI and cannot test this Multiple CLI
control feature.

Once installed, start the application, Select Com ports for the CLIs that are
connected to your PC.  Don't forget to put a "Checkmark" to the port you want to
use.

Press Start CLIs.  Pressing a Switch on port1 of any CLI will start motors on
port 1 of other CLIs.  Release the switch to stop motor(s).

Ex., If you use 3 CLIs, pressing a Switch on Port 1 of of CLI#1 will start
Motors on port 1 of CLI#2 and CLI#3.  A switch on port 1 of CLI#2 will
start/stop motors on CLI#1 & 3.

Thank you for your feedback.

Yves

   
         
   
Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Sun, 10 Jan 2010 22:53:17 GMT
Viewed: 
16825 times
  

In lugnet.dacta, Yves Levesque wrote:
Hi,

I just added a demo file in the folder http://www.box.net/shared/xc44rksi2h.
It is called LegoMultiCLISetup.zip and contains the installable test application
for multiple (Max 3) CLIs.

I would appreciate if someone could try it with 2 or 3 CLIs at the same time and
give me some feedback.  I have only one CLI and cannot test this Multiple CLI
control feature.

Once installed, start the application, Select Com ports for the CLIs that are
connected to your PC.  Don't forget to put a "Checkmark" to the port you want to
use.

Press Start CLIs.  Pressing a Switch on port1 of any CLI will start motors on
port 1 of other CLIs.  Release the switch to stop motor(s).

Ex., If you use 3 CLIs, pressing a Switch on Port 1 of of CLI#1 will start
Motors on port 1 of CLI#2 and CLI#3.  A switch on port 1 of CLI#2 will
start/stop motors on CLI#1 & 3.

Thank you for your feedback.

Yves

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

   
         
   
Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 02:23:03 GMT
Viewed: 
18663 times
  

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

   
         
   
Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 03:30:14 GMT
Viewed: 
16848 times
  

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.

   
         
   
Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 04:00:22 GMT
Viewed: 
13377 times
  

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

   
         
   
Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 05:10:20 GMT
Viewed: 
12812 times
  

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

 

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR