How to check whether 'motion detection' is enabled in device?

I’d like to read live images only when moving objects are appeared.

So I set ‘motiononly’ attribute with ‘yes’ followed by Image Server Source Toolkit instruction which located in “[C:\Program](file:C:/Program) Files\Milestone\MIPSDK\Html\MMTKhelp\image_server_source_toolkit.html”

It works, but I find that I cannot read any data if motion detection setting is disabled.

I’d like to enable this feature only when motion detection is enabled.

Is there a way to check the motion detection setting status against certain device?

If you are using XProtect Corporate or Expert you will be able to use the Configuration API to read this (-the other XProtect versions do not have a configuration API).

You can see this if you run the Config API Client sample and you pick the camera and the Motion detection tab.

Thanks for your quick advice.

Yes, I’m using Corporate edition.

I can find the setting in ConfigAPIClient sample code.