Skip to content

stop_image_sourceStopImageSourceStopImageSourcestop_image_sourceT_stop_image_source🔗

説明🔗

stop_image_sourceStopImageSourceStopImageSourcestop_image_sourceT_stop_image_source — 画像ソースの連続的な取得、転送、受信を停止する。

書式🔗

stop_image_source( image_source ImageSourceHandle, attribute.name GenParamName, attribute.value GenParamValue )void StopImageSource( const HTuple& ImageSourceHandle, const HTuple& GenParamName, const HTuple& GenParamValue )static void HOperatorSet.StopImageSource( HTuple imageSourceHandle, HTuple genParamName, HTuple genParamValue )def stop_image_source( image_source_handle: HHandle, gen_param_name: Sequence[str], gen_param_value: Sequence[Union[int, float, str]] ) -> None

Herror T_stop_image_source( const Htuple ImageSourceHandle, const Htuple GenParamName, const Htuple GenParamValue )

void HImageSource::StopImageSource( const HTuple& GenParamName, const HTuple& GenParamValue ) const

void HImageSource.StopImageSource( HTuple genParamName, HTuple genParamValue )

説明🔗

stop_image_sourceStopImageSource は、ImageSourceHandleimageSourceHandleimage_source_handle で定義された 画像ソースデバイスの連続的な画像の取得、転送、および受信を停止します。 これは、start_image_sourceStartImageSource によって行われた準備を取り消します。 ステータスパラメータ 'stream_state'"stream_state" は、'running'"running" から 'initialized'"initialized" に変化します。

画像ソースの状態に関する詳細は、Image Source を参照してください。

stop_image_sourceStopImageSource は、別スレッドから呼び出して、 fetch_from_image_sourceFetchFromImageSource のブロッキング呼び出しを中断するためにも使用できます。

現在、汎用パラメータ GenParamNamegenParamNamegen_param_name および GenParamValuegenParamValuegen_param_value はサポートされていません。

実行情報🔗

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

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

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

パラメーター🔗

ImageSourceHandleimageSourceHandleimage_source_handle (input_control) image_source → (handle)HTuple (HHandle)HImageSource, HTuple (IntPtr)HHandleHtuple (handle)

ストリームを停止する画像ソースのハンドル。

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

汎用パラメータ名。

初期値: [][]

GenParamValuegenParamValuegen_param_value (input_control) attribute.value-array → (integer / real / string)HTuple (Hlong / double / HString)HTuple (int / long / double / string)Sequence[Union[int, float, str]]Htuple (Hlong / double / char*)

汎用パラメータ値。

初期値: [][]

結果🔗

パラメータ値が正しければ、stop_image_sourceStopImageSource は 2 (H_MSG_TRUE) を返します。 そうでない場合は、例外が発生します。

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

組み合わせ

前処理の候補

start_image_sourceStartImageSource, fetch_from_image_sourceFetchFromImageSource

後処理の候補

disconnect_image_sourceDisconnectImageSource

関連項目

start_image_sourceStartImageSource

モジュール🔗

Foundation