Good morning
Is there a way to write a rule that would send an AUX command.
Thank you.
Good morning
Is there a way to write a rule that would send an AUX command.
Thank you.
Out of the box I do not think this rule is possible.
You can send a AUX from the Smart Client manually by configuring an overlay button.
You can develop a plugin that makes it possible to send an AUX from a rule. Use the BatAction sample as a starting point and modify it to send the command using VideoOS.Platform.Messaging.MessageId.Control.PTZAUXCommand
Thank you for the reply, I looked at the .bat sample but I’m confused as to where do I find the commands to send in the .bat file. Excuse my ignorance but is there a list of commands that I can pass in a bat file. Looked with my developer and we could not find any list of commands other than using .Net to write programs etc.
Thank you.
Sorry to cause confusion. My describtion of my suggestion was too short and inaccurate. You should not find commands to send in the bat file. You should not execute batch files but remove that functionality and instead you should send a command to the camera using Messaging.
In BatActionActionManager make a different ActionDefinition and a different ExecuteAction. I am sorry as I have done this myself I cannot say what else is needed, if you cannot get it to work please ask again.
Using the Smart Client View and Windows tool plug-in sample, the AUX tab, you can see how to send the AUX command and explore the needed code. This is the functionality I suggest you implement in a “Action”.
Bo would you have an example to go buy, this may help us out more.
Thank you.
I only have the two samples mentioned which should then be combined, it does require plug-in development.
I have an idea. Instead of developing a plugin with rule action you could develop a small standalone application that could be triggered by the BatAction sample from a bat file, this would be easier but not as ‘clean’.
I made sample on idea two, very quick and dirty and very untested..
http://download.milestonesys.com/MIPSDK/Samples/CameraAUX.zip
Bo Thank you. I will take this to my developers and see if they can make sense of it.