I'm using a 6062E card and both counter channels in a DAQmx LabView application. I'm also using the PFI0 as the trigger input. Additionally, since DAQmx doesn't inform the software that a trigger was received, I'm splitting the trigger signal from the PFI0 and inputting it on a DIO. That way I can monitor the DIO in software, and do stuff, if a trigger happens. This works great for triggers that have a duration long enough for the software to recognize the event on the DIO however there are times when the trigger is very short, like 10ms. In those cases I get the hardware trigger (rising edge) but no indication of trigger for the software (level). I'm often acquiring at slow rates and don't monitor the DIO very quickly.
The only way I seem to be able to monitor the PFI0 in software is to steal one of the counters. In that case I can setup the task for a physical counter channel like CTR1, but monitor the PFI0 instead. I don't seem to be able to use "PFI0" when setting up a counter task. Since I want two counters as data channels I need to also set up an additional counter task to monitor the PFI0. The software does not allow me to setup an additional task on the same channel or setup a third "fake" counter since it knows that the physical channel is in use or doesn't exist. There seems to be a limitation where I can't get past the task set up VI to actually monitor a different channel, like PFI0. Is there any other way to setup a task for a PFI (other than counter)? Keep in mind that I'm also using this PFI as the hardware trigger. I would prefer a solution without adding a hardware latch to the trigger. How do I trick the software into letting me use the already consumed counters for task setup but monitor the PFI0?