control_io_channelT_control_io_channelControlIoChannelControlIoChannelcontrol_io_channel (Operator)
Name
control_io_channelT_control_io_channelControlIoChannelControlIoChannelcontrol_io_channel — Ausführen einer Aktion auf I/O-Übertragungskanälen.
Signatur
def control_io_channel(iochannel_handle: MaybeSequence[HHandle], action: str, argument: Sequence[Union[int, float, str]]) -> Sequence[Union[int, float, str]]
Beschreibung
control_io_channelcontrol_io_channelControlIoChannelControlIoChannelControlIoChannelcontrol_io_channel führt eine Aktion auf den angegebenen
I/O-Übertragungskanälen 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.
Ausführungsinformationen
- Multithreading-Typ: reentrant (läuft parallel zu nicht-exklusiven Operatoren).
- Multithreading-Bereich: global (kann von jedem Thread aufgerufen werden).
- Wird ohne Parallelisierung verarbeitet.
Parameter
IOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleIOChannelHandleiochannel_handle (input_control) io_channel(-array) → HIOChannel, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Referenzen auf die geöffneten I/O-Übertragungskanäle.
ActionActionActionActionactionaction (input_control) string → HTuplestrHTupleHtuple (string) (string) (HString) (char*)
Name der auszuführenden Aktion.
ArgumentArgumentArgumentArgumentargumentargument (input_control) string-array → HTupleSequence[Union[int, float, str]]HTupleHtuple (string / integer / real) (string / int / long / double) (HString / Hlong / double) (char* / Hlong / double)
Argumente der auszuführenden Aktion.
Defaultwert: []
ResultResultResultResultresultresult (output_control) string-array → HTupleSequence[Union[int, float, str]]HTupleHtuple (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_channelcontrol_io_channelControlIoChannelControlIoChannelControlIoChannelcontrol_io_channel 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_infoGetExtendedErrorInfoGetExtendedErrorInfoGetExtendedErrorInfoget_extended_error_info abgefragt werden kann.
Vorgänger
open_io_channelopen_io_channelOpenIoChannelOpenIoChannelOpenIoChannelopen_io_channel
Modul
Foundation