KlassenKlassenKlassenKlassen | | | | Operatoren

release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice (Operator)

Name

release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice — Schließen eines Compute Devices.

Warnung

release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice darf nicht in HDevelop verwendet werden!

Signatur

release_compute_device( : : DeviceHandle : )

Herror release_compute_device(const Hlong DeviceHandle)

Herror T_release_compute_device(const Htuple DeviceHandle)

Herror release_compute_device(const HTuple& DeviceHandle)

void HComputeDevice::ReleaseComputeDevice() const

void ReleaseComputeDevice(const HTuple& DeviceHandle)

void HComputeDevice::ReleaseComputeDevice() const

void HOperatorSetX.ReleaseComputeDevice([in] VARIANT DeviceHandle)

void HComputeDeviceX.ReleaseComputeDevice()

static void HOperatorSet.ReleaseComputeDevice(HTuple deviceHandle)

void HComputeDevice.ReleaseComputeDevice()

Beschreibung

release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice schließt ein Compute Device für den aktuellen HALCON Thread und gibt alle zu DeviceHandleDeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle gehörigen Resourcen frei. Der Zweck von release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice ist einzig diese Resourcen vor dem Entladen der HALCON Bibliothek freizugeben, wenn diese mit einem Meachnismus wie LoadLibrary oder dlopen geladen wurde. In allen anderen Fällen darf release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice nicht verwendet werden!

Parallelisierung

Parameter

DeviceHandleDeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle (input_control)  compute_device HComputeDevice, HTupleHTupleHComputeDevice, HTupleHComputeDeviceX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Compute Device Handle.

Ergebnis

Wurde DeviceHandleDeviceHandleDeviceHandleDeviceHandleDeviceHandledeviceHandle erfolgreich geschlossen, gibt release_compute_devicerelease_compute_deviceReleaseComputeDevicerelease_compute_deviceReleaseComputeDeviceReleaseComputeDevice den Wert 2 (H_MSG_TRUE) zurück. Andernfalls wird eine Fehlerbehandlung durchgeführt.

Siehe auch

release_all_compute_devicesrelease_all_compute_devicesReleaseAllComputeDevicesrelease_all_compute_devicesReleaseAllComputeDevicesReleaseAllComputeDevices, deactivate_compute_devicedeactivate_compute_deviceDeactivateComputeDevicedeactivate_compute_deviceDeactivateComputeDeviceDeactivateComputeDevice, deactivate_all_compute_devicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesdeactivate_all_compute_devicesDeactivateAllComputeDevicesDeactivateAllComputeDevices

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren