Hi,
on a project I am using a DAQPad-6016 with DAQmx 8.3 and C# and I ran into a configuration problem with the digital I/Os.
The digital tasks are configured as follows:
outTask1: 19 lines: P0.0 ... P0.7, P1.0 ... P1.7, P3.2, P3.3, P3.4
outTask2: 3 lines: P3.5 ... P3.7
inTask1: 10 lines: P2.0 ... P2.7, P3.0, P3.1
inTask2: 3 lines: P3.5 ... P3.7
outTask1 is used for outputs only
inTask1 is used for inputs only
outTask2 and inTask2 are used for bidirectional I/O.
ChannelLineGrouping is set to OneChannelForEachLine.
With this configuration, data written to outTask1 will be reset when inTask1 is read (DigitalMultiChannelReader). I thought this happend because P3 was split between input and output tasks. Thus I tried to move all P3 lines into outTask2 and inTask2. However when writing to outTask1 and afterwards to outTask2, the data of outTask1 is reset.
The pin assignment is fixed. There might be options to change lines on P3.
I looking for a solution or some explainations about this behaviour.
Any ideas ?
Regards,
Marko