LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-11-2007, 05:25 PM   #16
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30

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.
 
Old 12-11-2007, 09:53 PM   #17
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,360

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
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.
 
Old 12-11-2007, 10:56 PM   #18
worldgnat
Member
 
Registered: Oct 2004
Posts: 337

Original Poster
Rep: Reputation: 30
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.
 
Old 12-12-2007, 04:58 AM   #19
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: Mint, Armbian, NetBSD, Puppy, Raspbian
Posts: 3,515

Rep: Reputation: 239Reputation: 239Reputation: 239
the best way to learn is to explore things for yourself
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hi i am just learning dustinmarie LinuxQuestions.org Member Intro 1 01-18-2006 07:16 PM
About learning C dludenar Fedora 3 10-04-2005 09:27 AM
Learning C/C++ Debian-Gnu-B Linux - Software 12 01-28-2004 03:20 PM
Learning as I go. Curious LinuxQuestions.org Member Intro 1 09-25-2003 12:07 AM
learning how much mb? nakkaya Linux - General 4 02-27-2003 10:04 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration