Re: channel sequence problem with NI-6251

On Tue, Feb 20, 2007 at 07:52:34PM +0100, Edwin Steiner wrote:
> On Tue, Feb 20, 2007 at 07:23:52PM +0100, Edwin Steiner wrote:
> > They behave as expected. However, the sequence 1,0 gives the values of
> > channels 1,1,1,1,... instead of 1,0,1,0,...
> > 
> > Likewise 0,2,1 yields 0,2,2,2,2,2,...
> 
> The problem is that in ni_m_series_load_channelgain_list config_bits
> is not reset to 0 in the loop over the channels.

Some further explanation: The channel sequence I got was really
0,2,3,3,3,3,.... Since channel 3 was not connected, this looked
like 0,2,2,2,2,...

Also, I had loaded the channel list with 0,2,1 repeated many times,
thus it was 0,2,3,3,3,3,... and not 0,2,3,0,2,3,...

-Edwin

Received on 2007-02-20Z19:10:50