エンコーダパラメータの設定
Namespace: FVIL.VideoAssembly: FVILdevice (in FVILdevice.dll) Version: 3.1.0.0 (3.1.0.5)
Syntax
C# |
---|
public virtual void SetEncoderParam(
uint mode,
uint start,
uint phase,
uint direction,
uint zenable,
uint comp1,
uint comp2
) |
Visual Basic |
---|
Public Overridable Sub SetEncoderParam (
mode As UInteger,
start As UInteger,
phase As UInteger,
direction As UInteger,
zenable As UInteger,
comp1 As UInteger,
comp2 As UInteger
) |
Parameters
- mode
- Type: System..::..UInt32
エンコーダモード設定( 0:エンコーダスキャンモード 1:エンコーダライン選択モード )
- start
- Type: System..::..UInt32
エンコーダ起動 ( 0:CPU 1:エンコーダ外部トリガ )
- phase
- Type: System..::..UInt32
エンコーダパルス( 0:AB相 1:A相 )
- direction
- Type: System..::..UInt32
エンコーダ回転方向 ( 0:CW 1:CCW )
- zenable
- Type: System..::..UInt32
Z相使用設定 ( 0:使用しない 1:使用する )
- comp1
- Type: System..::..UInt32
比較レジスタ1
- comp2
- Type: System..::..UInt32
比較レジスタ2
Remarks
Exceptions
See Also