KlassenKlassenKlassenKlassen | | | | Operatoren

control_io_deviceT_control_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice (Operator)

Name

control_io_deviceT_control_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice — Ausführen einer Aktion auf einer I/O-Geräteinstanz.

Signatur

control_io_device( : : IODeviceHandle, Action, Argument : Result)

Herror T_control_io_device(const Htuple IODeviceHandle, const Htuple Action, const Htuple Argument, Htuple* Result)

Herror control_io_device(const HTuple& IODeviceHandle, const HTuple& Action, const HTuple& Argument, HTuple* Result)

HTuple HIODevice::ControlIoDevice(const HTuple& Action, const HTuple& Argument) const

void ControlIoDevice(const HTuple& IODeviceHandle, const HTuple& Action, const HTuple& Argument, HTuple* Result)

HTuple HIODevice::ControlIoDevice(const HString& Action, const HTuple& Argument) const

HTuple HIODevice::ControlIoDevice(const HString& Action, const HString& Argument) const

HTuple HIODevice::ControlIoDevice(const char* Action, const char* Argument) const

void HOperatorSetX.ControlIoDevice(
[in] VARIANT IODeviceHandle, [in] VARIANT Action, [in] VARIANT Argument, [out] VARIANT* Result)

VARIANT HIODeviceX.ControlIoDevice(
[in] BSTR Action, [in] VARIANT Argument)

static void HOperatorSet.ControlIoDevice(HTuple IODeviceHandle, HTuple action, HTuple argument, out HTuple result)

HTuple HIODevice.ControlIoDevice(string action, HTuple argument)

HTuple HIODevice.ControlIoDevice(string action, string argument)

Beschreibung

control_io_devicecontrol_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice führt eine Aktion auf einer I/O-Geräteinstanz aus. Eine ausführliche Beschreibung aller gerätespezifischen Parameter findet sich in der Dokumentation für die verwendete I/O-Schnittstelle im Verzeichnis 'doc/html/reference/io'"doc/html/reference/io""doc/html/reference/io""doc/html/reference/io""doc/html/reference/io""doc/html/reference/io".

Parallelisierung

Parameter

IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandle (input_control)  io_device HIODevice, HTupleHTupleHIODevice, HTupleHIODeviceX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Referenz auf das geöffnete I/O-Gerät.

ActionActionActionActionActionaction (input_control)  string HTupleHTupleHTupleVARIANTHtuple (string) (string) (HString) (char*) (BSTR) (char*)

Name der auszuführenden Aktion.

ArgumentArgumentArgumentArgumentArgumentargument (input_control)  string(-array) HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Argumente der auszuführenden Aktion.

Defaultwert: []

ResultResultResultResultResultresult (output_control)  string-array HTupleHTupleHTupleVARIANTHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double) (BSTR / Hlong / double) (char* / Hlong / double)

Ergebniswerte der ausgeführten Aktion.

Ergebnis

Im Falle gültiger Parameterwerte liefert der Operator control_io_devicecontrol_io_deviceControlIoDevicecontrol_io_deviceControlIoDeviceControlIoDevice den Wert 2 (H_MSG_TRUE). Andernfalls wird eine Fehlerbehandlung durchgeführt. In diesem Fall kann vom Interface eine zusätzliche Fehlerinformation gesetzt werden, die mit get_extended_error_infoget_extended_error_infoGetExtendedErrorInfoget_extended_error_infoGetExtendedErrorInfoGetExtendedErrorInfo abgefragt werden kann.

Vorgänger

open_io_deviceopen_io_deviceOpenIoDeviceopen_io_deviceOpenIoDeviceOpenIoDevice

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren