void SegmentAnalogOutSet ( long  segmentNumber,
long  analogChannel,
long  value 
)

Description:
SegmentAnalogOutSet sets the value of a segment's analog input. It is passed a starting channel ID relative to the Segment (not Node).
Parameters:
segmentNumber The segment's (slice) number on the node, starts from 0.
analogChannel The analog output number on the node, starts from 0.
value Value of the input.
Sample Code:
Set the Analog Output value on [channel] of [segNum] to [value]. Example: Assuming range is +/- 10V and resolution is 16-bit, 0x7FFF would represent 10V.
   // -- C++ -- //
  io->SegmentAnalogOutSet(segNum, channel, value);
   // -- C# -- //
  io.SegmentAnalogOutSet(segNum, channel, value);
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:
AnalogOutGet
Examples:
SliceIO.cs.