UPDATE A TEXTBOX WITH COM PORT DATA

Shafique

Board Regular
Joined
Nov 23, 2018
Messages
119
Hi Everyone....
I am developing a WEIGHT SCALE Database In MSAccess
HERE i connect a digital weight scale with my computer via COM1 port
I set two command buttons
1: = GROSE
2: = TARE
how it possible that i click cmdGROSS and the weight displayed in txt1st TEXTBOX that displaying on scale's weight indicator

as it is with cmdTARE to txt2nd
 

Attachments

  • WEIGHTfrm.png
    WEIGHTfrm.png
    29.1 KB · Views: 14

Excel Facts

Copy a format multiple times
Select a formatted range. Double-click the Format Painter (left side of Home tab). You can paste formatting multiple times. Esc to stop
You would need to look at the manual to see how that scal sends data or answers requests for data?
Bit like using a scanner, all are or can be different.
 
Upvote 0
Google for it. You will be suprised how many manuals are out there.
I just download one for a device I had for years and lost the manual.

Two steps really.
1. Find out what the scale sends.
2. Find out how to read the COM port to get that value.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top