English Boards > Support

Restart of terminal

<< < (2/2)

pecanhouse:
a quick note even if your on a desktop the power setings in device manager for network cards is default to alow computer to sleep.

emre:
Hello CafeCuppio

When autologout feature active SambaPOS does not refresh cache for speeding up logins. So if you keep terminals at that state your terminals won't know work period refreshed. You have two options.

* You can totally logoff by clicking to "Main Menu" button after logging in
* By using messagingserver application you can refresh terminals when workperiod restarted on server. Messagingserver is basically a chat server :) We use it for sending messages to terminals.

First of all you need to start messagingserver.exe on server and enable Autostart setting. If you receive a firewall warning please allow messagingserver application. Generally there is no need to change default Port Number (8080) but if you change it you should change it on terminals too.

Start sambapos on server, navigate to Manage > LocalSettings and enable "Auto Start Message Client". Save settings and restart SambaPOS. Now you should see green "Connected" on status bar. Do the same local setting on all terminals but enter "Message Server Name" as Server's Network Name. When you see "Connected" on all terminals that means your terminals are ready to talk.

If everything works fine when you create a ticket for a table all table views will automatically update.

Now we should configure SambaPOS to send a message to all terminals when workperiod starts and ends. On server:

* Navigate to Management > Actions
* Create a new action and name it as "Send Refresh Message"
* Action Type will be "Broadcast Message"
* Command parameter will be REFRESHSambaPOS should send this mesasge to terminals on work period start and work period end. Let's configure it.

* Navigate to Rules, create a new rule and name it as "Send WPStart Message"
* Event Name will be "Work Period Started"
* Click "Select Actions" and choose "Send Refresh Message" action that you created.
* Save it.
* Create a new Rule, Name it as "Send WPEnd Message", select "Work Period Ended" event and choose "Send Refresh Message" actionOK. Now SambaPOS will send "REFRESH" message to all terminals when work period starts and ends. But what will terminals do when they receive "REFRESH" message? Now we'll configure that.

* Navigate to Actions, Create a new action and name it as "Refresh Cache"
* Select Action Type as "Refresh Cache" and Save itNow we'll tell terminals to "Refresh Cache" when they receive "REFRESH" message

* Navigate to Rules, create new rule and name it as "Process Refresh Message"
* Event Name will be "Message Received"
* On "Conditions" group Command will be equal to REFRESH (Command = REFRESH)
* Click Select actions and Choose "Refresh Cache"Now all terminals will understand work period ended on server.

CafeCuppio:
Awesome .... Had the Message server functioning already, was hoping to use it to send important info to terminal like when there is a stock shortage, etc.

One day when I am grownup I will completely understand there rules and action and write my own ;) But it is making more and more sense everyday ;)

Navigation

[0] Message Index

[*] Previous page

Go to full version