controlling Focus (auto,manual,near,far) and Iris (auto,manual,open,close) with sdk

Hi,

I need to control Focus and Iris of a camera using sdk.

I mean I’d like to put autofocus=on/off (if off I’d like to make FocusNear and FocusFar).

Similarly, I’d like to put autoIrisAperture=on/off (if off I’d like to make OpenIris and CloseIris).

Is it possible?

Should I use LensCommand and LensCommandData?

Can you give me an example?

There is a sample using this. Please explore the Smart Client View and Window Tool sample and the Lens Control tab within that sample.

ok, I’ll try it as soon as possible.

Thank you