Method SaveTDROffsetsToFile
- 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
sessionsBundleDigitalSessionsBundle-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.DigitalSessionsBundle object.
offsetsPinSiteData<PrecisionTimeSpan>-
The per-site per-pin offsets to save.
filePathstring-
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
sessionsBundleDigitalSessionsBundle-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.Digital.DigitalSessionsBundle object.
offsetsPrecisionTimeSpan[][]-
The offsets to save for each instrument session for each channel. The first dimension represents instrument sessions and the second dimension represents channels.
filePathstring-
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
offsetsdoes not match the bundle, if per-session channel counts are invalid, or if shared-channel offsets are inconsistent.