printf("Analog Output %d is %ld.\n", channel, io->AnalogOutGet(channel));
// -- C# -- //
Console.Writeline("Analog Output {0} is {1}.", channel, io.AnalogOutGet(channel));
Note
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.