This function will set the exposure time to the nearest valid value not less than the given value, in seconds. The actual exposure time used is obtained by GetAcquisitionTimings. Please refer to SECTION 5 – ACQUISITION MODES for further information.
(self, time)
| 1143 | |
| 1144 | @Action() |
| 1145 | def set_exposure_time(self, time): |
| 1146 | """This function will set the exposure time to the nearest valid value |
| 1147 | not less than the given value, in seconds. The actual exposure time |
| 1148 | used is obtained by GetAcquisitionTimings. Please refer to |
| 1149 | SECTION 5 – ACQUISITION MODES for further information. |
| 1150 | """ |
| 1151 | try: |
| 1152 | time.magnitude |
| 1153 | except AttributeError: |
| 1154 | time = time * seg |
| 1155 | |
| 1156 | self.lib.SetExposureTime(ct.c_float(time.magnitude)) |
| 1157 | |
| 1158 | @Action() |
| 1159 | def set_accum_time(self, time): |