Well, I always start with the examples, and try to hack them. I'm writing to 8 lines, addressing them as Dev1/port0/line0:7
So it's line output not port output
The example 'Write Dig Chan -Ext Clk' didn't seem to work at all, and I wondered if it was something to do with using the external clock. If I can get hardware timing preicision with the internal clock then that's just fine, and I don't care about the external clock'.
The example 'Write Dig Chan - Int Clk, Dig Start' uses a digital start trigger, which I don't need.
What I presumably need is a simple 'Write Dig Chan - Int Clk' example. Note that 'Write Dig Chan' example is no good: uses software timing and point by point updating.