Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to disconnect A PFI line from counter output

Solved!
Go to solution

I am using a USB-6363 programmed with Labview. 

I have a setup that requires me to output a pulse generated from ctr2 on one of four different PFI lines (PFI1, 2, 3, or 4).  In the task setup, I wire the required PFI line to the CO.Pulse.Term property on the ctr2 task.  All of this basically works.

 

However, the PFI lines remain connected to ctr2 even after I select a new line.  So if I run it once with PFI1 selected, and then the next time I run it and select PFI2, then PFI1 and PFI2 both have the ctr2 output.

 

What do I have to do to disconnect a PFI line so that this does not happen?

0 Kudos
Message 1 of 3
(2,641 Views)
Solution
Accepted by topic author dwcarr

You're running into an expected behavior, known as "lazy uncommit". John_P1 discusses it a bit more in this thread:

——
Brandon Streiff
ni.com/compactdaq · ni.com/daq
0 Kudos
Message 2 of 3
(2,629 Views)

Thanks, this was very helpful.  Always a little frustrating when expected behavior and documented behavior do not completely overlap, but I have it working now.  I had to make a dummy digital output task in order to get the desired behavior.

0 Kudos
Message 3 of 3
(2,611 Views)