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
tasksBundleDAQmxTasksBundleThe DAQmxTasksBundle object.
staticStateboolThe static state to write.
autoStartboolSpecifies 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
tasksBundleDAQmxTasksBundleThe DAQmxTasksBundle object.
siteDataSiteData<bool>The per-site data to write.
autoStartboolSpecifies 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
tasksBundleDAQmxTasksBundleThe DAQmxTasksBundle object.
pinSiteDataPinSiteData<bool>The per-site per-pin data to write.
autoStartboolSpecifies whether to automatically start the tasks.