初期値指定コンストラクタ

Namespace: FVIL.Video
Assembly: FVILdevice (in FVILdevice.dll) Version: 3.1.0.0 (3.1.0.5)

Syntax

C#
public CFviEncoderParam2(
	uint signal,
	uint mlt,
	uint start,
	uint pulse,
	int comp1,
	uint comp2,
	uint init
)
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
)

Parameters

signal
Type: System..::..UInt32
AB相設定( 0:AB相 1:A相 )
mlt
Type: System..::..UInt32
サンプリング速度 ( 0:1倍 1:2倍 2:4倍 )
start
Type: System..::..UInt32
エンコーダ起動モード( 0:CPU 1:外部トリガ 2:Z相 )
pulse
Type: System..::..UInt32
パルスの方向 ( 0:CW 1:CCW )
comp1
Type: System..::..Int32
比較レジスタ1
comp2
Type: System..::..UInt32
比較レジスタ2
init
Type: System..::..UInt32
エンコーダカウンタ初期化設定 (0:初期化する、1:初期化しない)

Remarks

初期値を指定してインスタンスを構築します。 Cntenb は1:相対位置エンコーダ、 Swapab は0:無効に初期化します。

See Also