10-29-2007 04:04 PM
10-31-2007 11:22 AM
Hello Steve,
I am glad that you were able to find a workaround for your application using the PCI 6221. To explain the reason why your program works flawlessly with the 6221 and not the 6601 I would suggest looking at the device route diagram for the devices in Measurement and Automation Explorer. These can be found by clicking on the respective device in the left column and choosing the Device Route tab.
If you look at the connection diagram for the 6221, you will notice that direct routes between the RTSI lines and the A, B, and Z counter connections are green. This means that the DAQmx drivers will automatically route your PFI lines from the 6052E through RTSI to the A, B, and Z connectors.
In the connection diagram for the 6601 however you will notice that there is not direct connection to the A, B, and Z terminals from RTSI. In fact, those terminals are not even listed on the diagram itself. This is because there are specific PFI lines on the 6601 which correspond to the A, B, and Z terminals.
For instance, if you would like to use ctr0 the following PFI lines correspond to A, B, and Z:
A <-> PFI39
B <-> PFI37
Z <-> PFI38
Therefore, to use the 6601 in the same manner as the 6221, you will have to route your signals manually to those PFI lines and then assign those to the corresponding A, B, and Z terminals. You will note that two of those PFI lines (38 and 39) do not have routes to RTSI at all.
It is always important to look at the connection diagrams for your devices to ensure that signals can be properly routed from source to destination. Hope this helps and good luck with the application!