#NEWLINE# def Open( self ) : #NEWLINE# #INDENT# vimba . VmbCameraOpen ( self . id , 1 , ct . byref ( self . handle ) ) #NEWLINE# vimba . VmbFeatureCommandRun ( tmp_value . handle , 'GVSPAdjustPacketSize' ) #NEWLINE# tmp_value = ct . c_int ( ) #NEWLINE# vimba . VmbFeatureIntGet ( self . handle , 'Width' , ct . byref ( tmp_value ) ) #NEWLINE# self . width = tmp_value . value #NEWLINE# vimba . VmbFeatureIntGet ( self . handle , 'Height' , ct . byref ( tmp_value ) ) #NEWLINE# self . height = tmp_value . value #NEWLINE# vimba . VmbFeatureIntGet ( self . handle , 'PayloadSize' , ct . byref ( tmp_value ) ) #NEWLINE# self . payloadsize = tmp_value . value