deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevice (Operator)
Name
deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevice
— Deactivate a compute device.
Signature
Herror T_deactivate_compute_device(const Htuple DeviceHandle)
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
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- Processed without parallelization.
Parameters
DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle
(input_control) compute_device →
HComputeDevice, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
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