📄 nivision.h
字号:
#define ERR_BAD_PASSWORD -1074396081 // Incorrect password.
#define ERR_INVALID_IMAGE_TYPE -1074396080 // Invalid image type.
#define ERR_INVALID_METAFILE_HANDLE -1074396079 // Invalid metafile handle.
#define ERR_INCOMP_TYPE -1074396077 // Incompatible image type.
#define ERR_COORD_SYS_FIRST_AXIS -1074396076 // Unable to fit a line for the primary axis.
#define ERR_COORD_SYS_SECOND_AXIS -1074396075 // Unable to fit a line for the secondary axis.
#define ERR_INCOMP_SIZE -1074396074 // Incompatible image size.
#define ERR_MASK_OUTSIDE_IMAGE -1074396073 // When the mask's offset was applied, the mask was entirely outside of the image.
#define ERR_INVALID_BORDER -1074396072 // Invalid image border.
#define ERR_INVALID_SCAN_DIRECTION -1074396071 // Invalid scan direction.
#define ERR_INVALID_FUNCTION -1074396070 // Unsupported function.
#define ERR_INVALID_COLOR_MODE -1074396069 // NI Vision does not support the color mode you specified.
#define ERR_INVALID_ACTION -1074396068 // The function does not support the requested action.
#define ERR_IMAGES_NOT_DIFF -1074396067 // The source image and destination image must be different.
#define ERR_INVALID_POINTSYMBOL -1074396066 // Invalid point symbol.
#define ERR_CANT_RESIZE_EXTERNAL -1074396065 // Cannot resize an image in an acquisition buffer.
#define ERR_EXTERNAL_NOT_SUPPORTED -1074396064 // This operation is not supported for images in an acquisition buffer.
#define ERR_EXTERNAL_ALIGNMENT -1074396063 // The external buffer must be aligned on a 4-byte boundary. The line width and border pixels must be 4-byte aligned, as well.
#define ERR_INVALID_TOLERANCE -1074396062 // The tolerance parameter must be greater than or equal to 0.
#define ERR_INVALID_WINDOW_SIZE -1074396061 // The size of each dimension of the window must be greater than 2 and less than or equal to the size of the image in the corresponding dimension.
#define ERR_JPEG2000_LOSSLESS_WITH_FLOATING_POINT -1074396060 // Lossless compression cannot be used with the floating point wavelet transform mode. Either set the wavelet transform mode to integer, or use lossy compression.
#define ERR_INVALID_MAX_ITERATIONS -1074396059 // Invalid maximum number of iterations. Maximum number of iterations must be greater than zero.
#define ERR_INVALID_ROTATION_MODE -1074396058 // Invalid rotation mode.
#define ERR_INVALID_SEARCH_VECTOR_WIDTH -1074396057 // Invalid search vector width. The width must be an odd number greater than zero.
#define ERR_INVALID_MATRIX_MIRROR_MODE -1074396056 // Invalid matrix mirror mode.
#define ERR_INVALID_ASPECT_RATIO -1074396055 // Invalid aspect ratio. Valid aspect ratios must be greater than or equal to zero.
#define ERR_INVALID_CELL_FILL_TYPE -1074396054 // Invalid cell fill type.
#define ERR_INVALID_BORDER_INTEGRITY -1074396053 // Invalid border integrity. Valid values range from 0 to 100.
#define ERR_INVALID_DEMODULATION_MODE -1074396052 // Invalid demodulation mode.
#define ERR_INVALID_CELL_FILTER_MODE -1074396051 // Invalid cell filter mode.
#define ERR_INVALID_ECC_TYPE -1074396050 // Invalid ECC type.
#define ERR_INVALID_MATRIX_POLARITY -1074396049 // Invalid matrix polarity.
#define ERR_INVALID_CELL_SAMPLE_SIZE -1074396048 // Invalid cell sample size.
#define ERR_INVALID_LINEAR_AVERAGE_MODE -1074396047 // Invalid linear average mode.
#define ERR_INVALID_2D_BARCODE_CONTRAST_FOR_ROI -1074396046 // When using a region of interest that is not a rectangle, you must specify the contrast mode of the barcode as either black on white or white on black.
#define ERR_INVALID_2D_BARCODE_SUBTYPE -1074396045 // Invalid 2-D barcode Data Matrix subtype.
#define ERR_INVALID_2D_BARCODE_SHAPE -1074396044 // Invalid 2-D barcode shape.
#define ERR_INVALID_2D_BARCODE_CELL_SHAPE -1074396043 // Invalid 2-D barcode cell shape.
#define ERR_INVALID_2D_BARCODE_CONTRAST -1074396042 // Invalid 2-D barcode contrast.
#define ERR_INVALID_2D_BARCODE_TYPE -1074396041 // Invalid 2-D barcode type.
#define ERR_DRIVER -1074396040 // Cannot access NI-IMAQ driver.
#define ERR_IO_ERROR -1074396039 // I/O error.
#define ERR_FIND_COORDSYS_MORE_THAN_ONE_EDGE -1074396038 // When searching for a coordinate system, the number of lines to fit must be 1.
#define ERR_TIMEOUT -1074396037 // Trigger timeout.
#define ERR_INVALID_SKELETONMODE -1074396036 // The Skeleton mode you specified is invalid.
#define ERR_TEMPLATEIMAGE_NOCIRCLE -1074396035 // The template image does not contain enough information for learning the aggressive search strategy.
#define ERR_TEMPLATEIMAGE_EDGEINFO -1074396034 // The template image does not contain enough edge information for the sample size(s) requested.
#define ERR_TEMPLATEDESCRIPTOR_LEARNSETUPDATA -1074396033 // Invalid template descriptor.
#define ERR_TEMPLATEDESCRIPTOR_ROTATION_SEARCHSTRATEGY -1074396032 // The template descriptor does not contain data required for the requested search strategy in rotation-invariant matching.
#define ERR_INVALID_PROCESS_TYPE_FOR_EDGE_DETECTION -1074396026 // Invalid process type for edge detection.
#define ERR_INVALID_ANGLE_RANGE_FOR_STRAIGHT_EDGE -1074396025 // Angle range value should be equal to or greater than zero.
#define ERR_INVALID_MIN_COVERAGE_FOR_STRAIGHT_EDGE -1074396024 // Minimum coverage value should be greater than zero.
#define ERR_INVALID_ANGLE_TOL_FOR_STRAIGHT_EDGE -1074396023 // The angle tolerance should be equal to or greater than 0.001.
#define ERR_INVALID_SEARCH_MODE_FOR_STRAIGHT_EDGE -1074396022 // Invalid search mode for detecting straight edges
#define ERR_INVALID_KERNEL_SIZE_FOR_EDGE_DETECTION -1074396021 // Invalid kernel size for edge detection. The minimum kernel size is 3, the maximum kernel size is 1073741823 and the kernel size must be odd.
#define ERR_INVALID_GRADING_MODE -1074396020 // Invalid grading mode.
#define ERR_INVALID_THRESHOLD_PERCENTAGE -1074396019 // Invalid threshold percentage. Valid values range from 0 to 100.
#define ERR_INVALID_EDGE_POLARITY_SEARCH_MODE -1074396018 // Invalid edge polarity search mode.
#define ERR_OPENING_NEWER_AIM_GRADING_DATA -1074396017 // The AIM grading data attached to the image you tried to open was created with a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this file.
#define ERR_NO_VIDEO_DRIVER -1074396016 // No video driver is installed.
#define ERR_RPC_EXECUTE_IVB -1074396015 // Unable to establish network connection with remote system.
#define ERR_INVALID_VIDEO_BLIT -1074396014 // RT Video Out does not support displaying the supplied image type at the selected color depth.
#define ERR_INVALID_VIDEO_MODE -1074396013 // Invalid video mode.
#define ERR_RPC_EXECUTE -1074396012 // Unable to display remote image on network connection.
#define ERR_RPC_BIND -1074396011 // Unable to establish network connection.
#define ERR_INVALID_FRAME_NUMBER -1074396010 // Invalid frame number.
#define ERR_DIRECTX -1074396009 // An internal DirectX error has occurred. Try upgrading to the latest version of DirectX.
#define ERR_DIRECTX_NO_FILTER -1074396008 // An appropriate DirectX filter to process this file could not be found. Install the filter that was used to create this AVI. Upgrading to the latest version of DirectX may correct this error. NI Vision requires DirectX 8.1 or higher.
#define ERR_DIRECTX_INCOMPATIBLE_COMPRESSION_FILTER -1074396007 // Incompatible compression filter.
#define ERR_DIRECTX_UNKNOWN_COMPRESSION_FILTER -1074396006 // Unknown compression filter.
#define ERR_INVALID_AVI_SESSION -1074396005 // Invalid AVI session.
#define ERR_DIRECTX_CERTIFICATION_FAILURE -1074396004 // A software key is restricting the use of this compression filter.
#define ERR_AVI_DATA_EXCEEDS_BUFFER_SIZE -1074396003 // The data for this frame exceeds the data buffer size specified when creating the AVI file.
#define ERR_INVALID_LINEGAUGEMETHOD -1074396002 // Invalid line gauge method.
#define ERR_TOO_MANY_AVI_SESSIONS -1074396001 // There are too many AVI sessions open. You must close a session before you can open another one.
#define ERR_FILE_FILE_HEADER -1074396000 // Invalid file header.
#define ERR_FILE_FILE_TYPE -1074395999 // Invalid file type.
#define ERR_FILE_COLOR_TABLE -1074395998 // Invalid color table.
#define ERR_FILE_ARGERR -1074395997 // Invalid parameter.
#define ERR_FILE_OPEN -1074395996 // File is already open for writing.
#define ERR_FILE_NOT_FOUND -1074395995 // File not found.
#define ERR_FILE_TOO_MANY_OPEN -1074395994 // Too many files open.
#define ERR_FILE_IO_ERR -1074395993 // File I/O error.
#define ERR_FILE_PERMISSION -1074395992 // File access denied.
#define ERR_FILE_INVALID_TYPE -1074395991 // NI Vision does not support the file type you specified.
#define ERR_FILE_GET_INFO -1074395990 // Could not read Vision info from file.
#define ERR_FILE_READ -1074395989 // Unable to read data.
#define ERR_FILE_WRITE -1074395988 // Unable to write data.
#define ERR_FILE_EOF -1074395987 // Premature end of file.
#define ERR_FILE_FORMAT -1074395986 // Invalid file format.
#define ERR_FILE_OPERATION -1074395985 // Invalid file operation.
#define ERR_FILE_INVALID_DATA_TYPE -1074395984 // NI Vision does not support the file data type you specified.
#define ERR_FILE_NO_SPACE -1074395983 // Disk full.
#define ERR_INVALID_FRAMES_PER_SECOND -1074395982 // The frames per second in an AVI must be greater than zero.
#define ERR_INSUFFICIENT_BUFFER_SIZE -1074395981 // The buffer that was passed in is not big enough to hold all of the data.
#define ERR_COM_INITIALIZE -1074395980 // Error initializing COM.
#define ERR_INVALID_PARTICLE_INFO -1074395979 // The image has invalid particle information. Call imaqCountParticles on the image to create particle information.
#define ERR_INVALID_PARTICLE_NUMBER -1074395978 // Invalid particle number.
#define ERR_AVI_VERSION -1074395977 // The AVI file was created in a newer version of NI Vision. Upgrade to the latest version of NI Vision to read this AVI file.
#define ERR_NUMBER_OF_PALETTE_COLORS -1074395976 // The color palette must have exactly 0 or 256 entries.
#define ERR_AVI_TIMEOUT -1074395975 // DirectX has timed out reading or writing the AVI file. When closing an AVI file, try adding an additional delay. When reading an AVI file, try reducing CPU and disk load.
#define ERR_UNSUPPORTED_JPEG2000_COLORSPACE_METHOD -1074395974 // NI Vision does not support reading JPEG2000 files with this colorspace method.
#define ERR_JPEG2000_UNSUPPORTED_MULTIPLE_LAYERS -1074395973 // NI Vision does not support reading JPEG2000 files with more than one layer.
#define ERR_DIRECTX_ENUMERATE_FILTERS -1074395972 // DirectX is unable to enumerate the compression filters. This is caused by a third-party compression filter that is either improperly installed or is preventing itself from being enumerated. Remove any recently installed compression filters and try again.
#define ERR_INVALID_OFFSET -1074395971 // The offset you specified must be size 2.
#define ERR_INIT -1074395960 // Initialization error.
#define ERR_CREATE_WINDOW -1074395959 // Unable to create window.
#define ERR_WINDOW_ID -1074395958 // Invalid window ID.
#define ERR_ARRAY_SIZE_MISMATCH -1074395957 // The array sizes are not compatible.
#define ERR_INVALID_QUALITY -1074395956 // The quality you provided is invalid. Valid quality values range from -1 to 1000.
#define ERR_INVALID_MAX_WAVELET_TRANSFORM_LEVEL -1074395955 // Invalid maximum wavelet transform level. Valid values range from 0 to 255.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -