VeriStand .NET API Reference

Factory.GetIAlarm Method (String)

This method is deprecated in NI VeriStand 2010 and later. Use the GetIAlarm method instead.

Gets the IAlarm interface, which you can use to get and set data for a single alarm, enable or disable the alarm, and set the alarm mode.

Namespace: NationalInstruments.VeriStand.ClientAPI
Assembly: NationalInstruments.VeriStand.ClientAPI (in NationalInstruments.VeriStand.ClientAPI.dll) Version: 2013.0.0.0 (2013.0.0.0)
Visual Basic (Declaration)
Public Function GetIAlarm ( _
	name As String _
) As IAlarm
C#
public IAlarm GetIAlarm(
	string name
)
Visual C++
public:
IAlarm^ GetIAlarm(
	String^ name
)

Parameters

name
Type: System.String
Specifies the name of the alarm you want to access.

Return Value

Returns an Error object. If no error occurs, the Code property of the Error object is 0.

See Also

Log in to get a better experience