OK, upgraded to 5.3.6 (painlessly may I add ).
Iāve added the Action, Automation Command and Rule as per the tutorial. Iām thinking I need to get the format right in the properties of the scale.
Hereās what I have so far:
And this is the message coming back from the scales (after sending the W in PuTTY):
One other thing Iāve noticed is that the āTestā option doesnāt become available where the Scale is added?
9/02/2022 12:18 pm
9/02/2022 12:18:17 pm Custom Scale>Finalize Start,COM7
######################### E N D #########################
9/02/2022 12:18 pm
9/02/2022 12:18:18 pm Custom Scale>Finalize End,COM7
######################### E N D #########################
9/02/2022 12:18 pm
9/02/2022 12:18:18 pm Custom Scale>Init Start,COM7
######################### E N D #########################
9/02/2022 12:18 pm
9/02/2022 12:18:18 pm Custom Scale>Init End,COM7
######################### E N D #########################
9/02/2022 12:18 pm
9/02/2022 12:18:40 pm Custom Scale>Data:W,COM7
######################### E N D #########################
9/02/2022 12:18 pm
9/02/2022 12:18:40 pm Custom Scale>Data:W,COM7
######################### E N D #########################
Still canāt get this to work. One thing Iāve noticed is that each time I press the āscaleā button (the one I created to send data to the scale) there are 7 entries in the scale.log, doesnāt seem right to me.
Tried that but still nothing. I did notice in Scale.log that the date format is US though:
Today in the 7th of May
5/7/2022 12:46 PM
5/7/2022 12:46:31 PM Custom Scale>Data:W,COM1
######################### E N D #########################
5/7/2022 12:46 PM
5/7/2022 12:46:39 PM Custom Scale>Data:W,COM1
######################### E N D #########################
Select the COM port to which the scale is connected.
I have set the other options to the defaults as specified in the manufacturerās documentation so they shouldnāt need to be changed.
When you click āStartā, a timer will be enabled at a 1s interval. When the timer ticks, the init string will be sent to the specified COM port. Once a response is received, the timer will restart. This will keep going until āStopā is clicked.
Firstly, Iād like you to select the āEmulate POSā option. This will create a connection that mirrors how SambaPOS does it.
Click āStartā, weigh a couple of things then click āStopā. In the executing folder, rename log.txt to log_pos.txt before continuing and set aside to send me.
Then deselect āEmulate POSā, click start and weigh some more things then click āStopā.
Zip log.txt and log_pos.txt and send to me. Iāll have a look at the responses and go from there.
Binary is found in the bin directory. Source code is included.
When I click Emulate POS I get a Port is already open error:
Nothing else is running, if I close the app then run PuTTy I can access to port fine.
If I uncheck Emulate POS nothing happens. I tried typing a W, then I tries using PuTTy and got access denied error. How do I send the W in this mode?