电子设计工程
電子設計工程
전자설계공정
ELECTRONIC DESIGN ENGINEERING
2015年
12期
22-24
,共3页
XML文件%GigE Vision%智能相机%机器视觉
XML文件%GigE Vision%智能相機%機器視覺
XML문건%GigE Vision%지능상궤%궤기시각
XML file%GigE Vision%smart camera%machine vision
针对机器视觉行业中由于应用情况复杂而导致的需要频繁修改设备配置的问题,提出了一种使用XML文件配置用户界面接口的方法。使用这种方法,开发者只需要按照相应规范简单地修改XML文本文件,JAI Control内置的XML解析器会根据XML文件自动重新生成用户操作界面供用户使用。这种设计思路使整个系统扩展性强、二次开发简单、兼容性强,程序维护和升级也会更加方便。
針對機器視覺行業中由于應用情況複雜而導緻的需要頻繁脩改設備配置的問題,提齣瞭一種使用XML文件配置用戶界麵接口的方法。使用這種方法,開髮者隻需要按照相應規範簡單地脩改XML文本文件,JAI Control內置的XML解析器會根據XML文件自動重新生成用戶操作界麵供用戶使用。這種設計思路使整箇繫統擴展性彊、二次開髮簡單、兼容性彊,程序維護和升級也會更加方便。
침대궤기시각행업중유우응용정황복잡이도치적수요빈번수개설비배치적문제,제출료일충사용XML문건배치용호계면접구적방법。사용저충방법,개발자지수요안조상응규범간단지수개XML문본문건,JAI Control내치적XML해석기회근거XML문건자동중신생성용호조작계면공용호사용。저충설계사로사정개계통확전성강、이차개발간단、겸용성강,정서유호화승급야회경가방편。
A new method is put forward to solve the problem of modifying device configuration file frequently due to the complexity of application in the machine vision industry,which can configure user interface using the XML file. Using this method, developers only need to modify the XML text file following the corresponding specification, and then the XML parser will regenerate the user operation interface based on the XML file automatically for the user. The whole system will have stronger expansibility, easier secondary development, stronger compatibility, and it is easy to convenient maintenance and upgrade program.