You said:
"Requested value is not a supported value for this property. (Sample Mode)"
I say:
That's annoying!
I see in the M-series Help file:
>The FIFO supports a retransmit mode. In the retransmit mode, after
>all the samples in the FIFO have been clocked out, the FIFO begins
>outputting all of the samples again in the same order. For example,
>if the FIFO contains five samples, the pattern generated consists of
>sample #1, #2, #3, #4, #5, #1, #2, #3, #4, #5, #1, and so on.
That makes it sound like the "retransmit" mode is special, but I suppose it's possible that it's the default,
and DAQmx Base doesn't do anything else.
This is the sort of problem that made me abandon DAQmx Base.
You also asked:
Also, I noted that DAQmxBaseWriteDigitalU32() fills in `sampsPerChanWritten' with the value 1, even though I can confirm with a scope that multiple samples are being output.
And I don't really have much to say. Digital I/O is a bit peculiar, even with DAQmx. DAQmx Base is *more* peculiar. I had a similar question a while back (that I can't find any more) and it turned out to be specific
to DIO.
Sorry I can't offer any better solution.
John Weeks
WaveMetrics, Inc.
Phone (503) 620-3001
Fax (503) 620-6754
www.wavemetrics.com