Class Utilities
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
Provides general helper methods.
public static class UtilitiesInheritance
Inherited Members
Methods
- CurrentPinSiteResultsFilling<T>(SitePinInfo, Dictionary<string, IDictionary<int, T>>, T)
-
Associates a pin site result with a pin name or pin group name in the provided pin site results dictionary. Current result of the primary pin is returned with the pin group name in case of merging. Current result of individual pins are accumulated and returned with the pin group name in case of ganging.
- CurrentSitePinResultsFilling<T>(SitePinInfo, Dictionary<int, IDictionary<string, T>>, T)
-
Associates a site pin result with a pin name or pin group name in the provided site pin results dictionary. Current result of the primary pin is returned with the pin group name in case of merging. Current result of individual pins are accumulated and returned with the pin group name in case of ganging.
- 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.
- FilterPinsOrPinGroups(ISemiconductorModuleContext, string[], string, out IList<string[]>, out IList<int>, out string[])
-
Filters pins or pin groups by instrument type.
- GetValue<T>(IDictionary<string, T>, SitePinInfo, out bool)
-
Gets the data for the pin name or cascaded pin group name associated with the pinData dictionary.
- 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.
- IsFollowerOfGangedChannels(CascadingInfo)
-
Checks if the cascading info represents a follower channel in ganged channels.
- PerInstrumentPerChannelResultsToPerSitePerPinResults<T>(IEnumerable<ISessionInformation>, T[][], SitePinResultsFilling<T>)
-
Converts per-instrument per-channel results to per-site per-pin results.
- PerInstrumentPerChannelResultsToPinSiteData<T>(IEnumerable<ISessionInformation>, T[][], PinSiteResultsFilling<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, bool)
-
Tries to determine the power line frequency of the PXI chassis using the SystemConfiguration API. Will use power line frequency 60Hz when
isOfflineModeEnabledis true. - VoltagePinSiteResultsFilling<T>(SitePinInfo, Dictionary<string, IDictionary<int, T>>, T)
-
Associates a pin site result with a pin name or pin group name in the provided pin site results dictionary. Voltage result of the primary pin is returned with pin group name in case of merging. Voltage result of individual pins are averaged and returned with pin group name in case of ganging.
- VoltageSitePinResultsFilling<T>(SitePinInfo, Dictionary<int, IDictionary<string, T>>, T)
-
Associates a site pin result with a pin name or pin group name in the provided site pin results dictionary. Voltage result of the primary pin is returned with the pin group name in case of merging. Voltage result of individual pins are averaged and returned with the pin group name in case of ganging.