A: They are located in the Learning Tab of NXG under Analysis > Vision.
Q: What are the new vision features available in NXG?
A: There are a few new features:
The Display Control has a new UI with GPU-optimized rendering. There is now transparency support for overlays and a more intuitive region of interest (ROI) tool. ROI changes are now captured as events through the event structure.
The LabVIEW NXG Vision Development Module also features an improved API. Improvements include: reducing the number of VIs through using "Modes" (polymorphic VIs), consistent VI connector panes and a standardized icon layout. Modes can now also be chosen through the configuration pane.
A: Vision Development Module 2017 SP1 and Vision Acquisition Software (VAS) 17.5 are supported in LabVIEW NXG version 2.0 and later. You can install support for Vision through the NI Package Manager.
A few considerations:
If you are using version 2018 SP1 or older, Vision Assistant will need to be separately installed through a WinMIF installer as the feed is not currently available in NI Package manager yet. Through the WinMIF Installer, support for LabVIEW NXG can be added.
In Vision Acquisition Software 18.0, NI-IMAQdx support through the NI Package Manager only installs the basic run-time. You can optionally add support for NXG 2.1, MAX configuration and the High-Performance GigE driver.
As of 2018 SP1, .NET support is no longer included in the installation through NI Package Manager.
A: In terms of configuring the connected cameras, VAS NXG will follow the same user work flow for configuring devices in NXG that other groups are using. This will be done through the use of Soft Front Panel (SFP) configuration windows which will include the following features:
Image Viewer to display Image - This includes the viewer tools for zooming and providing image information (i.e. image size, image type, pixel value/cursor location, zoom factor, etc.)
Control Acquisition (Start/Stop) – Provides a method to control the acquisition and acquire images.
Hierarchy of Attributes to configure camera settings- Access to all camera attributes using the hierarchy defined by the camera is important for full configuration capabilities of camera. Cameras use the GenICam standard to define the attributes and this requires a hierarchy to represent the relationship of attributes correctly.
Capture Image (i.e. save single image to disk) – Provides a method to save acquired images to disk.
Save and load configuration of camera settings - Provides a way to save the configuration so it can be used in gvi. Provide a way to load camera settings. For this release, we will not use the NXG project tree to store/retrieve camera settings, but will continue to use camera files in the IMAQdx/Data folder.
System Designer allows you to view your cameras and frame grabbers and configure them.
With this functionality, users will be able to detect, configure and troubleshoot their cameras from within the NXG environment without needing to switch to NI-MAX. However, NI-MAX will still be installed and will still be necessary for the following use cases:
Switching drivers for USB 3.0 cameras
Configuring camera files for Camera Link devices
Firewire cameras – VAS NXG does not include support for Firewire cameras in system designer and the Camera SFP. Configuration can be done through NI-MAX and the cameras can then be accessed programmatically in LV NXG
CG Real-Time targets – NXG as there is no RT support in this release
Q: How do I migrate my existing vision application from LabVIEW to LabVIEW NXG?
A: The process of migration will be the same as any other LabVIEW application. To learn more about the NXG Conversion Utility, refer to the Transitioning to LabVIEW NXG document.
Q: What are some caveats of migrating?
A: There are few changes that have been made during the migration of the Vision API from CG to NXG. Those changes were either to improve the API or align with other LabVIEW APIs:
When using the NXG Conversion Utility, a few VIs will return a broken run arrow (change of functionality or different input/outputs) when converted. These changes were made to improve the API. The customer will need to make small modifications to get the VI running. If you would like to learn more about which VIs fall into this category, please contact National Instruments Support.
Some VIs in NXG will have different datatypes for their input or outputs. To align with other LabVIEW APIs, a few Vision VIs will now either return or take an array of bytes instead of a string. Example: Setup Match Geometric Pattern and Match Geometric Pattern setup data is now an array of bytes instead of a string.
Some VIs will have different names in LabVIEW and LabVIEW NXG. To facilitate the migration process for customers, we have implemented a search functionality that will allow you to find the equivalent VI in LabVIEW NXG by entering the name of the VI used in LabVIEW.