Hello,
I am running a USB-6501 under Linux with NI-DAQmx Base v 2.1. I am trying to do exactly what is supposed to be done in the example code "WriteDigMultiplePorts.c".
The problem I'm having is very similar to this post: http://forums.ni.com/ni/board/message?board.id=250&message.id=34319&query.id=33116#M34319
I am running completely un-modified example code (attached for reference). The code is able to successfully control port0, but ports 1 and 2 are left unchanged. I have also toyed around with specifying all ports as /Dev1/port0:2, though haven't had any luck with this route either. The example code "WriteDigPort.c" works flawlessly. It seems like there is a problem with trying to control more than one port with the same task.
Any ideas why this example code does not work for this case?
Thanks.