NI-Digital Pattern Driver .NET Class Library

Table of Contents

DigitalTiming.CreateTimeSet Method

  • Updated2023-11-24
  • 1 minute(s) read
DigitalTiming.CreateTimeSet Method

DigitalTimingCreateTimeSet Method

Creates and returns a DigitalTimeSet. Use this method to create time set values after applying a timing sheet with ApplyLevelsAndTiming(String, String, String), or to create time sets programmatically without the use of timing sheets. This method does not modify the timing sheet file or the timing sheet contents that will be used in future calls to ApplyLevelsAndTiming(String, String, String), it only affects the values of the current timing context.

Namespace:  NationalInstruments.ModularInstruments.NIDigital
Assembly:  NationalInstruments.ModularInstruments.NIDigital.Fx40 (in NationalInstruments.ModularInstruments.NIDigital.Fx40.dll) Version: 2021

Syntax

public DigitalTimeSet CreateTimeSet(
	string timeSetName
)
Public Function CreateTimeSet ( 
	timeSetName As String
) As DigitalTimeSet

Parameters

timeSetName
Type: SystemString
The name of the time set.

Return Value

Type: DigitalTimeSet
A DigitalTimeSet with the name and period specified.

Exceptions

ExceptionCondition
IviCDriverExceptionThe NI-Digital Pattern Driver returned an error.

See Also

Log in to get a better experience