Would it be possible to send ‘custom’ messages to the camera using Overlay Buttons.
I am using the Axis Q7401 Encoder and want to send the follwing custom control message to the camera:
‘http://172.16.53.155/axis-cgi/com/serial.cgi?user=root&pwd=root&port=2&writestring=%2319B21R%0d’
It is not possible to send these commands based on an overlay button.
Perhaps you can use this as a workaround: It is possible to build a HTML page that can send the URL from within a HTML page in a Smart Client view.
Hi Bo, thanks for the feeedback. Yes I’ve implemented that buttons on the html page but the client view options does not really work when sacrificing video display area for the html page.
Is the “overlay html button” option perhaps possible by developing a client plugin? What sample plugin is worth looking at for developing this feature … if possible at all?
Hi Bo, I’ve solved the overlay button limitation by using a Smart Client Toolbar Plugin that allows me to send “custom” messages to the Camera. All works fine except when I spawn the Smart Client using a Script that auto login and setup the correct view.
What could be the problem ?
My Script file:
<ScriptEngine>
<Login>
<ServerAddress>http://127.0.0.1</ServerAddress>
<AuthenticationType>Simple</AuthenticationType>
<UserName>milestone</UserName>
<Password>milestone</Password>
</Login>
<Script>
SCS.Application.ShowLive();
SCS.Application.HideSidePane();
SCS.Views.SelectView("Shared.New Group.TView");
</Script>
</ScriptEngine>
I am afraid that I have to tell you that there are SmartClient scripting functions which simply do not work. Scripting has not been maintained for a long time.
Hi, Yes I’ve noticed that some scripting functions is not working. In my case the basic Smart Client Auto Login and View Selection does work but affect the Smart Client Plugin. Is this a known issue or user privilages or something else? At the end of the day I need an automated SmartClient that startup with the preconfigured cameras and views with my custom Plugins working.
I am trying to get some people in Milestone to be interested in the problem. But even if I succeed, you ought not expect a quick fix.