Table of Contents

Method SaveTDROffsetsToFile

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital
Assembly
NationalInstruments.SemiconductorTestLibrary.Extensions.dll

SaveTDROffsetsToFile(DigitalSessionsBundle, PinSiteData<PrecisionTimeSpan>, string)

Saves TDR offsets to a file.

public static void SaveTDROffsetsToFile(this DigitalSessionsBundle sessionsBundle, PinSiteData<PrecisionTimeSpan> offsets, string filePath)

Parameters

sessionsBundle DigitalSessionsBundle

The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.DigitalSessionsBundle object.

offsets PinSiteData<PrecisionTimeSpan>

The per-site per-pin offsets to save.

filePath string

The path of the file to save the offsets to.

SaveTDROffsetsToFile(DigitalSessionsBundle, PrecisionTimeSpan[][], string)

Saves TDR offsets to a file.

public static void SaveTDROffsetsToFile(this DigitalSessionsBundle sessionsBundle, PrecisionTimeSpan[][] offsets, string filePath)

Parameters

sessionsBundle DigitalSessionsBundle

The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.DigitalSessionsBundle object.

offsets PrecisionTimeSpan[][]

The offsets to save for each instrument session for each channel. The first dimension represents instrument sessions and the second dimension represents channels.

filePath string

The path of the file to save the offsets to.

Remarks

The resulting file is pinmap-specific. It is recommended that the filename contains the same name as the pinmap, as well as timestamp.

For each instrument session, this method supports one of the following:

  • Offsets only for primary and non-shared channels
  • Offsets for all site-pin channels, including shadows of shared channels

Exceptions

NISemiconductorTestException

This exception is thrown if the number of instrument sessions in offsets does not match the bundle, if per-session channel counts are invalid, or if shared-channel offsets are inconsistent.