Why Do I Get Error 10100 With My Counter/Timer Board? Hardware: Counter/Timers (TIO)>>Devices>>PCI-6601, Counter/Timers (TIO)>>Devices>>PCI-6602, Counter/Timers (TIO)>>Devices>>PCI-6601, Counter/Timers (TIO)>>Devices>>PXI-6602, Counter/Timers (TIO)>>Devices>>PXI-6601
Problem: I am using a counter timer board such as the PCI-6601, PCI-6602, or PXI-6602. When I configure my DIO port for 8 or 16 bits, Port Config.vi returns error 10100. When I configure the port width to be 32 bits, no error is returned. Setting all 32 bits to be used for DIO may not be ideal. Is there a way to use some of the lines for DIO and some for Counter Timer? Solution: The described behavior is expected. The NI 6601 and NI 6602 only allow one 32-bit port configuration. If you are doing digital input, you don't need to distinguish between counter lines and DIO lines. If you are doing output, you can configure the lines for digital output on a line by line basis. In LabVIEW, you do this by using a mask to specify which lines are to be used for digital output via the Port Config and Digital Out VIs. In the API function, there are calls that let you configure the lines individually. While it's not necessary to mask or individually configure lines for digital input (see first paragraph), it can be done the same way as described for digital output. For counter applications, use Select_Signal (or Route Signal.vi in LabVIEW) to enable a counter output. Suppose you enable PFI_24 for DIO output. It will act as a DIO output. You then call Select_Signal to make PFI_24 the output of counter 3. The most recent call will prevail. Thus, after the select signal call, PFI_24 will behave as a counter output. Related Links: Attachments:
Report Date: 02/02/1999 Last Updated: 11/07/2008 Document ID: 1I1DMALL |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
