Sets the state that the other outputs will be set to if the watchdog expires.
Namespace:
Quanser.Hardware
Assembly:
Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub WatchdogSetOtherExpirationState ( _
channels As Integer(), _
values As Double() _
) |
C# |
---|
public void WatchdogSetOtherExpirationState(
int[] channels,
double[] values
) |
Visual C++ |
---|
public:
void WatchdogSetOtherExpirationState(
array<int>^ channels,
array<double>^ values
) |
JavaScript |
---|
function watchdogSetOtherExpirationState(channels, values); |
Parameters
- channels
- Type: array<
System..::.Int32
>[]()[]
An array containing the numbers of the other output channels for which the expiration state should be set.
Channel numbers are zero-based. Thus, channel 0 is the first channel, channel 1 the second channel, etc.
Select a board type to the list for board-specific details:
.
- values
- Type: array<
System..::.Double
>[]()[]
An array in which each element contains the other values to which to set the
corresponding channel in the channels array upon watchdog expiration.
This array must be the same size as the channels array.
Remarks
Examples
Exceptions
Exception | Condition |
---|
Quanser.Hardware..::.HilException |
If the other expiration states cannot be set then an exception is thrown. This situtation
typically arises if the board does not support a watchdog timer, or the other state provided
is not supported by the card.
|
See Also