Skip to content

get_io_device_paramGetIoDeviceParamGetIoDeviceParamget_io_device_paramT_get_io_device_param🔗

説明🔗

get_io_device_paramGetIoDeviceParamGetIoDeviceParamget_io_device_paramT_get_io_device_param — I/O デバイスインスタンスの設定を照会する。

書式🔗

get_io_device_param( io_device IODeviceHandle, attribute.name GenParamName, out attribute.value GenParamValue )void GetIoDeviceParam( const HTuple& IODeviceHandle, const HTuple& GenParamName, HTuple* GenParamValue )static void HOperatorSet.GetIoDeviceParam( HTuple IODeviceHandle, HTuple genParamName, out HTuple genParamValue )def get_io_device_param( iodevice_handle: HHandle, gen_param_name: MaybeSequence[str] ) -> Sequence[HTupleElementType]

def get_io_device_param_s( iodevice_handle: HHandle, gen_param_name: MaybeSequence[str] ) -> HTupleElementTypeHerror T_get_io_device_param( const Htuple IODeviceHandle, const Htuple GenParamName, Htuple* GenParamValue )

HTuple HIODevice::GetIoDeviceParam( const HTuple& GenParamName ) const

HTuple HIODevice::GetIoDeviceParam( const HString& GenParamName ) const

HTuple HIODevice::GetIoDeviceParam( const char* GenParamName ) const

HTuple HIODevice::GetIoDeviceParam( const wchar_t* GenParamName ) const (Windows only)

HTuple HIODevice.GetIoDeviceParam( HTuple genParamName )

HTuple HIODevice.GetIoDeviceParam( string genParamName )

説明🔗

get_io_device_paramGetIoDeviceParam は、特定のデバイスインスタンスの構成設 定を照会します。クエリーパラメーターは GenParamNamegenParamNamegen_param_name に渡さ れ、対応する構成値は GenParamValuegenParamValuegen_param_value に返されます。 IODeviceHandleIODeviceHandleiodevice_handle は、open_io_deviceOpenIoDevice に返されるデバ イスを指定します。

特定の I/O デバイスインターフェースに関するドキュメントがあるかど うかディレクトリ doc/html/reference/io をチェックしてくだ さい。ここには、サポートされるすべてのデバイス固有パラメーターがリ ストされます。

実行情報🔗

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

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

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

パラメーター🔗

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

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

GenParamNamegenParamNamegen_param_name (input_control) attribute.name(-array) → (string)HTuple (HString)HTuple (string)MaybeSequence[str]Htuple (char*)

パラメーター名

初期値: 'param_name'"param_name"
推奨値: 'io_device_name', 'param_name'"io_device_name", "param_name"

GenParamValuegenParamValuegen_param_value (output_control) attribute.value(-array) → (string / integer / real / handle)HTuple (HString / Hlong / double / HHandle)HTuple (string / int / long / double / HHandle)Sequence[HTupleElementType]Htuple (char* / Hlong / double / handle)

パラメーター値

結果🔗

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

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

組み合わせ

前処理の候補

open_io_deviceOpenIoDevice, set_io_device_paramSetIoDeviceParam

後処理の候補

open_io_channelOpenIoChannel

関連項目

open_io_deviceOpenIoDevice, query_io_interfaceQueryIoInterface, set_io_device_paramSetIoDeviceParam

モジュール🔗

Foundation