判断VPP是那种类型,可以通过查找到Cognex 安装目录下的VPPVersion.exe 然后再命令行
键入如下来显示VPP的类型以及包含工具的版本信息

C:\Program Files\Cognex\VisionPro\bin>VPPversion --help

Cognex VisionPro Version Utility -v 1.0
VPPVersion.exe
Options:
-v, --verbose file name
        Outputs the object type, the release in which the file was create and all other referenced assemblies
-f, --file file name
        Outputs the object type and the release in which the file was created

Examples:
        VPPVersion.exe --help
        VPPVersion.exe -h
        VPPVersion.exe --file VPPFile
        VPPVersion.exe -f VPPFile
        VPPVersion.exe --verbose VPPFile
     **   VPPVersionr.exe -v VPPFile**

**C:\Program Files\Cognex\VisionPro\bin>VPPversion -v D:\cam1.vpp**

Object Type:
        Cognex.VisionPro.QuickBuild.CogJobManager

Release Name:
        69.2.2.0

.Net Framework Version:
        4.0.0.0

Referenced Assemblies:
        Cognex.VisionPro.QuickBuild.Core
        69.2.2.0

        Cognex.VisionPro.QuickBuild.IO
        69.2.2.0

        Cognex.VisionPro.Core
        69.2.2.0

        Cognex.VisionPro.FGGigE
        69.2.2.0

        Cognex.VisionPro.ToolGroup
        69.2.2.0

        Cognex.VisionPro
        69.2.2.0

        Cognex.VisionPro.ImageProcessing
        69.2.2.0

        Cognex.VisionPro.PMAlign
        69.2.2.0

        Cognex.VisionPro.CalibFix
        69.2.2.0

        Cognex.VisionPro.Caliper
        69.2.2.0

        Cognex.VisionPro.Blob
        69.2.2.0

        WSystem.Windows.Forms
        4.0.0.0

        QSystem.Drawing
        4.0.0.0