Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

Re: [AVR-Chat] Data Logger -> Butterfly

Re: [AVR-Chat] Data Logger -> Butterfly

2006-03-12 by Geo

On 12 Mar 2006, at 14:09, Chuck Hackett wrote:

> I need a Visual Basic Express (the free version of VB is the only programming
> platform I have on the PC) that I can run on a Windows XP PC and connect to my
> Butterfly via a serial port, and accept a data steam for view on the PC.  
> 
> At the minimum I need to be able to be able to create a data file that can be
> imported into Excel (CSV - Comma Separated, etc.)

No VB but have a look at the following site - you have to subscribe to their newsletter but 
in fact it has some good tips:-
http://www.windmill.co.uk/rs232.html

"Most instruments with an RS232 serial port can be incorporated into a computerised 
measurement system with the free Windmill LabIML software.

LabIML is a universal driver for instruments that send or accept ASCII messages over 
RS232. It automatically feeds data from the instruments to Windows application 
software. You could, for example, show readings from a GPS receiver and a sonar in 
an Excel spreadsheet, or data from an electronic balance in Windmill's own Chart 
program. "

luck,

George Smith

Data Logger -> Butterfly

2006-03-12 by Chuck Hackett

I am adapting a Butterfly to a small control application as part of my efforts
to become more 'fluent' in AVR applications.  I'm progressing in the AVR code
but I have a non-AVR need that I'm sure someone on this list has dealt with in
the past and I'd rather not re-invent the wheel ...

I need a Visual Basic Express (the free version of VB is the only programming
platform I have on the PC) that I can run on a Windows XP PC and connect to my
Butterfly via a serial port, and accept a data steam for view on the PC.  

At the minimum I need to be able to be able to create a data file that can be
imported into Excel (CSV - Comma Separated, etc.)

It would be nice if I could display a simple graph in real time as the data is
coming in (to see that I'm getting what I expect) as well as being able to send
simple commands to the Butterfly but this isn't required.

If anyone has VB code that I can tailor to my needs I'd be grateful.

I have searched Sorceforge with no luck.  I am currently making my way through a
mountain of sites via Google (trying to sort the 'wheat' from the 'chaff' <g>).

Thanks in advance ...

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

RE: [AVR-Chat] Data Logger -> Butterfly

2006-03-13 by Daniel Boyer

I assume that when you say VB Express you mean the new one with .NET 2.0 ...
If that is the case then what you want to do is super easy.  I have some
code laying around that is in C# that I used to send commands to my
butterfly; receiving is just as easy.  Just search the help file(s);
basically you just add a SerialPort component to your application from the
toolbox, set your com port settings via properties and then make a
DataReceived event handler (the event is already defined in properties).  If
you really can't figure it out, email me off list and I can help you out.
Daniel
dpboyer@dpicts.com
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Chuck Hackett
Sent: Sunday, March 12, 2006 3:09 PM
To: AVR-Chat
Subject: [AVR-Chat] Data Logger -> Butterfly

I am adapting a Butterfly to a small control application as part of my
efforts to become more 'fluent' in AVR applications.  I'm progressing in the
AVR code but I have a non-AVR need that I'm sure someone on this list has
dealt with in the past and I'd rather not re-invent the wheel ...

I need a Visual Basic Express (the free version of VB is the only
programming platform I have on the PC) that I can run on a Windows XP PC and
connect to my Butterfly via a serial port, and accept a data steam for view
on the PC.  

At the minimum I need to be able to be able to create a data file that can
be imported into Excel (CSV - Comma Separated, etc.)

It would be nice if I could display a simple graph in real time as the data
is coming in (to see that I'm getting what I expect) as well as being able
to send simple commands to the Butterfly but this isn't required.

If anyone has VB code that I can tailor to my needs I'd be grateful.

I have searched Sorceforge with no luck.  I am currently making my way
through a mountain of sites via Google (trying to sort the 'wheat' from the
'chaff' <g>).

Thanks in advance ...

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck



 
Yahoo! Groups Links

RE: [AVR-Chat] Data Logger -> Butterfly

2006-03-13 by Chuck Hackett

> From: Daniel Boyer
> 
> I assume that when you say VB Express you mean the new one with .NET 2.0 ...

I think so.  I'm using "Visual Basic 2005 Express".  As I understand it, this is
a free version of Visual Basic 2005 .NET without the ability to generate web
applications.

> If that is the case then what you want to do is super easy.  I have some
> code laying around that is in C# that I used to send commands to my
> butterfly; receiving is just as easy.  Just search the help file(s);
> basically you just add a SerialPort component to your application from the
> toolbox, set your com port settings via properties and then make a
> DataReceived event handler (the event is already defined in properties). .... 

Thanks, I'm slogging my way through it at the moment ... <g>

Cheers,

Chuck Hackett
"Good judgment comes from experience, experience comes from bad judgment"
7.5" gauge Union Pacific Northern (4-8-4) 844
http://www.whitetrout.net/Chuck

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.