Skip to content

Commit

Permalink
Merge branch 'master' into extend-image-client-for-raw-images
Browse files Browse the repository at this point in the history
  • Loading branch information
Galoshi authored Jun 25, 2024
2 parents 8084be9 + 120c22f commit cc99c58
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/PCIC_TCP_config_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
print("Executing trigger...")
trigger_result = pcic.execute_asynchronous_trigger()

# Read next answer is trigger was successful
# Read next answer if trigger was successful
if trigger_result == "*":
answer = pcic.read_next_answer()
print(answer[1].decode())
Expand Down
2 changes: 2 additions & 0 deletions source/rpc/imager.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,7 @@ def startCalculateExposureTime(self, minAnalogGainFactor: int = None, maxAnalogG
# RODs
if RODs:
inputAutoExposure["RODs"] = RODs

self._imagerProxy.proxy.startCalculateExposureTime(json.dumps(inputAutoExposure))
while self.getProgressCalculateExposureTime() < 1.0:
time.sleep(1)
Expand Down Expand Up @@ -398,6 +399,7 @@ def startCalculateAutofocus(self, ROIs: list = None, RODs: list = None) -> None:
# RODs
if RODs:
inputAutoFocus["RODs"] = RODs

self._imagerProxy.proxy.startCalculateAutofocus(json.dumps(inputAutoFocus))
while self.getProgressCalculateAutofocus() < 1.0:
time.sleep(1)
Expand Down

0 comments on commit cc99c58

Please sign in to comment.