niDigital_DisableSites
- Updated2023-11-24
- 1 minute(s) read
niDigital_DisableSites
Pin Map Group
Disables specified sites. Disabled sites are not included in pattern bursts initiated by the niDigital_Initiate function or the niDigital_BurstPattern function, even if the site is specified in the list of pattern burst sites in niDigital_ConfigurePatternBurstSites function or in the siteList input of the niDigital_BurstPattern function.
Additionally, if you specify a list of pin or pin group names in a channelList parameter in any NI-Digital function, digital pattern instrument channels mapped to disabled sites are not affected by the function. The functions that return per-pin data, such as the niDigital_PPMU_Measure function, do not return data for channels mapped to disabled sites.
The digital pattern instrument channels mapped to the sites specified are left in their current state.
NI TestStand Semiconductor Module requires all sites to always be enabled, and manages the set of active sites without disabling the sites in the digital instrument session. Do not use this function with the Semiconductor Module.
C Function Prototype: ViStatus niDigital_DisableSites (ViSession vi, ViConstString siteList)
Parameter | Description |
---|---|
vi | The specified instrument session the niDigital_init or niDigital_InitWithOptions function returns. |
siteList | Comma-delimited list of strings in the form of siteN, where N is the site number. If you enter an empty string, the function disables all sites. |
Return value: Reports the status of the operation.