I've been going around with NI tech support for a few days without much progress, so I thought I'd try here.
I have an old system using a PXI-6602 (80MHz timebase) with Traditional DAQ and LabVIEW 8.2.
I am updating to a new system using a PXIe-6614 (100MHz timebase) with NI-DAQmx and LabVIEW 2019.
There's a counter set up for Frequency Shift Keying. The input pulse (in my case, the device's timebase) is divided differently based on the polarity of the gate.
In Traditional DAQ, I set it up so that when the gate is low, the clock is divided in half: two ticks low and two ticks high, yielding a 40MHz clock. When the gate is high, it switches to four ticks low and four ticks high, yielding a 20MHz clock.
I want to do something similar with the new system, but using the faster clock: I want a 50MHz output when the gate is low, and a 25 MHz output when the gate is high.
It seems like the "CO Pulse" function is the way to do this in DAQmx. I've been using "CO Pulse Ticks", for consistency with Traditional DAQ.
However, when I try to use two ticks high and two ticks low, it seems like it's dividing the clock by four, and I get a 25MHz clock.
I tried the obvious and changed it to one tick high and one tick low, but got an error that said the minimum value is two.
I assume I'm doing something wrong here, since the newer hardware and software should have more features than the old system, right? NI Tech Support seems to agree that it should be possible, but they've yet to provide the "how". (If they do, I'll post it here.)
Any ideas?