VGet メソッド
解説
ビジョンシーケンス、オブジェクトのプロパティー、リザルト値を取得します。
書式
Sub VGet (Sequence As String, PropCode As SpelVisionProps, ByRef Value As Integer)
Sub VGet (Sequence As String, PropCode As SpelVisionProps, ByRef Value As Boolean)
Sub VGet (Sequence As String, PropCode As SpelVisionProps, ByRef Value As Double)
Sub VGet (Sequence As String, PropCode As SpelVisionProps, ByRef Value As Single)
Sub VGet (Sequence As String, PropCode As SpelVisionProps, ByRef Value As String)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, ByRef Value As Integer)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, ByRef Value As Boolean)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, ByRef Value As Color)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, ByRef Value As Double)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, ByRef Value As Single)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, ByRef Value As String)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, Result As Integer, ByRef Value As Integer)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, Result As Integer, ByRef Value As Boolean)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, Result As Integer, ByRef Value As Double)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, Result As Integer, ByRef Value As Single)
Sub VGet (Sequence As String, Object As String, PropCode As SpelVisionProps, Result As Integer, ByRef Value As String)
パラメーター
- Sequence
カレントプロジェクトのビジョンシーケンス名を示す文字列式 - Object
シーケンスのオブジェクト名を示す文字列式 - PropCode
プロパティーコードを指定するSpelVisionPropsの値 - Result
リザルト番号を表わす整数式 - Value
プロパティーやリザルトの値を表す文字列文字列の型は、プロパティーやリザルトの型と一致しなければなりません。
VGet 使用例
VB 例:
Dim i As Integer
Redim score(10) As Integer
m_spel.VRun("testSeq")
For i = 1 to 10
m_spel.VGet("testSeq", "corr" & Format$(i, "00"), _
SpelVisionProps.Score, score(i))
Next i
C# 例:
int[] score = new int[11];
for(int i = 1; i <= 10; i++)
{
m_spel.VGet("testSeq", string.Format("Corr 0{0}, i),
SpelVisionProps.Score, score(i));
}