cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
bmarcowka
Helper I
Helper I

Weight Scale - Data Entry Point

Does PA have the ability to read from a PC based scale?  If so are there any particular scales that work/integrate with greater ease?

6 REPLIES 6
v-yuxima-msft
Community Support
Community Support

Hi @bmarcowka ,

 

What do you mean the ability to read from a PC based scale?

 

 

Best Regards.

Yumia

Sorry for the late reply. 

 

We have an operation where we weigh objects and they have requested to have an application developed that would be able to read from a digital scale.  The concept is the user would input all the necessary parameteres and then weigh the object and capture that weight into the app.  

willnewham
Regular Visitor

This is something I'm just looking into also. @bmarcowka  did you manage to find any more out on this subject?

Cheers.

@bmarcowka , @willnewham 

 

Same question. Any headway on a solution?

 

Thanks in advance.

Jb8816
New Member

Hi,  I was curious if anyone had a solution for this. 

JChouinard2016
Advocate II
Advocate II

I've been working with doing something similar to this, but using a zebra barcode scanner. I have a simple app that is set up with a textbox and a timer. The timer runs on repeat every second. I used an if statement similar to this in the OnTimerEnd property of the timer:

 

If(Textbox1.Text <> "", //If textbox isn't empty

Patch(DataSource, Defaults(DataSource), {Data: Textbox1.Text}); //Sends data to a data source

Reset(Textbox1); //Empties the textbox for new data

SetFocus(Textbox1); //Puts cursor back into textbox1

); //Does nothing if the textbox is empty

 

The app runs on a raspberry pi so that we will not need to use up a whole PC for one constantly-running app.

The scanner is connected to the raspberry pi and acts as a keyboard, so when it scans something, it types the data into the textbox. The timer sends the data to a data source using the above code, and that's really it. Nothing too complicated. This process wouldn't require a raspberry pi; you can use anything that can run Power Apps.

 

Check out this website for how to get your scale to act as a keyboard:

https://www.instructables.com/How-to-Connect-an-Electronic-Balance-or-Scale-to-a/

Helpful resources

Announcements
Power Apps News & Annoucements carousel

Power Apps News & Announcements

Keep up to date with current events and community announcements in the Power Apps community.

Community Call Conversations

Introducing the Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Apps Community Blog Carousel

Power Apps Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (3,899)