deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device (Operator)

Name

deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device — Deactivate a compute device.

Signature

deactivate_compute_device( : : 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()

def deactivate_compute_device(device_handle: HHandle) -> None

Description

deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device deactivates the compute device DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandledevice_handle for the current HALCON thread. Use activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDeviceactivate_compute_device to reactivate the device.

Execution Information

Parameters

DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandledevice_handle (input_control)  compute_device HComputeDevice, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Compute device handle.

Result

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

Possible Predecessors

activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDeviceactivate_compute_device

See also

deactivate_all_compute_devicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesdeactivate_all_compute_devices

Module

Foundation