Method WriteDigital
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
WriteDigital(DAQmxTasksBundle, bool, bool)
Writes a single Boolean sample to the specified pin(s).
public static void WriteDigital(this DAQmxTasksBundle tasksBundle, bool staticState, bool autoStart = true)
Parameters
tasksBundle
DAQmxTasksBundleThe DAQmxTasksBundle object.
staticState
boolThe static state to write.
autoStart
boolSpecifies whether to automatically start the tasks.
WriteDigital(DAQmxTasksBundle, SiteData<bool>, bool)
Writes a single Boolean sample to the specified pin(s).
public static void WriteDigital(this DAQmxTasksBundle tasksBundle, SiteData<bool> siteData, bool autoStart = true)
Parameters
tasksBundle
DAQmxTasksBundleThe DAQmxTasksBundle object.
siteData
SiteData<bool>The per-site data to write.
autoStart
boolSpecifies whether to automatically start the tasks.
WriteDigital(DAQmxTasksBundle, PinSiteData<bool>, bool)
Writes a single Boolean sample to the specified pin(s).
public static void WriteDigital(this DAQmxTasksBundle tasksBundle, PinSiteData<bool> pinSiteData, bool autoStart = true)
Parameters
tasksBundle
DAQmxTasksBundleThe DAQmxTasksBundle object.
pinSiteData
PinSiteData<bool>The per-site per-pin data to write.
autoStart
boolSpecifies whether to automatically start the tasks.