GetFeature64
Top  Previous  Next

Description

Returns the numerical value of the specified 64-bit camera feature.


Syntax


[VB]
Value=objActiveGige.GetFeature64( Name )


[C/C++]
HRESULT GetFeature64(bstr Name, double* pValue );


Data Types
[VB]

Name: String
Return value
: Double


Parameters
[C/C++]

Name [in]  
String specifying the name of the feature  
pValue [out, retval]  
Pointer to the numerical value of the feature  


Return Values


S_OK  
Success  
E_NOINTERFACE        
Feature does not exist or not available  
E_FAIL  
Failed to read the feature  
 

Example


The following VB example demonstrates how to retrieve the value of the ChunkTimeStamp feature.

Private Sub
 Form_Load()

ActiveGige1.Acquire=
True
ActiveGige1.SetFeature("ChunkModeActive",
True
)
ActiveGige1.SetFeature("ChunkModeEnable",True
)
End Sub
 
Private Sub
 ActiveGige1_FrameAcquired()
Label1.Caption = ActiveGige1.GetFeature64("ChunkTimeStamp")
End Sub



 

Remarks


It is recommended to use this method only for those integer and floating point features whose length is 64-bit.

If the currently selected camera does not support the specified feature, the method will generate an error.