10 Device Setup (デバイスのセットアップ)
10.3 GenICam and XML Files (GenICam と XML ファイル)
10.3.3 XML File Location ( XML ファイルのロケーション)
10.3.2.8
10.3.2.9
Image1StreamID
This gives the Stream ID of the primary image stream from the Device. It is recommended that this has a stream ID of 1 (see section 9.3 ).
これはデバイスからの最初の画像ストリームのストリームIDを提供する。このストリームIDには 1 を割り当てることを 推奨する(セクション9.3 参照)。
Image2StreamID
This gives the Stream ID of the secondary image stream from the Device.
Comment: This is part of the use case to allow for display of images from a two-tap camera device.
これはカメラデバイスからの 2 番目の画像ストリームのストリーム ID を提供する。
コメント: これは 2 タップのデバイスからの画像表示を可能にするためのユースケースの一部である。
10.3.3.1 URL Format – Non-Volatile Memory (URLフォーマット - 不揮発性メモリ)
If the XML file is stored in non-volatile memory in the Device, the URL shall be of the form:
“Local:<Filename>.<Extension>;<Address>;<Length>” as defined in Table 46.
Table 46 ― URL Format – non-volatile memory
Field Description
Local Indicates the XML file is stored in non-volatile memory in the Device.
<Filename> The name of the XML file. It is recommended that this includes the vendor name, model name, and Device revision.
<Extension> “xml” indicates a text XML file (i.e. uncompressed).
“zip” indicates a ZIP format compressed file.
<Address> The start address of the file in the Device memory map, given in hexadecimal form without a leading “0x”.
<Length> The length of the file in bytes, given in hexadecimal without a leading “0x”.
Example: “Local:MyCompany_MyProduct_Rev1.zip;B8000;33A” is a ZIP file starting at address 0xB8000 in the Device with a length of 0x33A bytes. The file is for revision 1 of a Device called
“MyProduct” made by “MyCompany”.
Comment: The filename is not used here, but may be useful when comparing the file with other versions on the Host system.
デバイス内の不揮発性メモリに XML ファイルを保存する場合,URL は以下の形式とすること<SHALL>。
“Local:<Filename>.<Extension>;<Address>;<Length>” (表 46に定義)
表 46 ― URLフォーマット - 不揮発性メモリ
フィールド 説明
Local デバイス内の不揮発性メモリにXMLファイルが保存されていることを示す。
<Filename> XMLファイルの名前。ここにはメーカ名,モデル名,デバイスのバージョンを含ませることを推奨す る。
<Extension> “xml”はテキスト形式のXMLファイル(非圧縮)を表す。
“zip”は圧縮されたZIPファイルを表する。
<Address> デバイスのメモリマップにおけるファイルが開始アドレス。接頭辞“0x”無しの16進数形式となる。
<Length> byte単位でのファイル長。接頭辞“0x”の表記が無くとも16進数形式となる。
例:“Local:MyCompany_MyProduct_Rev1.zip;B8000;33A”ではデバイス内にサイズ 0x33A バイトの ZIP ファイルが メモリアドレス 0xB8000 から保存されていることを示す。これは“MyCompany”社製の“MyCamera”というデバイス のリビジョン 1 向けのファイルである。
コメント: Filename はここでは使われていないが,ホスト側のシステムで他のバージョンとファイルを比較したい場合等に Filename が有効である。
10.3.3.2 URL Format – Vendor Website (URLフォーマット - メーカーウェブサイト)
If the XML file is stored on the vendor’s website, the URL shall be of the form:
“Web:<WebURL>/<Filename>.<Extension>” as defined in Table 47.
Table 47 ― URL Format – vendor website
Field Description
Web Indicates the XML file is stored on the vendor’s website.
<WebURL> A full web URL, from the scheme name (e.g. http) to the path.
<Filename> The name of the XML file. It is recommended that this includes the vendor name, model name, and Device revision.
<Extension> “xml” indicates a text XML file (i.e. uncompressed).
“zip” indicates a ZIP format compressed file.
Example: “Web:http://www.mycompany.com/xml/MyCompany_MyProduct_Rev1.xml” is a text XML file found at http://www.mycompany.com/xml. The file is for revision 1 of a Device called “MyProduct” made by “MyCompany”.
Note: None of the fields are case sensitive.
ベンダーのウェブサイトに XML ファイルを公開する場合,URL は以下の形式とすること<SHALL>。
“Web:<WebURL>/<Filename>.<Extension>” (表 47に定義)
表 47 ― URLフォーマット - メーカーウェブサイト
フィールド 説明
Web メーカのウェブサイトにXMLファイルが公開されていることを示す。
<WebURL> スキーム名(例:http)からパスまでを含むフルWeb URLである。
<Filename> XMLファイルの名前である。ここにはベンダー名,モデル名,デバイスのリビジョンを含めることを 推奨する。
<Extension> “xml”はテキスト形式のXMLファイル(非圧縮)を表す。
“zip”は圧縮されたZIPファイルを表する。
例:“Web:http://www.mycompany.com/xml/MyCompany_MyProduct_Rev1.xml”の場合は
http://www.mycompany.com/にてテキストの XML ファイルが公開されていることになる。これは“MyCompany”社 製の“MyProduct”というデバイスのリビジョン 1 向けのファイルである。
注:フィールドは大文字と小文字を区別しない。