02-27-2017 03:02 PM
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?
Solved! Go to Solution.
02-27-2017 03:22 PM
You're running into an expected behavior, known as "lazy uncommit". John_P1 discusses it a bit more in this thread:
02-27-2017 04:57 PM
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.