This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Reading data for devices connected to h/w port in cpu (other than System.in)  RSS feed

 
Mohammed Zeeshan Ahmed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi I am trying to read data from an RFID reader connected to the CPU and this data is previously recorded in database in database. How do I do this.(Eg use case reader reads an id and all related info is retrieved.)
 
Joe Ess
Bartender
Posts: 9425
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your best bet would be to track down the vendor of the device and see if there's an API you can use. Most reader devices I've had contact with simply mimic the keyboard, so one would probably use System.in to read data from it.
 
Mohammed Zeeshan Ahmed
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The device need not be the standard input device of system. The way this device will be used will be analogous to the bar reader used in shopping malls
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!