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

Namespace: FVIL.Video
Assembly: 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
)
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で決まります
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:全取り込み完了後にエンコーダカウンタ初期化)

Remarks

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

See Also