VeriStand .NET API Reference

LINScheduler.SetActiveSchedule Method (String[], UInt32)

Sets the active schedule for the current LINPort by searching the LINSchedules array for the schedule at the specified ActiveScheduleIndex.

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 SetActiveSchedule ( _
	LINSchedules As String(), _
	ActiveScheduleIndex As UInteger _
) As Boolean
C#
public bool SetActiveSchedule(
	string[] LINSchedules,
	uint ActiveScheduleIndex
)
Visual C++
public:
bool SetActiveSchedule(
	array<String^>^ LINSchedules, 
	unsigned int ActiveScheduleIndex
)

Parameters

LINSchedules
Type: System.String
The array of all available LIN schedules.
ActiveScheduleIndex
Type: System.UInt32
The array index of the schedule to set as the active schedule.

Return Value

true (True in Visual Basic) if the active schedule was set successfully.

See Also