Genius Vision
日本語
  • Home
  • Products
    • NVR Subscription Edition
      • NVR Lite
      • NVR Enterprise (x64)
      • Community
      • Community (x64)
      • Hybrid Option
  • Services
    • Community Platform
    • Example System
    • ONVIF
    • Consultancy>
      • SDK
      • Remote Assistance
      • Software Modification
  • About Us
    • Track Records
    • Featured Installations
  • Documentation
  • FAQ
  • How to Buy
  • Contact Us
Example System / ONVIF実装方法のFAQ 

[Japanese]   

Search by question:   

デジタル入力(ET01)の実装方法は

Translated: en=>ja from How to implement Digital Input (ET01)

NOTE: 申し訳無いがこの記事がまだ翻訳されているです。 この記事の緊急の必要がある場合は、私たちに連絡し、この記事の翻訳を迅速に行います。

Warning! This is an implementation hint article. Read this first.

Calling sequence

For ONVIF digital input function, the calling sequence of Genius Vision NVR can be summerized as follows:

  1. This sequence only applies when Event.Template (explained here) is set to ET01.
  2. Calls <device>GetDigitalInputs to obtain number of input and their tokens. If failed, NVR will try to call <ver10/deviceio>GetDigitalInputs.
  3. Engage event notification sequence.

Reflecting digital input state change

Event definition in spec

ONVIF-DeviceIo-Service-Spec-v221.pdf

Message XML example

            <wsnt:NotificationMessage>

                <wsnt:Topic Dialect="http://www.onvif.org/ver10/tev/topicExpression/ConcreteSet">

tns1:Device/Trigger/DigitalInput

</wsnt:Topic>

                <wsnt:Message>

                    <tt:Message UtcTime="2008-10-10T12:24:57.321Z">

                        <tt:Source>

                            <tt:SimpleItem Name="InputToken" Value="[digitalInputToken]" />

                       </tt:Source>

                        <tt:Data>

                            <tt:SimpleItem Name="LogicalState" Value="[digitalInputState]" />

                        </tt:Data>

                    </tt:Message>

                </wsnt:Message>

            </wsnt:NotificationMessage>

  • [digitalInputToken]: Must match one of the tokens returned by <device>GetDigitalInputs or <ver10/deviceio>GetDigitalInputs.
  • [digitalInputState]: true if ON, false if OFF.

関連項目

  • How to setup & verify ONVIF DIO (Digital Input/Relay Output)
Copyright (C) by Genius Vision Inc., 2011-, all rights reserved. 前瞻視野股份有限公司 版權所有