Hi community
I hope every one ok
If someone already done working with pyserial library so communicate with a weightbridge or balance via browser need help please
Regards
Hi community
I hope every one ok
If someone already done working with pyserial library so communicate with a weightbridge or balance via browser need help please
Regards
I worked with pyserial
, but not via the browser, but it shoudln’t be a problem, since you can freely invoke Python functions via a client-side JS API call.
What exactly is your question?
Thnk u @igrekus
I would like to communicate with a weight materiel so when user receive marchandise get weight auto from the balance.
Regards
Sorry, I’m not sure I understand your use case correctly without more detail, but in general it should work like this:
frappe.call()
serial.write()
and serial.read()
return
this processed answer in the Python function.frappe.call()
, by modifying respective docs.But the com cable connected to the machine in local computer
You will need to setup some sort of communication setup between the server hosting ERPNext and the machine the COM-device is connected to.