deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device (Operator)
Name
deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device
— Deactivate a compute device.
Signature
Herror T_deactivate_compute_device(const Htuple DeviceHandle)
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
- 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
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