Hi,
An example of writing to a digital output line can be found at:
C:\Program Files\National Instruments\NI-DAQ\Examples\VisualC\Do\DOoneline.C
As in the LabVIEW example, you will have to set the line to number 28. Program is hardcoded to use
DIO_28 of TIO board. DIO_28 is pin 32.
I hope this helps, and have a Great Day!
George