• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

Device control software with Java?

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

would you develop a software in java, that has to work with data coming from lab-like devices?

The software should be a fat-client, be able to visualize the data in form of graphs and also make use of a relational database.

My personal preference in terms of know-how would be java, but is it really the best choice, especially the hardware-control part of the requirements? Can you recommend any development environment, framework, libraries for that sort of thing?

Many thanks in advance
 
Sheriff
Posts: 28411
102
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The first question to ask is whether the device has a programmable interface, and secondly whether the programming could be done in Java.

There might be interfacing documentation for the device which answers the first question; if the answer to that question is YES, then it just takes some Java experience to answer the second question. Let us know if you need help with that part of it (and post some relevant documentation if you do).
 
Xenofon Grigoriadis
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hmmm... as I really am a greenhorn... can you explain what you mean by a programmable interface?
 
Rancher
Posts: 4804
7
Mac OS X VI Editor Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually, while Paul has the right first step, I'd back up a bit.

Technically, the answer is yes, a professional developer could do what you want and make the program that you describe. I strongly suggest that you not do it this way.

Java was design to be, and still is, device independent and operating system independent. Lab devices are, by their nature, very specialized hardware. Just a few years ago, they usually came with dedicated hardware cards that you install in your PC, and use special cables. More modern gear often connects using USB or similar connections, but even then, you have to have fairly detailed knowledge of how you talk to the device, how the data is formatted, etc.

It is not at all like just plugging an iPod into your PC.

To begin any design, you have to understand how the manufacturer expects you to talk to the device. What cables, device drivers, APIs, languages supported, etc. You can find that from the technical manuals that came with the device, or perhaps from the manufacturer's website.

You need to understand more about the specifics of the device, exactly, before you should proceed.

I sure would not pick this as a suitable assignment for a greenhorn.

I would also split the effort into parts, with
  • data capture from device to PC
  • data storing/loggin on PC
  • live data sharing on the pc to later parts in this list
  • GUI display of live data
  • analysis algorthms, graphing, etc.
  • others...


  • By breaking it apart, you will have smaller modules to debug independantly. If you make one great effort to do it all at once, you may bite off too much to chew.
     
    Xenofon Grigoriadis
    Greenhorn
    Posts: 5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Forget the thing with the greenhorn... This is not a thread about me here. In fact, I am looking for advice concerning java hardware programming. I do have extensive experience in java programming in the context of database driven web-apps. So, don't worry, get technical!

    I still would like to find some tipps from people. E.g. in the internet you can find a jUSB library. Are there any tools are suggestions for the "hardware programming" part of the task at hand?
     
    Pat Farrell
    Rancher
    Posts: 4804
    7
    Mac OS X VI Editor Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    You need the device hardware manufacturer's documentation. Start there.
     
    author
    Posts: 5856
    7
    Android Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    would you develop a software in java, that has to work with data coming from lab-like devices?


    Is there a reason you can't use Matlab (except for the price )? My daughter has used it to program a wide variety of lab equipment.
     
    Xenofon Grigoriadis
    Greenhorn
    Posts: 5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Peter Johnson wrote:

    would you develop a software in java, that has to work with data coming from lab-like devices?


    Is there a reason you can't use Matlab (except for the price )? My daughter has used it to program a wide variety of lab equipment.


    I think it is pretty special software, with a RDBMS backend and stuff. I don't think Matlab will quite do...
     
    Peter Johnson
    author
    Posts: 5856
    7
    Android Eclipse IDE Ubuntu
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    Oops, I had the wrong software - I meant LabView (http://www.ni.com/labview/), not Matlab.
     
    Xenofon Grigoriadis
    Greenhorn
    Posts: 5
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Peter Johnson wrote:Oops, I had the wrong software - I meant LabView (http://www.ni.com/labview/), not Matlab.


    Thanks, but I suppose the software should be developed especially for the company.
     
    Don't get me started about those stupid light bulbs.
    reply
      Bookmark Topic Watch Topic
    • New Topic