Skip to content

deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_deviceT_deactivate_compute_device🔗

説明🔗

deactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevicedeactivate_compute_deviceT_deactivate_compute_device — 計算デバイスを非アクティブにする。

書式🔗

deactivate_compute_device( compute_device DeviceHandle )void DeactivateComputeDevice( const HTuple& DeviceHandle )static void HOperatorSet.DeactivateComputeDevice( HTuple deviceHandle )def deactivate_compute_device( device_handle: HHandle ) -> None

Herror T_deactivate_compute_device( const Htuple DeviceHandle )

void HComputeDevice::DeactivateComputeDevice( ) const

void HComputeDevice.DeactivateComputeDevice( )

説明🔗

deactivate_compute_deviceDeactivateComputeDevice は、現在の HALCON スレッドの計算 デバイス DeviceHandledeviceHandledevice_handle を非アクティブにします。デバイスを 再度アクティブにする場合は、activate_compute_deviceActivateComputeDevice を使用 します。

実行情報🔗

実行情報
  • マルチスレッドタイプ: リエントラント(非排他なオペレーターと並列に動作)

  • マルチスレッドスコープ: ローカル(同じスレッドからのみ呼び出される可能性あり)

  • 並列演算処理には未対応

パラメーター🔗

DeviceHandledeviceHandledevice_handle (input_control) compute_device → (handle)HTuple (HHandle)HComputeDevice, HTuple (IntPtr)HHandleHtuple (handle)

計算デバイスのハンドル

結果🔗

deactivate_compute_deviceDeactivateComputeDevice は、DeviceHandledeviceHandledevice_handle が有効な 場合に 2 (H_MSG_TRUE) 値を返します。さもなければ、例外処理が発生します。

他のオペレーターとの組み合わせ🔗

組み合わせ

前処理の候補

activate_compute_deviceActivateComputeDevice

関連項目

deactivate_all_compute_devicesDeactivateAllComputeDevices

モジュール🔗

Foundation