教案讲稿视觉io-wizard_第1页
教案讲稿视觉io-wizard_第2页
教案讲稿视觉io-wizard_第3页
教案讲稿视觉io-wizard_第4页
教案讲稿视觉io-wizard_第5页
免费预览已结束,剩余24页可下载查看

付费下载

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、I/O and the Application WizardSession 13ObjectivesThe student will correctly:Configure I/O settings using the Communications ExplorerLight LEDs with result from applicationSend TCP/IP information to HyperTerminalCreate and configure an operator user interface using the VisionPro Application WizardI/

2、O: Getting Data OutGetting Results OutPosted Items Holds the results of completed runs of each jobRequired to bring data out to be utilized by or C#Adding Posted ItemsThis will make the value for the amount of blobs found available to a third party applicationAdding Posted ItemsAll items that are po

3、sted (along with path) will be listedApplication PropertiesSettings:Control of some memory resourcesLanguage: Language usedMultithreading: Enabling more efficient use of coresQuickBuild Floating ResultsAbility to quickly show (and queue) results with imagePosted Items: Results of job and all posted

4、itemsFailure Results Queue: Failures as indicated by Application Properties Discrete I/O Through QuickBuildIn order for QB to generate I/O signals, enable I/O settingsOpen the Communications ExplorerCommunications ExplorerFirst you need to add the appropriate deviceGo into the created folder to gain

5、 access to the individual linesCommunications ExplorerUsage - Then you would set the lines to be input or output.The module that you use will dictate the polarity available for the linesOwner Select which job (or the application as a whole) that controls the signalCommunications ExplorerField Select

6、 the appropriate parameter or tool result Pulse Width and Polarity Defines the amount of time the pulse is on as well as whether this is high or low (for connecting with NPN or PNP devices)Check ConfigurationTo make sure the configuration is correct click on “Configuration Checking”.This will check

7、for missing hardware or conflicting I/O linesInstalling Measurement Computing BoardDrivers are available with the installation To install the drivers (not installed by default)Select the option during installationYou may go back and install after the factRestart Setup.exe in the C:Program FilesVisio

8、nPro x.xx directorySelect Modify and choose to add driverMake sure to load the drivers as wellDone by running the Setup.exe file in the C:Program FilesVisionPro x.xxdrivers directoryFinal Notes on Discrete IOIO must be enabled to “run”When enabled, parameters cannot be changedThe IO is globalAll job

9、s associated with the application use the same IODifferent applications will reset the IO* Take care best to keep IO consistent as it is hardwiredIf you use an output line to transmit a tool result, you must create a Data Ready output as well.TCP/IPTCP/IP packets exchange application data and result

10、s with other Windows applications You can create as many TCP/IP devices as you need in QuickBuild Be aware, this will have an impact on the performance of your vision application You can configure as a Client or ServerClient and Server not mutually exclusiveAdding TCP/IP IORight Click to Add TCP/IPC

11、hoose from Client or ServerIf Client, select from list the device to connect (server)Client is responsible for opening the channelDevice is added with informationConfiguring TCP/IP IOClick in the field to add dataConfiguring TCP/IP IOThe data string can then be configured with control character(s)En

12、coder data format that the remote device expects to receiveOutput TerminatorCarriage ReturnNew LineOutput DelimiterCommaTabSpaceSemi ColonUnderscoreConfiguring TCP/IP IOThe result string that will be transfer to the remote device is shown in the Output String window at the bottomConfiguring TCP/IP I

13、OIf this is a multi job application, repeat the last three step after selecting the job to configure the TCP/IP IO dataApplication WizardApplication WizardCreates a full-featured application from a QuickBuild project file (.vpp file) that includes a customized operator interfaceDoes not require a Vi

14、sual Studio or other development environment license Output is a .NET applicationMay optionally generate the source code in C# or for that application. Wizard walks through step by step procedures to ensure proper application creationApplication WizardApplication Wizard Use of Posted ItemsApplication Wizard Input PropertyApplication Wizard Input PropertyAdvantages vs. DisadvantagesAdvantageQuick creation of runtime application for userDo not need to know programmingUser sees just image, r

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论