初期値指定コンストラクタ
Namespace: FVIL.VideoAssembly: FVILdevice (in FVILdevice.dll) Version: 3.1.0.0 (3.1.0.5)
Syntax
C# |
---|
public CFviEncoderParam3( uint signal, uint mlt, uint start, uint pulse, int comp1, uint comp2, uint init, uint cntenb, uint swapab, uint signalsource ) |
Visual Basic |
---|
Public Sub New ( signal As UInteger, mlt As UInteger, start As UInteger, pulse As UInteger, comp1 As Integer, comp2 As UInteger, init As UInteger, cntenb As UInteger, swapab As UInteger, signalsource As UInteger ) |
Parameters
- signal
- Type: System..::..UInt32
AB相設定( 0:AB相 1:A相 )※無視されます mltで決まります
- mlt
- Type: System..::..UInt32
サンプリング速度 ( 0:1倍 1:2倍 2:4倍 )※1倍,2倍はA相、4倍はAB相です。
- start
- Type: System..::..UInt32
エンコーダ起動モード( 0:CPU 1:外部トリガ 2:Z相 3:未使用)
- pulse
- Type: System..::..UInt32
パルスの方向 ( 0:CW 1:CCW )
- comp1
- Type: System..::..Int32
比較レジスタ1
- comp2
- Type: System..::..UInt32
比較レジスタ2
- init
- Type: System..::..UInt32
エンコーダカウンタ初期化設定 (0:1フレーム完了後にエンコーダカウンタ初期化 1:エンコーダカウント初期化しません 2:全取り込み完了後にエンコーダカウンタ初期化)
- cntenb
- Type: System..::..UInt32
エンコーダ種類 (0:無効、1:相対位置エンコーダ、2:絶対位置エンコーダ)
- swapab
- Type: System..::..UInt32
A相/B相入れ替え (0:無効、1:有効)
- signalsource
- Type: System..::..UInt32
エンコーダー入力チャネル (0:A#0、B#0、Z#0 1:A#1、B#1、Z#1)
Remarks
初期値を指定してインスタンスを構築します。