Returns or sets the number of logical CPUs (cores) used in image processing algorithms.
objActiveGige.Affinity [= Value] [C/C++]
HRESULT get_Affinity ( short *pAffinity );
HRESULT put_Affinity ( short Affinity );
Data Type [VB]
Pointer to the currently selected Affinity.
The value of affinity to set. If 0, all available logical CPUs will be used.
This VB code instructs ActiveGigE to use 4 logical CPUs:
ActiveGige1.Affinity = 4
This property lets you select the number of logical CPUs that will be used for image processing, such as Bayer Conversion. By default ActiveGigE splits the processing tasks among all logical CPUs (cores) available on the system. You may want to reduce the amount of utilized cores for benchmarking or to free CPU resources for other tasks.
The default value of this property is zero which makes ActiveGigE to use to all available logical CPUs.