I am trying to route the internal timebase 20 MHz clock as an input to a counter source on a M series PXI - 6289 card as shown below:
I want to also use a trigger to the gate to generate a 10 MHz clock on the output which I want to then use as a clock for a digital line (this is described on page 117 of the manual M Series User Manual - National Instruments (ni.com) as Continuous pulse train generation). I have been using MATLAB so far and cannot figure out how to connect the internal 20 MHz timebase to the source of the counter. I've tried using the addinput function, addoutput function, addtrigger function in different combinations, but run into issues like you can't add an input to an output counter, for example.
I'm open to using daqexpress, python, labview, or literally anything to achieve this. I also tried doing this in daqexpress and could not figure out how to access each of the counter terminals (for example, why can't we just have a counter object and be able to put signals into the input source, gate, etc... and measure an output??). If anyone could provide any guidance that would be tremendously helpful. Thanks a lot!