Skip to content

control_io_deviceControlIoDeviceControlIoDevicecontrol_io_deviceT_control_io_device🔗

説明🔗

control_io_deviceControlIoDeviceControlIoDevicecontrol_io_deviceT_control_io_device — I/O デバイスに対してアクションを実行する。

書式🔗

control_io_device( io_device IODeviceHandle, string Action, string Argument, out string Result )void ControlIoDevice( const HTuple& IODeviceHandle, const HTuple& Action, const HTuple& Argument, HTuple* Result )static void HOperatorSet.ControlIoDevice( HTuple IODeviceHandle, HTuple action, HTuple argument, out HTuple result )def control_io_device( iodevice_handle: HHandle, action: str, argument: MaybeSequence[Union[int, float, str]] ) -> Sequence[Union[int, float, str]]

Herror T_control_io_device( 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 (Windows only)

HTuple HIODevice.ControlIoDevice( string action, HTuple argument )

HTuple HIODevice.ControlIoDevice( string action, string argument )

説明🔗

control_io_deviceControlIoDevice は、I/O デバイスに対してアクションを実行 します。サポートされるパラメーターはインターフェース固有で、ディレ クトリ doc/html/reference/io 内にある使用される I/O イン ターフェースの対応するドキュメントに記載されております。

実行情報🔗

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

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

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

パラメーター🔗

IODeviceHandleIODeviceHandleiodevice_handle (input_control) io_device → (handle)HTuple (HHandle)HIODevice, HTuple (IntPtr)HHandleHtuple (handle)

開いた I/O デバイスのハンドル

Actionactionaction (input_control) string → (string)HTuple (HString)HTuple (string)strHtuple (char*)

実行するアクションの名前

Argumentargumentargument (input_control) string(-array) → (string / integer / real)HTuple (HString / Hlong / double)HTuple (string / int / long / double)MaybeSequence[Union[int, float, str]]Htuple (char* / Hlong / double)

アクションの引数のリスト

初期値: [][]

Resultresultresult (output_control) string-array → (string / integer / real)HTuple (HString / Hlong / double)HTuple (string / int / long / double)Sequence[Union[int, float, str]]Htuple (char* / Hlong / double)

アクションによって返される結果の値のリスト

結果🔗

パラメーターが有効ならば、オペレーター control_io_deviceControlIoDevice は値 2 (H_MSG_TRUE) を返します。必要に応じて、例外が発生します。この場合は、 拡張エラー情報が設定され、オペレーター get_extended_error_infoGetExtendedErrorInfo を使用して照会できます。

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

組み合わせ

前処理の候補

open_io_deviceOpenIoDevice

モジュール🔗

Foundation