VeriStand .NET API Reference

Scales.CreateScale Method

Creates a scale of the specified type and adds it to the Scales section.

Namespace: NationalInstruments.VeriStand.SystemDefinitionAPI
Assembly: NationalInstruments.VeriStand.SystemDefinitionAPI (in NationalInstruments.VeriStand.SystemDefinitionAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function CreateScale ( _
	name As String, _
	type As ScaleType _
) As Boolean
C#
public bool CreateScale(
	string name,
	ScaleType type
)
Visual C++
public:
bool CreateScale(
	String^ name, 
	ScaleType type
)

Parameters

name
Type: System.String
The name of the scale.
type
Type: NationalInstruments.VeriStand.SystemDefinitionAPI.ScaleType
The type of the scale.

Return Value

true (True in Visual Basic) if the scale was added successfully.

See Also

Log in to get a better experience