Classification Example for LabWindows/CVI

NI Classification Training Interface

Classification Example for LabWindows/CVI

You can use the Classification Example for LabWindows™/CVI™ to classify samples using the file you created with the NI Classification Training Interface Tutorial.

Opening the LabWindows/CVI Classification Example

The location of the example depends on the operating system and version of LabWindows/CVI. To open the example, choose one of the following paths:
  • For LabWindows/CVI 8.5, navigate to <CVI>\Samples\Vision\2.Functions\Classification\Classification.prj, where <CVI> is the location to which you installed LabWindows/CVI.
  • For LabWindows/CVI 8.5.1 on Windows Vista, navigate to C:\Users\Public\Documents\National Instruments\CVI\Samples\Vision\2.Functions\Classification\Classification.prj.
  • For LabWindows/CVI 8.5.1 on Windows XP/2000, navigate to C:\Documents and Settings\All Users\Documents\National Instruments\CVI\Samples\Vision\2.Functions\Classification\Classification.prj.

Using the LabWindows/CVI Classification Examples

Complete the following steps to use the Classification Example for LabWindows/CVI:

  1. Click Build»Configuration»Debug, and then click Run»Debug Classification_dbg.exe to run the example.
  2. Click the Browse button and open the Tutorial.clf file you created upon completing the NI Classification Training Interface Tutorial.
  3. Click Load File, select one of the image files, and click Load.
  4. Draw an ROI around the sample to classify, then click Classify.
  5. Click Return to exit the example.