LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

icd file used for same camera type

Hi,

 

I'm testing different camera's from the same type.

They all use the same *.icd file.

 

We changed a default setting, but the "old" setting is being used because it is saved in the *.icd file.

 

I don't want this situation.

Is there an option to delete the *.icd file when closing a session.

So I'm sure it will use all latest default settings?? And not reuse an older *.icd file because it has the same modelname?

 

thanks

Kim

0 Kudos
Message 1 of 5
(2,718 Views)

As far as I know you can delete the icd file(s) after having closed all sessions. As you already recognised the cameras will use their default settings when opened without an icd file.  This thread prettily also points out the relationship between *.iid and *.icd and how to specify in the iid which icd to use.

Just for my understanding:  Do you use more than one camera with exactly one icd file?  To my expectation this would result in the file being written whenever you close a camera.

0 Kudos
Message 2 of 5
(2,704 Views)

Hi KimT,

 

Please check the link to change camera parameters programatically: http://www.ni.com/example/26212/en/ 

Thanks
uday
0 Kudos
Message 3 of 5
(2,681 Views)

I know the location of these file, so I can delete them myself after I close the session.

I was looking for a setting to do this automatically.

 

I have several camera's with the same modelname, but different serial number.

When one of the default settings (attributes) change I don't want the same camera file to be used.

 

0 Kudos
Message 4 of 5
(2,671 Views)

Hi KimT,

 

In the link provided, please use the Get Camera info first which will give the model number and make. Create different icd files for each camera and based on camera model, use simple case-structure to get the appropriate .icd file with camera attributes.

Please check the link again,it has different examples which i think appropriate for this problem.

Thanks
uday
0 Kudos
Message 5 of 5
(2,668 Views)