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 / *279 (-10)
Subject: 
Re: Need help testing 9751 Serial Interface
Newsgroups: 
lugnet.dacta
Date: 
Tue, 22 Mar 2011 07:02:53 GMT
Viewed: 
30901 times
  
More info from the buyer, in case this sheds any new light:

"I tried connecting to a couple of different computers and nothing.  I have used
a VB.Net program and a Java program, both supposedly working on windows XP SP3
with a usb to serial converter and/or serial cable, with the same results (No
response from the interface)."

Thanks,
-Jason


Subject: 
Need help testing 9751 Serial Interface
Newsgroups: 
lugnet.dacta
Date: 
Tue, 22 Mar 2011 06:48:41 GMT
Viewed: 
25901 times
  
Howdy-

I recently sold a 9701 set + 9751 serial interface & my buyer is having trouble
operating the 9751 interface.

I have 2 more such sets & observe the same behavior.

I plug in the AC adapter and the Stop & Power lights illuminate.


At this point, what can I do to test the interface or the inputs or the outputs?
I plugged a yellow switch onto a yellow interface plug & press the switch & see
no illumination.

I plug a blue light sensor onto a blue plug & the light sensor illuminates.


What else can I test, with or without a computer, to determine if it's
functioning properly?


Thank you very much,
-Jason


Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Sun, 18 Apr 2010 13:25:12 GMT
Viewed: 
18881 times
  
In lugnet.dacta, Brian Bachmeier wrote:
In lugnet.dacta, Yves Levesque wrote:
I just uploaded a PDF document to the "Box" url mentionned in the first message.
This document (Lego70909DLL.pdf) is a tutorial on how to make ControlLab
Interface (CLI)project in VB.NET using the proposed DLL.  It is also a reference
document that lists all Properties and Methods available from the CLI.

The document is in a preliminary stage and I will probably make some corrections
and I will also add some tips and tricks like how to add timing to CLI project
programs and how to make "One Shots" and more...

Yves

Thanks for the update.  The documentation is well written and organized.
I look forward to future updates.  If you need any help with testing or
anything, just drop me an email.

Brian

I guess I found this a week too late - "MS Visual Basic .NET 2008 Express
Edition" has been replaced with a "2010" version now.  MS .NET Framework has
also moved to V4.

Has anyone tried this with the new MS code?  Which of the four VB packages
should I download?  Choices are:
- Visual Web Developer 2010 Express
- Visual Basic 2010 Express
- Visual C# 2010 Express
- Visual C++ 2010 Express
I'm guessing it would be the second option, but I can't tell if it includes
support for VB.NET.

Thanks!

Eric.


Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Wed, 20 Jan 2010 02:08:22 GMT
Viewed: 
12949 times
  
In lugnet.dacta, Yves Levesque wrote:
I just uploaded a PDF document to the "Box" url mentionned in the first message.
This document (Lego70909DLL.pdf) is a tutorial on how to make ControlLab
Interface (CLI)project in VB.NET using the proposed DLL.  It is also a reference
document that lists all Properties and Methods available from the CLI.

The document is in a preliminary stage and I will probably make some corrections
and I will also add some tips and tricks like how to add timing to CLI project
programs and how to make "One Shots" and more...

Yves

Thanks for the update.  The documentation is well written and organized.
I look forward to future updates.  If you need any help with testing or
anything, just drop me an email.

Brian


Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Tue, 19 Jan 2010 05:09:59 GMT
Viewed: 
14958 times
  
In lugnet.dacta, Yves Levesque wrote:
Hi,

Here is my first attempt to build a VB.NET DLL class to facilitate somehow the
building of VB.NET programs that talk to the old ControlLab Interface "B",
70909.

http://www.box.net/shared/xc44rksi2h

This folder includes Source files and also setup files.
To RUN the DEMO applications you need Microsoft .NET Framework 3.5 SP1 (FREE)
already installed on your PC.
To use the Source, you need Vusal Basic .NET 2008 Express Edition. (FREE)



I just uploaded a PDF document to the "Box" url mentionned in the first message.
This document (Lego70909DLL.pdf) is a tutorial on how to make ControlLab
Interface (CLI)project in VB.NET using the proposed DLL.  It is also a reference
document that lists all Properties and Methods available from the CLI.

The document is in a preliminary stage and I will probably make some corrections
and I will also add some tips and tricks like how to add timing to CLI project
programs and how to make "One Shots" and more...

Yves


Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 05:10:20 GMT
Viewed: 
12825 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


Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 04:00:22 GMT
Viewed: 
13390 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 03:30:14 GMT
Viewed: 
16863 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 03:02:10 GMT
Viewed: 
16441 times
  
In lugnet.dacta, Brian Bachmeier wrote:
In lugnet.dacta, Jetro de Chateau wrote:

That sounds very promising! I have absolutely no idea about VB. My idea was to
build something for a display at a LUG event which would require the interface
to be connected to a laptop. Unfortunately, the only laptop I have that has a
serial port (the other 'big' problem of the interface) runs windows 98 and
cannot run XP - Will that be a problem?
Otherwise, do you think your VB application will work over a USB-Serial
converter? (robolab doesn't - I've tried half a dozen different adapters).

Jetro

I have not had any problems using the CLI with a Startech USB-Serial converter
on my laptop (running WinXP). I have also used the converter successfully with
Robolab 2.5.4 and 2.9.

http://www.startech.com/item/ICUSB232-USB-to-RS232-DB9-Serial-Adapter-Cable-Male-to-Male-Serial-Adapter-USB-to-Serial.aspx

Brian

I am using a Prolific USB-Serial Adapter for my CLI project and it works great.
I am using it on a Dell Latitude E6500 with Win XP SP3.

I don't believe my VB solution will work on windows 98 because it needs the
Microsoft .Net Framework 3.5 sp1 which, I think, does not install on win98.

I understand that this solution is still NOT the ultimate solution since VB.NET
is not as easy as simple lego logo langage.

I did choose VB.NET because I currently use VBA (Visual Basic for application)
that comes as part of all MS Office applications (Excel, Access).  VB.NET
express edition is Free and not that difficult to learn by ourself compare to
other langages.  A lot of good ref exist on the net.
And it offers lots of possibilities.  Not only it provides a way to make a
program to handle CLI's I/Os but it also gives a great Graphical User Interface
(GUI) where we can put Push Buttons and feedback indications, counters
indications etc...  (try Lego70909DemoSource.zip to have a look at the GUI for
testing all CLI's I/Os).

I could eventually write a PDF document that explains, step by step with images,
how to build a Lego CLI application in VB.NET if people shows interest in
building their own lego CLI project using my VB.NET DLL.

If you tell me what exactly you want to do with your CLI at your LUG event (What
is connected to your CLI I/Os, How many CLIs, A functionnal description
explaining the logic in relation to all I/Os.), I would be glad to build a
program for you.  As long as it is not a very long term contract ;-).


Yves.


Subject: 
Re: ControlLab 70909 Interface (9751?) VB.NET Class (DLL)
Newsgroups: 
lugnet.dacta
Date: 
Mon, 11 Jan 2010 02:23:03 GMT
Viewed: 
18678 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



Next Page:  5 more | 10 more | 20 more

Redisplay Messages:  Brief | Compact

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