Returns a value indicating whether the specified sites passed the comparisons in the pattern burst.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDigital

public bool[] GetSitePassFail(string siteList)

Remarks

If a site has no pins mapped to the instrument, this method returns true for that site.

Parameters

NameTypeDescription
siteListstring

The comma-delimited list of strings of the form of siteN, where N is the site number. If you specify an empty string, the method returns pass or fail results for all sites.

Returns

An array of System.Boolean values. For each site, true, if the site passed; false, if the site failed. If a site is disabled or not enabled for burst, the method does not return data for that site. Use SortSiteResultsBySite(NIDigital[], string, SiteResultType, bool[][], out int[]) to order and combine the data to match siteList . You can also use GetSiteResultsSiteNumbers to obtain a sorted list of returned sites.

Exceptions

TypeDescription
Ivi.Driver.SelectorNameException

The value for siteList  contains an invalid site.

System.InvalidOperationException

GetSitePassFail is called without loading a pattern.