Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

Are Vision RT VIs Deterministic?

Primary Software: LabVIEW Modules>>Vision Development Module
Primary Software Version: 4.0.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem:
Is there any way to ensure determinism when using the Vision Development Module with LabVIEW Real-Time?  Can I set a timeout on a Vision VI?

Solution:
Vision VIs are not deterministic because their execution time depend both on the size and content of a given image.  However, there are several tools for working with Vision in Real-Time. There is a Vision RT palette at Functions Palette » Vision and Motion » Vision Utilities » Vision RT.  Without LabVIEW RT installed, the palette contains 3 VIs, as shown below:



With LabVIEW RT installed, an additional 5 VIs are available, as shown below:



These VIs can be used to control execution timing of Vision Development Module VIs.  You can set a timeout for a single set of Vision VIs or for a series of VIs.  There are examples of how to use these VIs at labview\examples\Vision\4. Real-Time.

Not all Vision VIs work with the timer functions.  You must use the VIs located at labview\vi.lib\vision\Preallocated.llb in order to be able to set timeouts for Vision VIs.

Related Links:

Attachments:


visionRTsmall.gifvisionRTfull.gifparticle.gif


Report Date: 10/27/2007
Last Updated: 10/27/2007
Document ID: 4EQDJHP9

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit