These files explain how to use 'ptgrey' cameras with python. I felt the need to make this because there is not even an introductory code (to take a picture using ptgrey cameras) available on internet. take_a_photo.py is the basic code people usually need but I have added links to a few possibly helpful websites.
I try to set Exposure time is 2500us . The following is my code :
Code : node_exposuretime_float = PySpin.CEnumerationPtr(nodemap.GetNode('ExposureTime'))
if not PySpin.IsAvailable(node_exposuretime_float) or not PySpin.IsWritable(node_exposuretime_float):
node_exposuretime_float.SetValue(2500)
it get this error: Error: node_exposuretime_float.SetValue(2500) AttributeError: 'CEnumerationPtr' object has no attribute 'SetValue'