LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PXI-6229 PFI Counter Output Signals Not Disabling

I notice that when I assign PFI1 signal output to Counter Output 0 and run a task and stop it and then resign the same Counter Output 0 to PFI2 signal output, the PFI1 signal is still active when a counter output task is run for PFI2 signal.  I create a square wave with a certain frequency using the counter output.  I verified this with a scope that the PFI1 signal output showed a square wave signal output when I ran the counter output task for PFI2 signal output.

 

After each task I use the "DAQmx Stop Task.vi" and then use the "DAQmx Clear Task.vi."  I figured these VIs would disconnect PFI1 signal output.  How do I resolve this?  Thanks!

0 Kudos
Message 1 of 2
(2,066 Views)

You're running into a behavior that's been referred to around here as "lazy uncommit."   I'm not an expert on it, just somewhat aware of the behavior.  Search the term here and hopefully you'll find better, more detailed help.

 

Among the things that have been recommended are issuing a device reset.  There may be some devices and PFI lines that support more direct and less drastic methods (tristating?  configuring as digital input or output?).

 

 

-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.
Message 2 of 2
(2,032 Views)