ClassesClasses | | Operators

deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevice (Operator)

Name

deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevice — Deactivate a compute device.

Signature

deactivate_compute_device( : : DeviceHandle : )

Herror deactivate_compute_device(const Hlong DeviceHandle)

Herror T_deactivate_compute_device(const Htuple DeviceHandle)

void DeactivateComputeDevice(const HTuple& DeviceHandle)

void HComputeDevice::DeactivateComputeDevice() const

static void HOperatorSet.DeactivateComputeDevice(HTuple deviceHandle)

void HComputeDevice.DeactivateComputeDevice()

Description

deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDeviceDeactivateComputeDevice deactivates the compute device DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle for the current HALCON thread. Use activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDevice to reactivate the device.

Execution Information

Parameters

DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle (input_control)  compute_device HComputeDevice, HTupleHTupleHtuple (integer) (IntPtr) (Hlong) (Hlong)

Compute device handle.

Result

deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDeviceDeactivateComputeDevice returns the value 2 (H_MSG_TRUE) if DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle is valid. Otherwise an exception will be raised.

Possible Predecessors

activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDevice

See also

deactivate_all_compute_devicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesDeactivateAllComputeDevices

Module

Foundation


ClassesClasses | | Operators