Writes to other outputs immediately.
Namespace:
Quanser.Hardware
Assembly:
Quanser.Hardware.Hil (in Quanser.Hardware.Hil.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Sub WriteOther ( _
channels As Integer(), _
values As Double() _
) |
C# |
---|
public void WriteOther(
int[] channels,
double[] values
) |
Visual C++ |
---|
public:
void WriteOther(
array<int>^ channels,
array<double>^ values
) |
JavaScript |
---|
function writeOther(channels, values); |
Parameters
- channels
- Type: array<
System..::.Int32
>[]()[]
An array containing the numbers of the other output channels to be written.
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 containing the values to write to the other outputs. Each element in
the values array corresponds to the same element in the channels array.
Hence, there must be as many elements in the values array as there are channels.
Remarks
Examples
Exceptions
Exception | Condition |
---|
Quanser.Hardware..::.HilException |
If the write cannot be performed then an exception is thrown. This situtation
typically arises if the board does not support other outputs or the hardware
resources required are in use by a task.
|
See Also