Sign in

Not a member? | Forgot your Password?


Search msp430



Search tips

Subscribe to msp430



Discussion Groups

See Also

ElectronicsDSPFPGA

Find us on Facebook





Discussion Groups | MSP430 | PC based program to go with MSP430 projects

The purpose of this group is to foster exchange of information on the Texas Instruments MSP430 family of microcontrollers and related tools. Everyone welcome, all levels of familiarity/expertise.

PC based program to go with MSP430 projects - Peter Grey - Jan 13 1:51:09 2011

I have been using Visual Basic 4 to run programs on my laptop that
communicate with various MSP430 projects and products I have. I now
find that they will not run on Windows 7 operating systems. The
programs are not complex and VB4 is really an overkill. Does anyone
have any suggestions? I need to be able to compile it and send it to
customers to use on their computer.

TIA

Peter


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Hugo Brunert - Jan 13 6:49:36 2011

I have been using National Instrument's Lab Windows CVI for dozen of
years, always communicating via USB, RS232, RS422, and many others with
all kinds of uP.

I have never had the problem of Windows OS compatibility.

It is Very easy and user friendly to learn. I recommend it.

By the way 99% of my applications have a GUI front end, AND you can have
several background threads running off of it.

Their timers are EXACT +- 1uS if you need real time response.

You can get a 30 day trial for free from NI.com (I don't work for NI nor
do I get bennies from recommending it) It is a very well supported
product, and their Hot Line technical help always (but once) came thru.

________________________________

From: m... [mailto:m...] On Behalf
Of Peter Grey
Sent: Thursday, January 13, 2011 1:51 AM
To: m...
Subject: [msp430] PC based program to go with MSP430 projects

I have been using Visual Basic 4 to run programs on my laptop that
communicate with various MSP430 projects and products I have. I now
find that they will not run on Windows 7 operating systems. The
programs are not complex and VB4 is really an overkill. Does anyone
have any suggestions? I need to be able to compile it and send it to
customers to use on their computer.

TIA

Peter




_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Stuart_Rubin - Jan 13 8:40:42 2011

We make tons of in-house tools that talk to our MSP430 via RS-232 serial (or really, a USB-to-serial converter), and use C# for all of these tools. There is never any compatibility problem. C# will buy you a lot of graphics/windows horsepower for not a lot of time investment.

If your programs are simple, you can just send them executables (being careful about their .net frameworks, etc.). But, it's also very easy in Visual Studio to make an installer packages that takes care of those details, as well as other Windows candy like putting the program in the "start" menu, un-installing old versions, etc. (I recommend spending an hour or so to take this route. It will pay for itself immediately with customer support and distribution...)

We also have one product being used in the field (FDA-approved medical device) which uses C# and talks to MSP430.

Stuart

--- In m..., Peter Grey wrote:
>
> I have been using Visual Basic 4 to run programs on my laptop that
> communicate with various MSP430 projects and products I have. I now
> find that they will not run on Windows 7 operating systems. The
> programs are not complex and VB4 is really an overkill. Does anyone
> have any suggestions? I need to be able to compile it and send it to
> customers to use on their computer.
>
> TIA
>
> Peter
>


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Matthias Weingart - Jan 13 8:48:28 2011

Peter Grey :

> I have been using Visual Basic 4 to run programs on my laptop that
>

Just try to download the latest Visual Basic version from Microsoft.

M.


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - chinleybrewer - Jan 13 11:46:37 2011

Hi Peter,
Google "Visual Basic 2008 Express". It is the free version of Visual Basic 2008, containing all the basic features of the software. Will be fine for creating your small applications with VB.Net and they will work on Win7 etc.

I prefer C# (c-sharp).

Regards
Martin


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Donald H - Jan 14 15:13:49 2011

At $2599.00 for the full version or $1249 for the base version,
it is not for small pockets.

And the learning curve is greater then NI is willing to admit.

No thank you
don

--- In m..., Hugo Brunert wrote:
>
> I have been using National Instrument's Lab Windows CVI for dozen of
> years, always communicating via USB, RS232, RS422, and many others with
> all kinds of uP.
>
> I have never had the problem of Windows OS compatibility.
>
> It is Very easy and user friendly to learn. I recommend it.
>
> By the way 99% of my applications have a GUI front end, AND you can have
> several background threads running off of it.
>
> Their timers are EXACT +- 1uS if you need real time response.
>
> You can get a 30 day trial for free from NI.com (I don't work for NI nor
> do I get bennies from recommending it) It is a very well supported
> product, and their Hot Line technical help always (but once) came thru.
>
>
>
> ________________________________
>
> From: m... [mailto:m...] On Behalf
> Of Peter Grey
> Sent: Thursday, January 13, 2011 1:51 AM
> To: m...
> Subject: [msp430] PC based program to go with MSP430 projects
>
>
>
>
>
> I have been using Visual Basic 4 to run programs on my laptop that
> communicate with various MSP430 projects and products I have. I now
> find that they will not run on Windows 7 operating systems. The
> programs are not complex and VB4 is really an overkill. Does anyone
> have any suggestions? I need to be able to compile it and send it to
> customers to use on their computer.
>
> TIA
>
> Peter
>
>
>


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Donald H - Jan 14 15:19:00 2011

Are there any good sites out there with code for C# that explain access to USB ports.

I am not a C# programmer and would like to get some PC applications running.

Any suggestions greatly appreciated.

don


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - "Redd, Emmett R" - Jan 14 15:45:49 2011

If COM port communcation is all you need, PUTTY works for me.

Emmett Redd Ph.D. mailto:E...@missouristate.edu
Professor (417)836-5221
Department of Physics, Astronomy, and Materials Science
Missouri State University Fax (417)836-6226
901 SOUTH NATIONAL Lab (417)836-3770
SPRINGFIELD, MO 65897 USA Dept (417)836-5131

In statesmanship get the formalities right, never mind about the moralities. -- Mark Twain.
________________________________________
From: m... [m...] On Behalf Of Donald H [d...@yahoo.com]
Sent: Friday, January 14, 2011 2:07 PM
To: m...
Subject: [msp430] Re: PC based program to go with MSP430 projects

At $2599.00 for the full version or $1249 for the base version,
it is not for small pockets.

And the learning curve is greater then NI is willing to admit.

No thank you
don

--- In m..., Hugo Brunert wrote:
>
> I have been using National Instrument's Lab Windows CVI for dozen of
> years, always communicating via USB, RS232, RS422, and many others with
> all kinds of uP.
>
> I have never had the problem of Windows OS compatibility.
>
> It is Very easy and user friendly to learn. I recommend it.
>
> By the way 99% of my applications have a GUI front end, AND you can have
> several background threads running off of it.
>
> Their timers are EXACT +- 1uS if you need real time response.
>
> You can get a 30 day trial for free from NI.com (I don't work for NI nor
> do I get bennies from recommending it) It is a very well supported
> product, and their Hot Line technical help always (but once) came thru.
>
> ________________________________
>
> From: m... [mailto:m...] On Behalf
> Of Peter Grey
> Sent: Thursday, January 13, 2011 1:51 AM
> To: m...
> Subject: [msp430] PC based program to go with MSP430 projects
>
> I have been using Visual Basic 4 to run programs on my laptop that
> communicate with various MSP430 projects and products I have. I now
> find that they will not run on Windows 7 operating systems. The
> programs are not complex and VB4 is really an overkill. Does anyone
> have any suggestions? I need to be able to compile it and send it to
> customers to use on their computer.
>
> TIA
>
> Peter
>
>
>




_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - rob...@usbmicro.com - Jan 14 15:58:56 2011



> I have been using Visual Basic 4 to run programs on my laptop that
> communicate with various MSP430 projects and products I have. I now
> find that they will not run on Windows 7 operating systems. The
> programs are not complex and VB4 is really an overkill. Does anyone
> have any suggestions? I need to be able to compile it and send it to
> customers to use on their computer.

Try RobotBASIC. It isn't just for simulating robots and it is more
than the old style of basic. It is free, compiles to an exe, and easy
to distribute.

http://www.robotbasic.org/

From the site:

No installation is required you can run RobotBASIC from a USB-drive,
a CD, or even from a web page.

Use legacy INPUT and PRINT statements for QUICK and EASY I/O (great
for introducing programming to non-programmers).

GUI commands that create buttons, text boxes, edit boxes, list boxes,
dialogue windows, message boxes, radio buttons, check boxes, sliders,
and more.

Use standard BASIC syntax or a modified C-style syntax (i.e. ++, +=,
!=, &&)

Increased productivity from numerous helper functions that
facilitate sorting, multimedia displays, flicker-free 2-D and 3-D
animation, robot vision (including web cam support), extensive BMP
image manipulation, matrix math, both high and low-level file I/O, the
ability to send Emails (SMTP) and communicate over the Internet (UDP
and TCP protocols), and much more.

Develop and debug programs in an easy-to-use INTERPRETER-based IDE
(Integrated Development Environment), then COMPILE your programs to
standalone EXEs for easy distribution.

Direct support for the USBmicro U4x1 family of I/O modules that
provide 1-wire, SPI, and I2C Serial control of Digital MicroDevices as
well as 16 lines of TTL I/O

Over 800 commands and functions often allow a few lines of code to
provide the functionality of hundreds of lines in many other
languages.

RobotBASIC is FREE to schools, organizations, individuals - EVERYONE!


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Bob - Jan 14 16:31:02 2011

--- In m..., "Donald H" wrote:
>
> Are there any good sites out there with code for C# that explain access to USB ports.
>
> I am not a C# programmer and would like to get some PC applications running.
>
> Any suggestions greatly appreciated.
>
> don
>
Don,

A book I recently purchased, but haven't really used yet, is "USB Complete: The Developer's Guide by Jan Axelson. I've skimmed it, and it is pretty focused on C# USB coding (I've not coded in C# either - finding it easy to resist the urge...). Perhaps that'd be a resource??? About $33.00 on Amazon. HTH

Bob


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Howard Hansen - Jan 14 23:03:47 2011

Here are some Web pages that provide some help on using C# with USB devices.
http://www.developerfusion.com/article/84338/making-usb-c-friendly/
http://sourceforge.net/projects/libusbdotnet/
http://sushantkumar.wordpress.com/tech/c-code-4-usb/


Howard
On 1/14/2011 2:12 PM, Donald H wrote:
>
> Are there any good sites out there with code for C# that explain
> access to USB ports.
>
> I am not a C# programmer and would like to get some PC applications
> running.
>
> Any suggestions greatly appreciated.
>
> don




_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - David Brown - Jan 15 4:36:56 2011

On 13/01/2011 07:51, Peter Grey wrote:
> I have been using Visual Basic 4 to run programs on my laptop that
> communicate with various MSP430 projects and products I have. I now
> find that they will not run on Windows 7 operating systems. The
> programs are not complex and VB4 is really an overkill. Does anyone
> have any suggestions? I need to be able to compile it and send it to
> customers to use on their computer.
>

It depends on your experiences, and the sort of programs you want to
write. I do most of my PC programming using Python - it's a lot higher
level than Basic or C#, it's cross-platform, it's interpreted (making it
easy for testing), and there are huge numbers of libraries. But there
is no single dedicated development environment like there is for VB -
the IDE's that exist are a lot smaller and simpler.

As for the language, once you have got used to Python with its direct
support for lists, dictionaries, flexible classes, introspection, list
comprehension, lambda functions, garbage collection, etc., then
something like VB or C# seems so old-fashioned and limited, and so
verbose and tedious to write.


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Peter Grey - Jan 16 19:27:41 2011

At 04:58 AM 1/15/2011, you wrote:

Thanks for all the replies on this topic. I only
do a small amount of PC programming. It is mainly
serial I/O and a little processing of data and
providing the customer with an ASCII file. The
maths is very limited. I am going to look at
RobotBASIC and possibly PYTHON. It looks like
either would be more than adequate for my needs,
and it is free! VB6 & Express is very much an
overkill for any applications. My programming is
about once every 3 months which means I have to
go back and learn what I have forgotten.

Thanks again

Peter
> > I have been using Visual Basic 4 to run programs on my laptop that
> > communicate with various MSP430 projects and products I have. I now
> > find that they will not run on Windows 7 operating systems. The
> > programs are not complex and VB4 is really an overkill. Does anyone
> > have any suggestions? I need to be able to compile it and send it to
> > customers to use on their computer.
>
>Try RobotBASIC. It isn't just for simulating robots and it is more
>than the old style of basic. It is free, compiles to an exe, and easy
>to distribute.
>
>http://www.robotbasic.org/
>
> From the site:
>
>No installation is required you can run RobotBASIC from a USB-drive,
>a CD, or even from a web page.
>
>Use legacy INPUT and PRINT statements for QUICK and EASY I/O (great
>for introducing programming to non-programmers).
>
>GUI commands that create buttons, text boxes, edit boxes, list boxes,
>dialogue windows, message boxes, radio buttons, check boxes, sliders,
>and more.
>
>Use standard BASIC syntax or a modified C-style syntax (i.e. ++, +=,
>!=, &&)
>
>Increased productivity from numerous helper functions that
>facilitate sorting, multimedia displays, flicker-free 2-D and 3-D
>animation, robot vision (including web cam support), extensive BMP
>image manipulation, matrix math, both high and low-level file I/O, the
>ability to send Emails (SMTP) and communicate over the Internet (UDP
>and TCP protocols), and much more.
>
>Develop and debug programs in an easy-to-use INTERPRETER-based IDE
>(Integrated Development Environment), then COMPILE your programs to
>standalone EXEs for easy distribution.
>
>Direct support for the USBmicro U4x1 family of I/O modules that
>provide 1-wire, SPI, and I2C Serial control of Digital MicroDevices as
>well as 16 lines of TTL I/O
>
>Over 800 commands and functions often allow a few lines of code to
>provide the functionality of hundreds of lines in many other
>languages.
>
>RobotBASIC is FREE to schools, organizations, individuals - EVERYONE!
>
>

_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - abbeytronics - Jan 17 12:06:24 2011

You might also look at Liberty Basic, it is not free but is reasonably priced. They have an excellent support forum, including a topic for hardware interfacing.
--- In m..., Peter Grey wrote:
>
> At 04:58 AM 1/15/2011, you wrote:
>
> Thanks for all the replies on this topic. I only
> do a small amount of PC programming. It is mainly
> serial I/O and a little processing of data and
> providing the customer with an ASCII file. The
> maths is very limited. I am going to look at
> RobotBASIC and possibly PYTHON. It looks like
> either would be more than adequate for my needs,
> and it is free! VB6 & Express is very much an
> overkill for any applications. My programming is
> about once every 3 months which means I have to
> go back and learn what I have forgotten.
>
> Thanks again
>
> Peter
>
>
> > > I have been using Visual Basic 4 to run programs on my laptop that
> > > communicate with various MSP430 projects and products I have. I now
> > > find that they will not run on Windows 7 operating systems. The
> > > programs are not complex and VB4 is really an overkill. Does anyone
> > > have any suggestions? I need to be able to compile it and send it to
> > > customers to use on their computer.
> >
> >Try RobotBASIC. It isn't just for simulating robots and it is more
> >than the old style of basic. It is free, compiles to an exe, and easy
> >to distribute.
> >
> >http://www.robotbasic.org/
> >
> > From the site:
> >
> >No installation is required you can run RobotBASIC from a USB-drive,
> >a CD, or even from a web page.
> >
> >Use legacy INPUT and PRINT statements for QUICK and EASY I/O (great
> >for introducing programming to non-programmers).
> >
> >GUI commands that create buttons, text boxes, edit boxes, list boxes,
> >dialogue windows, message boxes, radio buttons, check boxes, sliders,
> >and more.
> >
> >Use standard BASIC syntax or a modified C-style syntax (i.e. ++, +=,
> >!=, &&)
> >
> >Increased productivity from numerous "helper functions" that
> >facilitate sorting, multimedia displays, flicker-free 2-D and 3-D
> >animation, robot vision (including web cam support), extensive BMP
> >image manipulation, matrix math, both high and low-level file I/O, the
> >ability to send Emails (SMTP) and communicate over the Internet (UDP
> >and TCP protocols), and much more.
> >
> >Develop and debug programs in an easy-to-use INTERPRETER-based IDE
> >(Integrated Development Environment), then COMPILE your programs to
> >standalone EXE's for easy distribution.
> >
> >Direct support for the USBmicro U4x1 family of I/O modules that
> >provide 1-wire, SPI, and I2C Serial control of Digital MicroDevices as
> >well as 16 lines of TTL I/O
> >
> >Over 800 commands and functions often allow a few lines of code to
> >provide the functionality of hundreds of lines in many other
> >languages.
> >
> >RobotBASIC is FREE to schools, organizations, individuals - EVERYONE!
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >

_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Peter Grey - Jan 17 20:21:09 2011

At 01:05 AM 1/18/2011, you wrote:

I took a look at this and their web site says it
does not do COM components. I assume this means
the serial ports, virtual or otherwise??

>You might also look at Liberty Basic, it is not
>free but is reasonably priced. They have an
>excellent support forum, including a topic for hardware interfacing.
>--- In m..., Peter Grey wrote:
> >
> > At 04:58 AM 1/15/2011, you wrote:
> >
> > Thanks for all the replies on this topic. I only
> > do a small amount of PC programming. It is mainly
> > serial I/O and a little processing of data and
> > providing the customer with an ASCII file. The
> > maths is very limited. I am going to look at
> > RobotBASIC and possibly PYTHON. It looks like
> > either would be more than adequate for my needs,
> > and it is free! VB6 & Express is very much an
> > overkill for any applications. My programming is
> > about once every 3 months which means I have to
> > go back and learn what I have forgotten.
> >
> > Thanks again
> >
> > Peter
> >
> >
> > > > I have been using Visual Basic 4 to run programs on my laptop that
> > > > communicate with various MSP430 projects and products I have. I now
> > > > find that they will not run on Windows 7 operating systems. The
> > > > programs are not complex and VB4 is really an overkill. Does anyone
> > > > have any suggestions? I need to be able to compile it and send it to
> > > > customers to use on their computer.
> > >
> > >Try RobotBASIC. It isn't just for simulating robots and it is more
> > >than the old style of basic. It is free, compiles to an exe, and easy
> > >to distribute.
> > >
> > >http://www.robotbasic.org/
> > >
> > > From the site:
> > >
> > >No installation is required you can run RobotBASIC from a USB-drive,
> > >a CD, or even from a web page.
> > >
> > >Use legacy INPUT and PRINT statements for QUICK and EASY I/O (great
> > >for introducing programming to non-programmers).
> > >
> > >GUI commands that create buttons, text boxes, edit boxes, list boxes,
> > >dialogue windows, message boxes, radio buttons, check boxes, sliders,
> > >and more.
> > >
> > >Use standard BASIC syntax or a modified C-style syntax (i.e. ++, +=,
> > >!=, &&)
> > >
> > >Increased productivity from numerous "helper functions" that
> > >facilitate sorting, multimedia displays, flicker-free 2-D and 3-D
> > >animation, robot vision (including web cam support), extensive BMP
> > >image manipulation, matrix math, both high and low-level file I/O, the
> > >ability to send Emails (SMTP) and communicate over the Internet (UDP
> > >and TCP protocols), and much more.
> > >
> > >Develop and debug programs in an easy-to-use INTERPRETER-based IDE
> > >(Integrated Development Environment), then COMPILE your programs to
> > >standalone EXE's for easy distribution.
> > >
> > >Direct support for the USBmicro U4x1 family of I/O modules that
> > >provide 1-wire, SPI, and I2C Serial control of Digital MicroDevices as
> > >well as 16 lines of TTL I/O
> > >
> > >Over 800 commands and functions often allow a few lines of code to
> > >provide the functionality of hundreds of lines in many other
> > >languages.
> > >
> > >RobotBASIC is FREE to schools, organizations, individuals - EVERYONE!
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >

_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Bob - Jan 17 20:48:54 2011

Peter,

It's an off-chance that they're referring to Windows COM components, rather that COMM ports, etc...

Bob
--- In m..., Peter Grey wrote:
>
> At 01:05 AM 1/18/2011, you wrote:
>
> I took a look at this and their web site says it
> does not do COM components. I assume this means
> the serial ports, virtual or otherwise??
>
>
>
>
> >You might also look at Liberty Basic, it is not
> >free but is reasonably priced. They have an
> >excellent support forum, including a topic for hardware interfacing.
> >
> >
> >--- In m..., Peter Grey wrote:
> > >
> > > At 04:58 AM 1/15/2011, you wrote:
> > >
> > > Thanks for all the replies on this topic. I only
> > > do a small amount of PC programming. It is mainly
> > > serial I/O and a little processing of data and
> > > providing the customer with an ASCII file. The
> > > maths is very limited. I am going to look at
> > > RobotBASIC and possibly PYTHON. It looks like
> > > either would be more than adequate for my needs,
> > > and it is free! VB6 & Express is very much an
> > > overkill for any applications. My programming is
> > > about once every 3 months which means I have to
> > > go back and learn what I have forgotten.
> > >
> > > Thanks again
> > >
> > > Peter
> > >
> > >
> > > > > I have been using Visual Basic 4 to run programs on my laptop that
> > > > > communicate with various MSP430 projects and products I have. I now
> > > > > find that they will not run on Windows 7 operating systems. The
> > > > > programs are not complex and VB4 is really an overkill. Does anyone
> > > > > have any suggestions? I need to be able to compile it and send it to
> > > > > customers to use on their computer.
> > > >
> > > >Try RobotBASIC. It isn't just for simulating robots and it is more
> > > >than the old style of basic. It is free, compiles to an exe, and easy
> > > >to distribute.
> > > >
> > > >http://www.robotbasic.org/
> > > >
> > > > From the site:
> > > >
> > > >No installation is required you can run RobotBASIC from a USB-drive,
> > > >a CD, or even from a web page.
> > > >
> > > >Use legacy INPUT and PRINT statements for QUICK and EASY I/O (great
> > > >for introducing programming to non-programmers).
> > > >
> > > >GUI commands that create buttons, text boxes, edit boxes, list boxes,
> > > >dialogue windows, message boxes, radio buttons, check boxes, sliders,
> > > >and more.
> > > >
> > > >Use standard BASIC syntax or a modified C-style syntax (i.e. ++, +=,
> > > >!=, &&)
> > > >
> > > >Increased productivity from numerous "helper functions" that
> > > >facilitate sorting, multimedia displays, flicker-free 2-D and 3-D
> > > >animation, robot vision (including web cam support), extensive BMP
> > > >image manipulation, matrix math, both high and low-level file I/O, the
> > > >ability to send Emails (SMTP) and communicate over the Internet (UDP
> > > >and TCP protocols), and much more.
> > > >
> > > >Develop and debug programs in an easy-to-use INTERPRETER-based IDE
> > > >(Integrated Development Environment), then COMPILE your programs to
> > > >standalone EXE's for easy distribution.
> > > >
> > > >Direct support for the USBmicro U4x1 family of I/O modules that
> > > >provide 1-wire, SPI, and I2C Serial control of Digital MicroDevices as
> > > >well as 16 lines of TTL I/O
> > > >
> > > >Over 800 commands and functions often allow a few lines of code to
> > > >provide the functionality of hundreds of lines in many other
> > > >languages.
> > > >
> > > >RobotBASIC is FREE to schools, organizations, individuals - EVERYONE!
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >
> > > >

_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Peter Grey - Jan 17 21:27:49 2011

At 09:48 AM 1/18/2011, you wrote:
Bob,

I suspect you are right as I looked at further
examples and they talk about accessing serial ports. I need to read more.

Peter

>Peter,
>
>It's an off-chance that they're referring to
>Windows COM components, rather that COMM ports, etc...
>
>Bob
>--- In m..., Peter Grey wrote:
> >
> > At 01:05 AM 1/18/2011, you wrote:
> >
> > I took a look at this and their web site says it
> > does not do COM components. I assume this means
> > the serial ports, virtual or otherwise??
> >
> >
> >
> >
> > >You might also look at Liberty Basic, it is not
> > >free but is reasonably priced. They have an
> > >excellent support forum, including a topic for hardware interfacing.
> > >
> > >
> > >--- In m..., Peter Grey wrote:
> > > >
> > > > At 04:58 AM 1/15/2011, you wrote:
> > > >
> > > > Thanks for all the replies on this topic. I only
> > > > do a small amount of PC programming. It is mainly
> > > > serial I/O and a little processing of data and
> > > > providing the customer with an ASCII file. The
> > > > maths is very limited. I am going to look at
> > > > RobotBASIC and possibly PYTHON. It looks like
> > > > either would be more than adequate for my needs,
> > > > and it is free! VB6 & Express is very much an
> > > > overkill for any applications. My programming is
> > > > about once every 3 months which means I have to
> > > > go back and learn what I have forgotten.
> > > >
> > > > Thanks again
> > > >
> > > > Peter
> > > >
> > > >
> > > > > > I have been using Visual Basic 4 to run programs on my laptop that
> > > > > > communicate with various MSP430 projects and products I have. I now
> > > > > > find that they will not run on Windows 7 operating systems. The
> > > > > > programs are not complex and VB4 is really an overkill. Does anyone
> > > > > > have any suggestions? I need to be
> able to compile it and send it to
> > > > > > customers to use on their computer.
> > > > >
> > > > >Try RobotBASIC. It isn't just for simulating robots and it is more
> > > > >than the old style of basic. It is free, compiles to an exe, and easy
> > > > >to distribute.
> > > > >
> > > > >http://www.robotbasic.org/
> > > > >
> > > > > From the site:
> > > > >
> > > > >No installation is required you can run RobotBASIC from a USB-drive,
> > > > >a CD, or even from a web page.
> > > > >
> > > > >Use legacy INPUT and PRINT statements for QUICK and EASY I/O (great
> > > > >for introducing programming to non-programmers).
> > > > >
> > > > >GUI commands that create buttons, text boxes, edit boxes, list boxes,
> > > > >dialogue windows, message boxes, radio buttons, check boxes, sliders,
> > > > >and more.
> > > > >
> > > > >Use standard BASIC syntax or a modified C-style syntax (i.e. ++, +=,
> > > > >!=, &&)
> > > > >
> > > > >Increased productivity from numerous "helper functions" that
> > > > >facilitate sorting, multimedia displays, flicker-free 2-D and 3-D
> > > > >animation, robot vision (including web cam support), extensive BMP
> > > > >image manipulation, matrix math, both high and low-level file I/O, the
> > > > >ability to send Emails (SMTP) and communicate over the Internet (UDP
> > > > >and TCP protocols), and much more.
> > > > >
> > > > >Develop and debug programs in an easy-to-use INTERPRETER-based IDE
> > > > >(Integrated Development Environment), then COMPILE your programs to
> > > > >standalone EXE's for easy distribution.
> > > > >
> > > > >Direct support for the USBmicro U4x1 family of I/O modules that
> > > > >provide 1-wire, SPI, and I2C Serial control of Digital MicroDevices as
> > > > >well as 16 lines of TTL I/O
> > > > >
> > > > >Over 800 commands and functions often allow a few lines of code to
> > > > >provide the functionality of hundreds of lines in many other
> > > > >languages.
> > > > >
> > > > >RobotBASIC is FREE to schools, organizations, individuals - EVERYONE!
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >

_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Dan Bloomquist - Jan 18 13:14:43 2011

Peter Grey wrote:
> I have been using Visual Basic 4 to run programs on my laptop that
> communicate with various MSP430 projects and products I have. I now
> find that they will not run on Windows 7 operating systems. The
> programs are not complex and VB4 is really an overkill. Does anyone
> have any suggestions? I need to be able to compile it and send it to
> customers to use on their computer.
>
>
Hi Peter,
I thought I'd mention that I installed VS express on my son's computer.
He wanted to learn to program. He picked up doing console apps in short
order. You already know C so very little to learn. Just a layer of
standard io for the com port and files you want to process. Console apps
are very small and run on any windows OS. And as it is C++ you can use
Boost, other third party libs, the standard library if you end up
needing to go there.

If you are looking for a more sophisticated GUI, that is something else.
But it doesn't sound like it.

Best, Dan.


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Peter Grey - Jan 18 19:36:39 2011

At 02:14 AM 1/19/2011, you wrote:

Hi Dan,

I am not sure why you thought I knew C. I only work in assembler for
the MSP430. I can muddle my way thru a C program if forced but that
is different from writing a program. I have had a look at VB Express
and the tutorial shows how to do console apps and indeed it looks
very simple. I am still considering RobotBasic and investigating this.

Thanks

Peter
>Peter Grey wrote:
> > I have been using Visual Basic 4 to run programs on my laptop that
> > communicate with various MSP430 projects and products I have. I now
> > find that they will not run on Windows 7 operating systems. The
> > programs are not complex and VB4 is really an overkill. Does anyone
> > have any suggestions? I need to be able to compile it and send it to
> > customers to use on their computer.
> >
> >
>Hi Peter,
>I thought I'd mention that I installed VS express on my son's computer.
>He wanted to learn to program. He picked up doing console apps in short
>order. You already know C so very little to learn. Just a layer of
>standard io for the com port and files you want to process. Console apps
>are very small and run on any windows OS. And as it is C++ you can use
>Boost, other third party libs, the standard library if you end up
>needing to go there.
>
>If you are looking for a more sophisticated GUI, that is something else.
>But it doesn't sound like it.
>
>Best, Dan.
>
>

_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.


Re: PC based program to go with MSP430 projects - Dan Bloomquist - Jan 19 2:33:50 2011

Peter Grey wrote:
> At 02:14 AM 1/19/2011, you wrote:
>
> Hi Dan,
>
> I am not sure why you thought I knew C. I only work in assembler for
> the MSP430. I can muddle my way thru a C program if forced but that
> is different from writing a program.

Hi Peter,
C is assembly language, just not device specific. If you come at it that
way you may find it comfortable. In assembly you work with data and
pointers, same for C. Such is its roots. Don't look at it as a machine
abstraction, just an abstraction of a particular machine. My first
language was 'machine code'. And IMHO, you can be so much more
productive with C than you can with assembly. I'll drop to assembly
where required. The operative is, 'required'. i.e. the compiler won't do
what I want it to do.

> I have had a look at VB Express
> and the tutorial shows how to do console apps and indeed it looks
> very simple. I am still considering RobotBasic and investigating this.
>

RobotBasic reminds me of my turtle from long ago, I still have that
device built with parts from an erector set. I don't know what your
plans for your future are but C(++) will remain a mainstay as it is
truly a low level language. I wrote one commercial app in basic back in
the early 80s, I've never used it since. Now maybe microsoft managed to
bring basic into the future, but it is still basic. Just my personal
opinion I guess...

Does VB depend on the clr? If so, you could run into trouble if the
proper .NET is not installed on the client machine. From what I see you
don't want to use an installer for your support app, so, you won't get
it installed. You need to look into that if you go with VB. I know zilch
about VB, so I don't know. But I do know that our product installer
carries the proper .NET when installing for what we do. (We have some C#
that depends on ~4.0. For the clients that have not installed our latest
release yet patch, I have to teamview in and install the stuff. Thank
goodness there are just a small handful. The ones where I ask, 'Do you
have the disk we sent you?'; and they say, 'Can't find it'. But they
still have to get that report out today! :)

Point is, a C console app is native, it doesn't require special OS
support. With very minor modifications it should run on Linux or
anyone's OS. If programming is your thing, make C your 'next' language,
really. All the other languages have their vertical importances, and you
should put as many as you can under your belt. But the machine is the
guts and that is what C is all about.

Best, Dan.


_____________________________
 Free pdf download: Beginning Microcontrollers with the MSP430.