NI-DAQmx .NET Framework 4.5 API Reference

Watchdog.SetDOExpirationState Method

  • 更新时间2023-02-21
  • 阅读时长1分钟
Watchdog.SetDOExpirationState Method
Specifies the state to which to set the digital physical channels when the watchdog task expires. You cannot modify the expiration state of dedicated digital input physical channels.

Namespace:  NationalInstruments.DAQmx
Assembly:  NationalInstruments.DAQmx (in NationalInstruments.DAQmx.dll) Version: 20.7.45.49302

Syntax

public void SetDOExpirationState(
	string physicalChannelName,
	WatchdogDOExpirationState value
)
Public Sub SetDOExpirationState ( 
	physicalChannelName As String,
	value As WatchdogDOExpirationState
)

Parameters

physicalChannelName
Type: SystemString
The physical channel name to which to apply value.
value
Type: NationalInstruments.DAQmxWatchdogDOExpirationState
The setting to apply to the given physical channel.

Exceptions

ExceptionCondition
DaqExceptionThe NI-DAQmx driver returned an error.

See Also