VeriStand .NET API Reference

Compiler.FindVariable Method

Finds the variable ID for a variable in the real-time sequence file at filePath with the specified variableName. You can use the variable ID to look up the current value of the variable.

Namespace: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi
Assembly: NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi (in NationalInstruments.VeriStand.RealTimeSequenceDefinitionApi.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Sub FindVariable ( _
	filePath As String, _
	variableName As String, _
	<OutAttribute> ByRef variableId As Long _
)
C#
public void FindVariable(
	string filePath,
	string variableName,
	out long variableId
)
Visual C++
public:
void FindVariable(
	String^ filePath, 
	String^ variableName, 
	[OutAttribute] long long% variableId
)

Parameters

filePath
Type: System.String
The path to the sequence file that contains the variable.
variableName
Type: System.String
The name of the variable to get the ID for.
variableId
Type: System.Int64 %
Upon return, contains the variable ID for variableName.

See Also

Log in to get a better experience