Hello,
Greetings. When trying to convert an old application, it would probably be better for us to get a simple example working first. Here is where you can find a great example for pattern generation input using a 653x device.
C:\Program Files\National Instruments\CVI70\samples\daq\di\DIdoubleBufHandshake653x.PRJ
After running this program and looking at the code, you should have a better feel for the command calls that are needed.
I would like to mention that the 653x devices can operate in several modes. The two most common are continuous pattern I/O and continuous handshaking (burst) I/O. The difference between the two applications is that one continuously generates a pattern and produces an error if it is unable to keep up with the data rate.
Handshaking applications have the ability to deactivate the proper handshaking lines if the data rate becomes too much.
In order to help with this problem, we will need some more information. Please let us know the answers to the following questions.
1.) Does the above example work for port 0, 1? Does it work for port 2, 3?
2.) If not, could you describe the problem in detail? What are your settings of the initialization variables?
3.) If the above example works, what is the difference between this program and the one that you are creating? What mode are you operating in? Where is your clock coming from? What pins are your signals wired into? (Ack, Req and PCLK specifically)
Just let us know.
Best regards,
Justin T.
National Instruments