ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Ok, that sound's more like what I'm looking for. And that should be available at the University level?
It does do more than data processing, but I think Java, excluding any external libraries, is not geared towards messing with hardware directly. I searched long and hard for a serial interface for Java, and while there are some available, many are either out of date, or non-free. There's a company somewhere that provides a Windows XP (by now it's probably Vista) interface for Java, but they're "working" on an interface for linux. Again, that was a few months ago, they may have finished both libraries. I was looking for something that would either work on Linux, Mac and Windows or exclusively Linux and Mac, and I found it in pyserial. I tried writing my own library in C, but I haven't a clue how to do that.
Well, if you go to search.cpan.org and enter 'serial' you'll get plenty of pre-written modules. Of course this is perl, but it's easier than C (having used both for yrs).
Mind you, a good background knowledge of C is useful anyway.
But presently my application is pure Java, and from what I know perl and Java don't mix too well. Sounds like a lot of running binaries and reading standard output, which is ugly in Java. Maybe it works fine but it seems a little shaky to me. I'll try it thought, maybe I can gleam something from the pearl modules I can port to the Java or Python version.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.