|
|
| long AnalogOutGet |
( |
long |
analogChannel |
) |
|
- Description:
- AnalogOutGet returns the value of an analog input. It is passed a starting channel ID relative to the Node (not Segment).
- Parameters:
-
| analogChannel | The analog output number on the node, starts from 0. |
- Returns:
- (long) Value of the input.
- Sample Code:
- Get the Analog Output value on [channel].
printf("Analog Output %d is %ld.\n", channel, io->AnalogOutGet(channel));
Console.Writeline("Analog Output {0} is {1}.", channel, io.AnalogOutGet(channel));
- Notes:
- Slice I/O has multiple segments of same type (Digital/Analog In/Out) which are grouped together. The reference number for any channel of a given type can be defined as when it is encounted relative to the Slice I/O Node or an individual Slice.
- See also:
- AnalogOutSet
- Examples:
-
SliceIO.cs.
|