114 CONTENTS
pPreviousRequest = pRequest
fi.imageRequestSingle()
else:
print("imageRequestWaitFor failed (" + str(requestNr) + ", " + ImpactAcquireException.getErrorCodeAsString(requestNr) + ")")
manuallyStopAcquisitionIfNeeded(pDev, fi)
raw_input("Press Enter to continue...")
Note
The above code uses the Python 3 style print. Because of the line
from __future__ import print_function
This will also work with Python versions starting with version 2.6. For smaller versions of Python the code
needs to be changed!
MATRIX VISION GmbH