Traditional Culture Encyclopedia - Photography major - The difference between VBAI and visual assistant

The difference between VBAI and visual assistant

The full name of DVBAI is Vision Builder for Automatic Inspection, and the official Chinese name of NI is Visual Generator for Automatic Inspection. It can be understood as a powerful application developed by NI engineers using NI Vision Developments Module (VDM). Using VBAI, it can be directly used for project inspection, and engineers do not need to spend too much time on building program framework and realizing logical functions. Many times, some simple projects, using VBAI, may be completed in a few minutes. The advantage of VBAI is that it can quickly detect some routine visual projects without spending too much time and energy on programming, and it is relatively simple to get started. But its shortcomings are also obvious, that is, its interface framework has been fixed, and it is impossible to have too many modifications and edits; At present, there is only an English version, so it is not convenient to make a Chinese version; Generally, the hardware it supports can only be NI hardware, NI certified hardware, or some standard communication protocol hardware, which is relatively limited. For example, many domestic cameras, acquisition cards and IO cards cannot be used in VBAI. Generally speaking, VBAI projects cannot integrate motion control. If there is motion control, you can only consider using PLC, and then exchange data with PLC through communication. Other problems, such as data storage, can only be in TXT, CSV and other formats. In addition, the script execution of VBAI is sequential, which can not give full play to the parallel characteristics of LabVIEW, so the execution efficiency is slow. VBAI can also generate code for developing programs, but due to its own complexity (variable system, additional tools, etc. ), the generated code is relatively complex, difficult to understand and inconvenient to call. The encryption of VBAI is also very simple, and it can only protect scripts. If you install VBAI for a customer, you have to tell him the password if you want him to modify the parameters, which is not good for the protection of software products.

# H8 { & ampw & ampc2 q,b7 K4 I

9W9C9b。 E5p-a:/i. | NI Visual Development Module (VDM) is the integration of all NI visual functions. All programs and software related to NI vision call the function of VDM, and VBAI also calls the function of VDM. After installing VDM, a visual assistant will be generated. Of course, the visual assistant itself is also an EXE application. Its implementation is very similar to VBAI, but its function is not as powerful as VBAI, so it can't be collected, processed and judged in real time. Because its collection and analysis are separated, and then there is no variable system, it is impossible to make normative judgment. You can only verify whether the feature is found, and you can measure the data of the feature. But because it is relatively simple, the code he generated is much simpler and clearer. This is also the fundamental purpose of NI visual assistant, which is to let users use the assistant to complete most of the visual functions without directly calling the functions, making it more convenient to use. )U,e3 I+ S2 h6 @! T9 y. Q8 '

; _* v) c7 E' xVBAI is like a department manager, and VDM is like a general manager. The general manager can basically do what the department manager can do. The visual assistant is the secretary of the general manager. The secretary can help the general manager with some things, but not everything. Why do you want to be the general manager when you want to do everything? )O; H & ampS( U" m*?

. v,j5 t4 B( c! E8 TV and TV. ~5 UVBAI and visual assistant can only complete most of the functions of VDM, but some other special functions cannot be completed. So if you want to have a better and more comprehensive development, of course, you should use a development platform like LabVIEW to directly call the function of VDM. At this time, if you are not familiar with VDM, you can use visual assistant to generate code (LabVIEW, C,. NET) to facilitate the call of the development platform. If it is only a simple application and verification, you can use VBAI. If it is a large-scale commercial project, you must consider developing your own software with LabVIEW+VDM, which can effectively protect your own software products and will not be copied by customers at will. +L " b @ 9 L2 m * Q & amp; u & amp], \

4 ~3 T6 V! Q6 Z9 {6 N0 V9 J# H