实例介绍
GigE协议英文文档,权威外文协议文档,配以必要中文注释
GiGE E Vision Specification VISION version 2.0 alal. Table of content 1 Introduction 1 Purpose 22 1. 2 Technical Committee 1. 2.1 Version 2.0 23 1.3 Definitions and Acronyms…………….….….….….….….….….….….….….….….…….……….…..,24 1.3.1 Definitions 24 1.3.2 Requirements Terminology 26 1.3.3 Acronyms 27 1. 4 Reference documents 29 1.5 Document Typographic Convention………..….….…..…. ··.····· 1.6 Liability Disclaimer……… ,32 ystem overview ·:····:·.···:··· .32 PART 1- Device Discovery 35 Device Discovery summary…… 垂音垂垂音 36 2.1 Overview 36 2.2 Goals∴…..……...37 2.3 Scope 37 3 Physical link Configuration 3.1 Single link Configuration 39 3.2 Multiple links Configuration 39 3.2.1 Load Balancing Considerations 垂垂垂D垂垂 40 3.3 Link aggregation Group Configuration…………… 3.3.1 Network interface 41 3.3.2 GVCP Impacts 3.3.3 GVSP Impacts 41 3.3.4 Static Lag vS Dynamic LAG 42 3. 3. 5 Events for Lag 42 4 IP Configuration... 44 4.1 Protocol selection 44 V2.0.03 april 16, 2013 Page 3 of 427 GiGE E Vision Specification VISION version 2.0 alal. 4.2 Persistent IP 垂。·垂垂垂 ……46 4.3 DHCP 垂··垂 垂 ·垂 48 4.3.1 DHCP Retransmission Strategy…… 49 4.3.2 dhCP Lease expiration 1番D番面面 50 4.4 Link-Local Address 5 Device enumeration 52 5.1 GVCP Device Discovery……………… ··.垂看 5.1.1 Broadcast Device Discovery 53 5.1.2 Unicast Device Discovery 53 5.1.3 Associating the device to the Enumeration List 53 5.2 Zeroconf Discovery. ...............53 5.2.1 Multicast DNS(MDNS) 非垂垂D垂 垂垂4垂。垂 …55 5.2.2 DNS Service Discovery (DNS-sD) 56 6 Device attachment and removal 60 6.1.1 Removal 6.1.2 Attachment 音看音。章垂 60 PART 2-GVCP 61 7 GVCP Summary 。·看·看番D,·垂看 62 7. 1 Overview 7.2 Goals 62 7.3 Scope...... 62 8 GVCP Transport Protocol Considerations 64 8.1UDP..…….…………,………………………… 64 8.1.1 Fragmentation . ······ .64 8.1.2 Packet Size 65 8.1.3 Reliability and Error recovery.…… 8.1. 4 Flow Control .69 8.1.5End-to- End connection..…………………………………69 9 The Channel Concept 70 10 Control channel 73 10.1 Control channel privileges …74 V2.0.03 April 16. 2013 Page 4 of 427 GiGE E Vision Specification VISION version 2.0 alal. 10.2 Control Channel Registers 垂。·垂垂垂 10.3 Opening a control channel ·垂 78 10.4 Closing a Control channe 79 10.5 Control Channel heartbeat 1番D番面面垂 80 10.6 Controlling the device 81 10.7 Use of Pending 1 Stream Channel 86 11.1 Stream Channel registers 86 11.2 Tagging Data Block 87 11.3 Opening a Stream Channel......... 89 11.4 Operation of the Stream Channel 89 1.5 Closing a stream Channel 。。·音。音·.垂。·.,非音垂看·垂音垂·看音垂。非 垂垂4垂。垂 89 11.6 Packet Size 11.7 Multicasting 垂套看音垂 1. 8 Impact of Multiple Network Interfaces 11.9 Traversing Firewalls or Network Address Translation Devices 91 1.10 Unconditional Streaming……… 92 12 Message Channel 93 12. 1 Message Channel Registers 垂D音 93 12.2 Opening the message Channel 93 2. 3 Operation of the message channel 垂·垂;垂音垂音垂垂看垂·音垂D垂垂 94 12. 4 Closing the Message Channel 垂垂看 94 12.5 Asynchronous Events 95 12.6 Multicasting.. ..95 12.7 Traversing Firewalls or Network Address Translation Device 95 13 Device with Multiple Network Interfaces 97 13. 1 Impact on Control Channel 97 13.2 Impact on Stream Channels 97 13. 3 Impact on Message Channel 番垂看 97 14 Additional Concepts 98 14.1 Retrieving the Xml Device Description File 14.1.1 Device Non-Volatile Memory 垂垂垂 ∴99 V2.0.03 April 16. 2013 Page 5 of 427 GiGE E Vision Specification VISION version 2.0 alal. 14.1.2 Vendor Web site ………100 14.1.3 Local Directory ·垂 …101 14.14 Manifest table 101 14.2 Device synchronization 垂音看 102 14.2.1 IEEE 1588-2008 Principles 102 14.2.2 Timestamp Synchronization .....102 14.2.3 IeeE 1588 Configuration …105 142. 4 EeE 1588 Profile .105 143 Action commands .106 14.3.1 Scheduled Action command …108 14.3.2 ACTION CMD examples...,.,.,,,……,109 14.4 Primary Application Switchover 垂垂4垂。垂 14.4.1 Primary Application Switchover Setup Example 114 15 GVCP Headers 115 15.1 Command Header 115 15.2 Acknowledge Header. ........116 153 Byte Sequencing…… …,………………117 16 Control Channel Dictionary 121 16.1 DISCOVERY 垂D音 121 16.1.1 DISCOVERY CMD.…………………………………… 121 16.1.2 DISCOVERY ACK 春音垂看音 …………122 16.2 FORCEIP …124 16.2.1 FORCEIP CMD 124 16.2.2 FORCEIP ACK .126 16. 3 READREG 127 16.3.1 READREG CMD..……… ·······..·····..····· ·········· 128 16.3.2 READREG ACK …128 16. 4 WRITEREG 129 16.4.1 WRITEREG CMD …130 16.4.2 WRITEREG ACK….… 16.5 READMEM 16.51 READMEM CMD 垂垂垂 132 V2.0.03 April 16. 2013 Page 6 of 427 GiGE E Vision Specification VISION version 2.0 alal. 16.5.2 READMEM ACK 垂。·垂垂垂 132 16.6 WRITEMEM .········ …………133 16.6.1 WRITEMEM CMD 134 16.62 WRITEMEM ACK 垂音看 134 16.7 PACKETRESEND 135 16.71 PACKETRESEND CMD 136 16.7.2 PACKETRESEND Response.…… 138 16.7.3 Packet Resend handling on the gvsp receiver side .143 16.8 PENDING .144 16. 8.1 PENDING ACK 16.9 ACTION......……..…………………145 16. 9.1 ACTION CMD 。。·音。音·.垂。·.,非音垂看·垂音垂·非非。垂垂 垂垂4垂。垂 146 16.9.2 ACTION ACK 147 17 Message Channel Dictionary 垂套看音垂 148 17.1 EVENT …148 17.1.1EⅤ ENT CMD… 春垂 149 17.1.2 EVENT ACK ,150 17.2 EVENTDATA 150 17.21 EVENTDATA CMD 垂D音 …151 17.2.2 EVENTDATA ACK 152 18 Command and acknowledge values.................................153 19 Status Code 155 20 Events 158 21 ICMP 159 PaRT 3-GVSP 161 22 GVSP Summary 162 22.1Overview...wwwwwwww.wwww.wwww.162 22.2 Goals ······· 垂着音,垂 162 22.3 Scope .162 23 GVSP Transport Protocol Considerations …163 23.1UDP.…… 163 V2.0.03 April 16. 2013 Page 7 of 427 GiGE E Vision Specification VISION version 2.0 alal. 23. 1. 1 Fragmentation ...........163 23. 1.2 Packet Size requirements .········ ·垂 l63 23. 1.3 Reliability and Error recovery 163 23.14 Flow control 164 23. 1.5 End-to-End Connection …166 23. 1.6 Device error handling during acquisition and transmission .............. 1 66 24 Data block ……168 24.1 Data Block transmission modes 169 24.2 Data block packet header 171 24.2. 1 GVSP Status Flags …174 24.3 Standard Transmission mode packets ...............................................................................174 243.1 Data Leader packet 。。·音。音·,垂。·.,非·音垂看··垂音垂,·音垂着。 ……174 24.3.2 Data Payload Packet 175 243.3 Data Trailer packet 垂套看音垂 176 24.4 All-in transmission mode packet …177 24.5 Chunk data 看。。垂看。垂。· 24.5.1 Byte Ordering Example for Chunk Data……… 180 24.5.2 GenI Cam Chunk Definition Example 181 24.6 Test packet 垂D音 182 4.6.1 LFSR Generator 183 5 Payload Types.....................86 25.1 Extended Chunk mode 187 5.2 Image Payload type 25.2.1 Image Data Leader Packet 189 25.2.2 Image Data Payload Packet 91 25. 2.3 Image Data Trailer Packet 192 25.2. 4 Image All-in Packet 193 5.3 Raw Data Payload type 193 25.31 Raw Data leader packet 193 25.3.2 Raw Data Payload Packet 194 25.3.3 Raw Data Trailer packet.……195 253. 4 Raw All-in Packet 垂垂垂 195 V2.0.03 April 16. 2013 Page 8 of 427 GiGE E Vision Specification VISION version 2.0 alal. 25.4 File Payload Type . 195 25.4.1 File data Leader packet .········ ·垂 196 25.42 File Data Payload Packet 196 25.43 File data trailer packet 197 25.4.4 File All-in packet …198 25.5 Chunk data Payload Type....................198 25.5.1 Chunk data Leader Packet …198 25.5.2 Chunk Data Payload Packet 199 255.3 Chunk data trailer packet .199 25.5.4 Chunk All-in packet .200 25.6 Extended Chunk Data Payload Type( deprecated). .....200 25.6. 1 Extended Chunk Data Leader packet(deprecated) 非垂垂D垂 垂垂垂。垂 25.6.2 Extended Chunk Data Payload Packet(deprecated) .202 25.6. 3 Extended Chunk Data Trailer Packet(deprecated 202 25.7 JPEG Payload Type…,… 203 25.7.1 JPEG Principles 春垂 203 25.7.2 JPEG Implementation for GVSP 204 25.7.3 JPEG Data Leader packet 205 25.74 JPEG Data Payload packet 垂D音 206 25.7.5 JPEG Data Trailer Packet …207 25.7.6 JPEG All-in Packet 208 25.8 JPEG 2000 Payload Type 208 25 8.1 JPEG 2000 Principles 208 25.8.2 JPEG 2000 Implementation for GVSP 209 258.3Jpeg2000DataLeaderpacket.wwwwwwwww.210 25.8. 4 JPEG 2000 Data Payload Packet 211 25.8.5 JPEG 2000 Data Trailer Packet 25.86 JPEG 2000 All-in packet 212 25.9 H.264 Payload Type …212 25.9. 1 H. 264 Principles …212 25.9.2 H 264 Implementation for GVSP ·垂,垂垂 ……214 259.3 H. 264 Data Leader packet 垂垂垂 214 V2.0.03 April 16. 2013 Page 9 of 427 GiGE E Vision Specification VISION version 2.0 alal. 2594H.264 Data Payload Packet........….….…………217 25.9.5 H 264 Data Trailer Packet .········ ·垂 .223 259.6 H.264 All-in Packet 223 25.10 Multi-zone Image Payload Type 224 25. 10.1 Multi-zone Image Principles 224 25.10.2 Multi- zone Image Implementation for GVSP......…………………228 25.10. 3 Multi-zone Image Data Leader Packet .230 25.10. 4 Multi-zone Image Data Payload Packet 231 25 10.5 Multi-zone Image Data Trailer Packet 233 25.10.6 Multi-zone Image All-in Packet............ 233 25. 10.7 Multi-zone Image Examples 233 25. I Device- specific Payload Type…………….…….….….…….….….,..,.…....237 25 11.1 Device-specific Data Leader Packet 237 25. 11.2 Device-specific Data Payload Packet 238 25. 11.3 Device-specific Data Trailer Packet 238 25 11.4 Device-specific All-in Packet ·:·..····· 239 26 Pixel Layouts……… .240 26.1 Pixel Alignment 240 26.2 Line and Image boundaries 垂D音 240 26.3 Pixel formats 241 26.3.1 Monolp.241 26.3.2Mono2p……… …242 263.3Mono4 243 26.3.4Mono8 243 26.3.5Mono8S… 244 26.3.6Mono10 .··:···..·····:·························.:·.······:·····;·.··.·····:····.:·.·············.·;·:··············:·.···:··· 245 26.3. 7 Mono pAcked 246 26.3.8Mono12 247 26.39 Mono12Packed ……………247 26.3.10Mono14 248 26.3.11Mono16…… 249 26.3.12 BayerGr8 垂垂垂 250 V2.0.03 April 16. 2013 Page 10 of 427 【实例截图】
【核心代码】
标签:
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论