@@ -39,8 +39,14 @@ public class BreakoutAnalogOutput : Sink<Mat>
3939 public BreakoutAnalogIODataType DataType { get ; set ; } = BreakoutAnalogIODataType . S16 ;
4040
4141 /// <summary>
42- /// Send samples to analog outputs.
42+ /// Send a matrix of samples to analog outputs
4343 /// </summary>
44+ /// <remarks>
45+ /// If a matrix contains multiple samples, they will be written to hardware as quickly as communication allows.
46+ /// The data within each input matrix must have <see cref="Depth.S16"/> when <see
47+ /// cref="DataType"/> is set to <see cref="BreakoutAnalogIODataType.S16"/> or <see cref="Depth.F32"/>
48+ /// when <see cref="DataType"/> is set to <see cref="BreakoutAnalogIODataType.Volts"/>.
49+ /// </remarks>
4450 /// <param name="source"> A sequence of 12xN sample matrices containing the analog data to write to channels 0 to 11.</param>
4551 /// <returns> A sequence of 12xN sample matrices containing the analog data that were written to channels 0 to 11.</returns>
4652 public override unsafe IObservable < Mat > Process ( IObservable < Mat > source )
@@ -103,8 +109,13 @@ public override unsafe IObservable<Mat> Process(IObservable<Mat> source)
103109 }
104110
105111 /// <summary>
106- /// Send samples to analog outputs.
112+ /// Send an 12-element array of values to update all analog outputs.
107113 /// </summary>
114+ /// <remarks>
115+ /// This overload should be used when <see cref="DataType"/> is set to <see
116+ /// cref="BreakoutAnalogIODataType.S16"/> and values should be within -32,768 to 32,767, which
117+ /// correspond to -10.0 to 10.0 volts.
118+ /// </remarks>
108119 /// <param name="source"> A sequence of 12x1 element arrays each containing the analog data to write to channels 0 to 11.</param>
109120 /// <returns> A sequence of 12x1 element arrays each containing the analog data to write to channels 0 to 11.</returns>
110121 public IObservable < short [ ] > Process ( IObservable < short [ ] > source )
@@ -130,8 +141,12 @@ public IObservable<short[]> Process(IObservable<short[]> source)
130141 }
131142
132143 /// <summary>
133- /// Send samples to analog outputs.
144+ /// Send an 12-element array of values to update all analog outputs.
134145 /// </summary>
146+ /// <remarks>
147+ /// This overload should be used when <see cref="DataType"/> is set to <see
148+ /// cref="BreakoutAnalogIODataType.Volts"/> and values should be within -10.0 to 10.0 volts.
149+ /// </remarks>
135150 /// <param name="source"> A sequence of 12x1 element arrays each containing the analog data to write to channels 0 to 11.</param>
136151 /// <returns> A sequence of 12x1 element arrays each containing the analog data to write to channels 0 to 11.</returns>
137152 public IObservable < float [ ] > Process ( IObservable < float [ ] > source )
0 commit comments