As example, I can get the exposure time by using:
Code: Select all
hardwareSettingRead = Zen.Devices.ReadHardwareSetting()
exposuretime = hardwareSettingRead.GetParameter('MTBCamera_MTBTube_Cameraport.Axiocam705c', 'ExposureTime')
Code: Select all
hardwareSettingSet = ZenHardwareSetting()
hardwareSettingSet.SetParameter('MTBCamera_MTBTube_Cameraport.Axiocam705c', 'ExposureTime', 500)
Zen.Devices.ApplyHardwareSetting(hardwareSettingSet)
Hardware: Imager.Z2 Vario with Axiocam 705 Color
Software: ZEN Core 3.5
PS: changing the other microscope components works, like changing objective, filter, illumination parameters, etc.