control_io_deviceT_control_io_deviceControlIoDeviceControlIoDevice (Operator)

Name

control_io_deviceT_control_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)

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

HTuple HIODevice::ControlIoDevice(const wchar_t* Action, const wchar_t* Argument) const   (Nur Windows)

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_deviceControlIoDeviceControlIoDeviceControlIoDevice 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".

Ausführungsinformationen

Parameter

IODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandleIODeviceHandle (input_control)  io_device HIODevice, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

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

ActionActionActionActionaction (input_control)  string HTupleHTupleHtuple (string) (string) (HString) (char*)

Name der auszuführenden Aktion.

ArgumentArgumentArgumentArgumentargument (input_control)  string(-array) HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Argumente der auszuführenden Aktion.

Defaultwert: []

ResultResultResultResultresult (output_control)  string-array HTupleHTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)

Ergebniswerte der ausgeführten Aktion.

Ergebnis

Im Falle gültiger Parameterwerte liefert der Operator control_io_devicecontrol_io_deviceControlIoDeviceControlIoDeviceControlIoDevice 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_infoGetExtendedErrorInfoGetExtendedErrorInfoGetExtendedErrorInfo abgefragt werden kann.

Vorgänger

open_io_deviceopen_io_deviceOpenIoDeviceOpenIoDeviceOpenIoDevice

Modul

Foundation