I have a bunch of questions, please…
Has anyone used either Perl or Python to communicate with an SSC-32?
What modules or libraries did you use?
Was it on 'nix or Windows?
Thanks
dj
I have a bunch of questions, please…
Has anyone used either Perl or Python to communicate with an SSC-32?
What modules or libraries did you use?
Was it on 'nix or Windows?
Thanks
dj
All you need to do is generate ASCII strings.
Alan KM6VV
I know that I am controlling the SSC-32 now with WIndows script files generated by an Excel spreadsheet,
What I am looking for is which Perl or Python modules/libraries fo Windows anyone has had success with in sending said ASCII strings to the SSC-32.
Also, I am looking for code snippets to initialize, send and receive characters via serial IO from Perl/Python. In this latter case, Windows or 'Nix code would be fine, as long as the modules are available for the Windows platform.
dj
I figured you knew that.
Probably won’t find much help with Perl or Python on this list, but I could be mistaken. Folks around these parts speak Basic, mostly.
Alan KM6VV
If this were posted in the Linux section someone monitoring that page might chime in…
There have been some posts regarding Python communicating with the SSC-32. A quick search brought up these topics which may be useful to you:
viewtopic.php?f=25&t=1517
viewtopic.php?f=25&t=1476
Hope this helps!
Thanks guys
First of all, for Python, you will need:
These modules will allow complete serial communication and control directly from Python.
I don’t have any experience with PERL under Windows, but feel strongly that Python would be a much better choice and it is also platform independent so is available for most operating systems. I and others are using Python to control and SSC-32 (look in the SSC-32 section).
8-Dale
I had just decided to use PERL under Windows, in part because I don’t have any experience with Python under Windows, but use PERL. Just the opposite of you, Dale.
I had found the Pyserial module, but hadn’t heard about the Pywin module. Since I have a Windows Python installation executable, that it will be included.
I may start in PERL and move to Python; I hear that using multiple threads is easier in Python.
Thanks,
dj
Any particular reason you just want to use Perl or Python ?
Edit: probably more appropriate is what are you needing to do with the progeam you want to make?
Right now, I am coding on my laptop instead of a dedicated microprocessor.
I am an old BASIC programmer that has done some work recently in PERL, liked it, and was going to use it when a co-worker suggested Python.
I hadn;t done any serial communications in PERL, so I thought I’d ask the forum about modules to use.
No particular reason for choosing those two or one over the other - just how its been going
If you are familiar with the basic type of programming, then you may want to look at freebasic (links below). It communicates with the serial port quite easily (open com1…) when I use it to communicate with my ssc-32. Not sure how well it is suited for making a GUI, but console applications are fairly easy and they compile into a single .exe application. I made a simple program for a CGI interface between the apache web server and my ssc-32 using it.
freebasic.net/wiki/wikka.php?wakka=DocToc
freebasic.net/forum/
freebasic.net/wiki/wikka.php … yTutorials
Thanks zoomkat,
Another option !
Let’s just say that my last BASIC experience was programming serial communications modules on the original IBM PC…
So as of last night I have my laptop talking to the SSC-32 with Perl.
Next step is to replace my Excel spreadsheet and Windows command scripts.