Dan:
I am using a PCI 6014 board and using a digital out channel, here's sample code:
digitalWriteTask.DOChannels.CreateChannel(mDirectionChannelName, System.String.Empty, _
ChannelLineGrouping.OneChannelForAllLines) 'create virtual channel with no name
Dim writer As DigitalSingleChannelWriter = New DigitalSingleChannelWriter(digitalWriteTask.Stream)
If where = ShutterDirection.CW Then
writer.WriteSingleSampleSingleLine(True, True) 'pull the line high
Else
writer.WriteSingleSampleSingleLine(True, False) 'pull line low, triggering syringe pump
End If