set_io_device_paramSetIoDeviceParamSetIoDeviceParamset_io_device_paramT_set_io_device_param
説明
set_io_device_paramSetIoDeviceParamSetIoDeviceParamset_io_device_paramT_set_io_device_param — 特定の I/O デバイスインスタンスを構成する。
書式
set_io_device_param( io_device IODeviceHandle, attribute.name GenParamName, attribute.value GenParamValue )void SetIoDeviceParam( const HTuple& IODeviceHandle, const HTuple& GenParamName, const HTuple& GenParamValue )static void HOperatorSet.SetIoDeviceParam( HTuple IODeviceHandle, HTuple genParamName, HTuple genParamValue )def set_io_device_param( iodevice_handle: HHandle, gen_param_name: MaybeSequence[str], gen_param_value: HTupleType ) -> None
Herror T_set_io_device_param( const Htuple IODeviceHandle, const Htuple GenParamName, const Htuple GenParamValue )
void HIODevice::SetIoDeviceParam( const HTuple& GenParamName, const HTuple& GenParamValue ) const
void HIODevice::SetIoDeviceParam( const HString& GenParamName, const HString& GenParamValue ) const
void HIODevice::SetIoDeviceParam( const char* GenParamName, const char* GenParamValue ) const
void HIODevice::SetIoDeviceParam( const wchar_t* GenParamName, const wchar_t* GenParamValue ) const (Windows only)
void HIODevice.SetIoDeviceParam( HTuple genParamName, HTuple genParamValue )
void HIODevice.SetIoDeviceParam( string genParamName, string genParamValue )
説明
set_io_device_paramSetIoDeviceParam は、特定のデバイスインスタンスを(再)
構成します。構成パラメーターは 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*)
パラメーター名
初期値: [][]
GenParamValuegenParamValuegen_param_value (input_control) attribute.value(-array) → (string / integer / real / handle)HTuple (HString / Hlong / double / HHandle)HTuple (string / int / long / double / HHandle)HTupleTypeHtuple (char* / Hlong / double / handle)
設定するパラメーター値
初期値: [][]
結果
パラメーターが有効ならば、オペレーター
set_io_device_paramSetIoDeviceParam は値 2 (H_MSG_TRUE) を返します。必要に応じて、例
外が発生します。この場合は、拡張エラー情報が設定され、オペレー
ター get_extended_error_infoGetExtendedErrorInfo を使用して照会できます。
他のオペレーターとの組み合わせ
組み合わせ
前処理の候補
open_io_deviceOpenIoDevice
後処理の候補
open_io_channelOpenIoChannel
関連項目
open_io_deviceOpenIoDevice, query_io_interfaceQueryIoInterface, get_io_device_paramGetIoDeviceParam
モジュール
Foundation