deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device (算子名称)
名称
deactivate_compute_deviceT_deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device — De激活一个计算设备。
参数签名
Herror T_deactivate_compute_device(const Htuple DeviceHandle)
描述
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.
运行信息
- 多线程类型:可重入(与非独占操作符并行运行)。
- Multithreading scope: local (may only be called from the same thread in which the window, model, or tool instance was created).
- 未经并行化处理。
参数表
DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandledevice_handle (input_control) compute_device → HComputeDevice, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Compute device handle.
结果
deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_device 返回值
2 (
H_MSG_TRUE)
if DeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandledevice_handle is valid. Otherwise
an exception will be raised.
可能的前置算子
activate_compute_deviceactivate_compute_deviceActivateComputeDeviceActivateComputeDeviceActivateComputeDeviceactivate_compute_device
参考其它
deactivate_all_compute_devicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesDeactivateAllComputeDevicesdeactivate_all_compute_devices
模块
Foundation