Scripting tools under Windows



Hi guys,
Like a lot of you I develop devices that need to be programmed, configured and tested in a production environment, often in conjunction with firmware test functions on the embedded device. Much of this is accomplished from Windows PCs using serial and parallel ports and usually involves running small utility programs. Naturally I want to script these procedures to require the minimum amount of human intervention, both for efficiencey and repeatability.

So what scripting tools are you guys using out there?

Years ago, I used QuickBasic to quickly knock up this sort of script, usually 1/2 an hour at most, a nice set of serial and parallel port manipulation tools and easy to run little external apps (e.g. a bin2hex utility). Of course QuickBasic is not compatible with modern Microsoft OS's.

My preference is for a simple language that does not have to produce robust shrink-wrap code, isn't bloated with GUI stuff, has serial comms with control over handshake lines, can control parallel port lines, can send data to other apps and receive data from them, read and write files and interact with the user via a console, and can be batched. It should be capable of being modified by Windows programmers, embedded programmers, hardware engineers and production techs without too much of a learning curve - kind of leaves out huge APIs and frameworks.

Some of the tools used around various places I interface with include:

Python: A different language every week, can't do anything on its own but needs a bunch of libraries - and there's 32 different varieties of each. It's also a different language every fortnight.

C# / .Net: Like Python, has way to rich an API but makes the simplest things seem difficult - e.g getting unbuffered bytes from a serial port.

Labview: Really well suited to the task, but difficult for Labview newbies to get to grips with, and damned expensive.

Your ideas would be appreciated.

Cheers,
alf




.



Relevant Pages

  • Re: Scripting tools under Windows
    ... configured and tested in a production environment, ... with control over handshake lines, can control parallel port lines, can ... be capable of being modified by Windows programmers, ...
    (comp.arch.embedded)
  • Re: Scripting tools under Windows
    ... configured and tested in a production environment, ... with control over handshake lines, can control parallel port lines, can ... be capable of being modified by Windows programmers, ... unless your chosen language contains a driver you ...
    (comp.arch.embedded)
  • Re: EPROM Programmer Advise
    ... My experience is with parallel-port programmers, ... You'll also probably need an EPROM eraser. ... and they'll likely be USB type. ... All the ones I've read about use the parallel port. ...
    (rec.games.video.arcade.collecting)
  • Re: programming atmel chip
    ... Serial programmers and parallel ... I could be right off the mark here, but serial and parallel port timing ...
    (sci.electronics.basics)
  • Re: why add script-tag in header section ?
    ... Of course the event DOM is ready must be considered by the ... Programmers mainly try to serve users. ... It is also worth noting that on the Internet it is common for HTML ... with the placement of SCRIPT elements. ...
    (comp.lang.javascript)