Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / March 2005

Tip: Looking for answers? Try searching our database.

scale/weight

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Judy - 03 Mar 2005 18:15 GMT
I've got an NCI 7820 scale.  I'd like to be able to populate the weight field
on my form with the weight from the scale.

The instructions in the scale's manual state:
Transmits weight and scale status whenever
ASCII “W” <CR> is sent by a remote device.

I've tried on gotFocus:
SendKeys Chr(87) & Chr(13)
but it doesn't seem to do the trick.

Any suggestions?
Stephen Haley - 04 Mar 2005 18:17 GMT
Assuming that the scales are connected via serial lead you will need to use
something like the MSCOMM activex control which ships with VB.
Need to open the port, Output the "W" <CR> then read the input buffer. Do a
google on mscomm for more info & examples. Full details of the control can
be found here:
http://www.yes-tele.com/mscomm.html
Some VB examples here
http://www.dcs.napier.ac.uk/~bill/pdf/Io_ch26.PDF

rgds
stephen

> I've got an NCI 7820 scale.  I'd like to be able to populate the weight
> field
[quoted text clipped - 9 lines]
>
> Any suggestions?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.