Jump to content

Milk Testing Applicatio: Help me please

- - - - -

  • Please log in to reply
6 replies to this topic

#1
dhru2010

dhru2010

    Newbie

  • Members
  • Pip
  • 3 posts
Hi everyone,

I am going to prepare new application for Milk Testing. This milk testing application will measure level of fat and other content of milk on display on the monitor also generate milk testing report and print on printer. This application will communicate with some hardware like milk testing machine and so on. I would like to have suggestions that which technology (vb 6, vb.net, Delphi etc) should I use??? Also please suggest me with sample codes on how to communicate with milk testing hardware and how to store those data in database??? Help with sample source code will be appreciated.

Reply me soon
Thanks in advance

#2
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
Usually serial port is used for communicating with custom non mission critical hardware. You connect the hardware to your computer through available serial port and either poll it at specified interval or waiting for them to tell you there is new data available. Serial communication in Windows is easy to do, you can even done it in .BAT files. There are many good documentation on this.

All languages you mentioned can be used for this project. Personally I would go for Delphi, though. Since its executable is much easier to deploy compared to the other two. I believe there are tons of sample source code you can find in the net (I may be able to help you with Delphi sample) once you make up your mind on which language to use. :)

[Added]
Sorry, I have missed one important thing. First thing to do is to consult the hardware (read its manual or check with the vendor) to find out the communication interface it supports.

Cheers!

Edited by LuthfiHakim, 06 December 2010 - 03:21 AM.
Add important information


#3
dhru2010

dhru2010

    Newbie

  • Members
  • Pip
  • 3 posts
Hi LuthfiHakim,

Thanks for help. I'll go for Delphi are you able to provide me sample source code to communicate with milk testing machine if you have???

Also I'll first visit milk vendor, observe his hardware he is using for milk test. I'll gather all information and will get back to same thread. Will you please suggest me when I'll have all hardware and configuration details available with me for milk test application???

Additionally I search internet for this source code but unable to find if you know some site or link available with same I am looking for is then please give me.


Thanks

#4
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
No problem with sample source code, there are tons of them for all 3 languages you mentioned. Oh btw, actually you must pick the language you have more experience with. Since all three are capable in doing this project with nearly same level of difficulties.

Beside observing the hardware, you better also ask for its manuals. Usually for such hardware there are 2 manuals. One usually called "User Manual" and the other called "Technical Manual" or "Technical Reference". Both can be integrated into one document though. But the one you are after is the second one, for information you are after is in it.

#5
dhru2010

dhru2010

    Newbie

  • Members
  • Pip
  • 3 posts
Thanks for your clear explanation. Once I'll review those manuals I'll get back to the same thread. Please reply me at that time however I am adding you in yahoo messenger. Also please accept my request in yahoo and gmail.

Yahoo: dhru_bhatt2008@yahoo.com
Gmail: seo.dhru1@gmail.com

#6
LuthfiHakim

LuthfiHakim

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 763 posts
Okay no problem.

#7
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
Generally, your milk testing machine will have some sort of API for communicating with it. You'll want to start with that.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users