Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Using Count Edges.VI with 6601 & 6023E

Objective:
Use Labview 6xx to control 6601 Counter / Timer board as follows:
Output Quaditure finite pulse train using counter 1 out (pin 9) & counter 2 out (Pin 32)  **CHECK**
Display count actually output on pins by using two other inputs on same board. **ERROR**

Problem:
Using "Count Edges.vi" configured as follows:
 Counter 0, Device: 6601 (#2)
 Gate Specs: default
 Source Selection: PFI_0

 FAILS indicating 10123 "Invalid Parameter used"

Riddle:
 I changed the device to my 6023E leaving everything the same and it works perfectly!

Question:
How can I use the 6601 to count pulses being output by the same board? IE: Use Signal Routing.vi somehow, or configure Count Edges.vi another way?

Thanks all - Patrick


0 Kudos
Message 1 of 2
(3,380 Views)
 

I'm not sure I trust my memory here because I haven't used traditional NI-DAQ for my counters in the last 2 years or more...

But I *think* that the problem comes from the fact that you're using an example vi meant *only* for DAQ-STC based counters (as found on all E-series boards such as your 6023).  A different example vi with a name including something like "NI-TIO" needs to be used for your 6601 board, which uses NI-TIO counters.  Some of the default and/or allowed pin assignments are different for the two types of boards.

You might want to install the "Counter Palette" update found here if you haven't already.  It provides some packaged config vi's that make life with counters a bit easier to deal with.

-Kevin P.

ALERT! LabVIEW's subscription-only policy came to an end (finally!). Unfortunately, pricing favors the captured and committed over new adopters -- so tread carefully.
0 Kudos
Message 2 of 2
(3,373 Views)