PC based program to go with MSP430 projects

Started by Peter Grey January 13, 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

Beginning Microcontrollers with the MSP430

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



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
>

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.

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

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
>
>
>

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

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
>
>
>





> 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!

--- 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