What is a Camera File and Do I Need to Generate One to Work With NI Vision Software 您所在的位置:网站首页 电脑打开相机没图像 What is a Camera File and Do I Need to Generate One to Work With NI Vision Software

What is a Camera File and Do I Need to Generate One to Work With NI Vision Software

2024-07-11 22:11| 来源: 网络整理| 查看: 265

A camera file is a file that allows MAX and NI software to interpret the information it receives from your camera. Depending on the type of camera you are using, the camera file may also include commands to control the operation of your camera. Camera files are also called Interface Control Documents and have .icd as their file extension. The .icd file is an NI file extension but each camera has its own settings file that can be used to build the .icd file for use with NI software.

Below are a few options of how you can obtain a camera file (ordered from least effort to most effort):聽

Install聽Vision Acquisition Software (VAS) Driver NI includes a variety of camera files with the NI-IMAQdx driver that is included in the VAS driver,聽including the generic camera files for CCIR, NTSC, PAL, and RS170 cameras. You can select from these files by right-clicking your camera in NI MAX under your IMAQ frame grabber and selecting Camera聽then navigate to your camera model.

Note: Previously, NI provided camera files for supported cameras through the NI Camera Network. NI has since deprecated the NI Camera Network and our FTP downloads for these files.聽

Generate a camera file using the NI聽Camera File Generator NI does not provide a camera file for every camera available. For Camera Link and parallel digital cameras that NI has not provided a camera file, a custom camera file will need to be generated in order to configure the frame grabber to communicate with the camera.

The NI Camera File Generator is a menu-driven, configuration environment for generating new camera files to equip cameras for which NI does not have files or adding features to existing NI camera files. The NI Camera File Generator is a free, stand-alone piece of software, which you can download by going to聽NI聽Camera File Generator,聽selecting the聽Resources聽tab which will lead you to an FTP site where you can download the software.聽

Possible Timeout Errors A timeout (Error:聽0xBFF60022)聽may still occur even after you have uploaded the proper camera file. If any other computer resources are accessing the file when you are trying to acquire an image, you may still get this error. Make sure no other software or drivers are actively accessing the camera before acquiring an image in NI-MAX.聽 Additional Information Analog cameras generally do not let you change the camera attributes programmatically and hence use generic camera files based on the analog standard that they use, viz. CCIR, NTSC, PAL or RS-170.

Parallel Digital and Camera Link cameras have parameters that can be changed programmatically by writing commands to the camera. Since these commands are camera specific, these cameras need very specific camera files. Typically, these camera files have the same name as the camera (this name includes manufacturer and model number).

Firewire (IEEE 1394) and GigE cameras usually store all camera specific information on the camera itself and hence do not need manually specified camera files to work with NI software.



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有