Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>USB Hardware communication popularly works one of three ways.</p> <ol> <li><p>Proprietary software talks to hardware via proprietary driver.</p></li> <li><p>Devices have a Serial emulation chip (e.g. <a href="http://www.ftdichip.com/FTProducts.htm#FT232R" rel="noreferrer">FTDI</a>) When you plug in the scale you just need to install the Virtual Comm Port drivers and the device shows up as a comm port on your system. Then it is as easy as using System.IO.Ports.SerialPort to talk to the device.</p></li> <li><p>The device implements a HID profile and will be available through your OS's HID system. I've used <a href="http://www.lvr.com/hidpage.htm" rel="noreferrer">this .NET HID</a> library on Windows to successfully talk with barcode scanners that implement HID. The HID library will send data to you from the hardware in chunks that you decipher based on the hardware you are talking to.</p></li> </ol> <p>With method 2 and 3 you will just need to find the data format for the scale that you are talking to. The scales that I have used send updates every second or so with the weight and other information shown on the hardware UI, such as if the load has stabilized or not.</p> <p>Looking at their discussion forums it looks like their scales use method 2 (<a href="http://ohaus.com/support/forum_messages.asp?topicid=584" rel="noreferrer"><a href="http://ohaus.com/support/forum_messages.asp?topicid=584" rel="noreferrer">http://ohaus.com/support/forum_messages.asp?topicid=584</a></a>) and that you need to Poll the scale by sending a "P\r\n" it will then respond with the characters that are shown on the display (<a href="http://ohaus.com/support/forum_messages.asp?topicid=802" rel="noreferrer"><a href="http://ohaus.com/support/forum_messages.asp?topicid=802" rel="noreferrer">http://ohaus.com/support/forum_messages.asp?topicid=802</a></a>).</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload