Hi Mario,
It looks like the error is in your line declaration. The NI-DAQmx
format is DevX/portY/lineA:B - where X is the device number, Y is the
port number, and A and B are the low and high lines values for the port
such as 0:7 - this is true even when you declare an entire port .
Regards,
Micaela N
National Instruments