Reverting NI-IMAQ Camera Files to Default Configuration

Updated Nov 13, 2024

Environment

Hardware

  • PCIe-1427
  • PCI-1428
  • PCIe-1430
  • PXIe-1435
  • PCIe-1437

Driver

  • NI-IMAQ

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.

 

This article will explain the step to revert back camera files configuration to default value as it had originally come with NI-IMAQ driver. This will not work with camera files that you create yourself or camera files from the camera manufacturer.

Note: It is a good practice to create a backup of a working camera file in case the one you are developing becomes corrupted.

1.Identify the camera files that you are using in NI MAX. In the below example it was Basler raL2048-80km.

camerafile1.jpg

 

2.Go to NI-IMAQ camera files directory at C:\Users\Public\Documents\National Instruments\NI-IMAQ\Data. Then delete or move the identified camera files from that directory.

camerafile2.jpg

 

3.Open NI Package Manager click the setting icon and place check mark on Show full version numbers and hidden packages.

camerafile3.jpg

 

4.Search for camera keyword and find NI-IMAQ Camera Files. Place check mark and press REPAIR.

camerafile4.jpg

 

5.After repair process completed, open NI MAX again, go to Tools >> Reset Configuration Data. Note that this process will reset the NI MAX database.

camerafile5.jpg

After completing the above steps, you can see that the deleted camera files are regenerated and linked to the camera again. If no, you can manually configure the correct camera file by right click the camera and choose the correct camera files.

camerafile6.jpg