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?
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.
This is something I'm just looking into also. @bmarcowka did you manage to find any more out on this subject?
Cheers.
Hi, I was curious if anyone had a solution for this.
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/
User | Count |
---|---|
247 | |
105 | |
82 | |
50 | |
43 |