Table of Contents

Class Utilities

Namespace
NationalInstruments.SemiconductorTestLibrary.Common
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

Provides general helper methods.

public static class Utilities
Inheritance
Utilities
Inherited Members

Methods

ElementAtOrFirst<T>(T[], int)

Returns the element at a specified index in a sequence or the first element if the index is out of range.

InvokeInParallel(params Action[])

This method calls the Parallel.Invoke method to execute multiple methods in parallel. If any of the methods generates an exception, this method throws the first exception encountered. This allows the TestStand Semiconductor Module runtime error dialog to properly display the exception.

PerInstrumentPerChannelResultsToPerSitePerPinResults<T>(IEnumerable<ISessionInformation>, T[][])

Converts per-instrument per-channel results to per-site per-pin results.

PerInstrumentPerChannelResultsToPinSiteData<T>(IEnumerable<ISessionInformation>, T[][])

Converts per-instrument per-channel results to PinSiteData.

PreciseWait(double?)

This method blocks the thread and waits for the specified amount of time. This method uses the Stopwatch class to support shorter settling times.

ToJaggedArray<T>(T[,])

Converts a two dimensional array to a jagged array.

TryDeterminePowerLineFrequency(ref double)

Tries to determine the power line frequency of the PXI chassis using the SystemConfiguration API.