[WIL 2.0.1 互換] 外部トリガパラメータの取得
Namespace: FVIL.VideoAssembly: FVILdevice (in FVILdevice.dll) Version: 3.1.0.0 (3.1.0.5)
Syntax
C# |
---|
public virtual void GetExtTriggerParam( ref int exttrg_type, ref int exttrg_mode, ref int exttrg_delay, ref uint exttrg_chatter_high, ref uint exttrg_chatter_low ) |
Visual Basic |
---|
Public Overridable Sub GetExtTriggerParam ( ByRef exttrg_type As Integer, ByRef exttrg_mode As Integer, ByRef exttrg_delay As Integer, ByRef exttrg_chatter_high As UInteger, ByRef exttrg_chatter_low As UInteger ) |
Parameters
- exttrg_type
- Type: System..::..Int32%
外部トリガタイプ (1:TTL, 2:RS-422)
- exttrg_mode
- Type: System..::..Int32%
外部トリガモード (0:連続外部トリガモード、1:単発外部トリガモード)
- exttrg_delay
- Type: System..::..Int32%
外部トリガ 検出遅延時間(0x00000000〜0x8FFFFFFF)[単位:μs]
- exttrg_chatter_high
- Type: System..::..UInt32%
外部トリガ High期間 検出無効時間[単位:μs]
- exttrg_chatter_low
- Type: System..::..UInt32%
外部トリガ Low期間 検出無効時間[単位:μs]
Remarks
このメンバは WIL 2.0.1 (特定ユーザー向け) に追加したものを正規版にマージしたものです。 正規版で使用するドライバでは動作確認を行っていませんので使用しないでください。
外部トリガに関する、設定を取得。本関数は、 GetExternalTrigger(UInt32%, UInt32%) を拡張したものです。
処理に失敗した場合は例外を発行します。 例外の原因と発生位置を特定するには、発行された例外クラスの ErrorCode メンバと Function メンバを参照してください。
エラーコード:
値 | ErrorCode メンバ | 内容 |
---|---|---|
25 | FVIL.ErrorCode.NOT_OPENED | デバイスがオープンされていません。 |
31079 | FVIL.Video.ErrorCode.GET_PARAMETER | パラメータの取得に失敗しました。 |
Exceptions
Exception | Condition |
---|---|
FVIL..::..CFviException | この例外の原因については、上記のエラーコード表をご参照ください。 |