LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Use Counter on the cDAQ-9174 to create a clock

I am using Labview to read digital lines on an NI 9421 Module installed in a cDAQ-9174 chassis. 

I have read that there are several counters in the cDAQ-9174 and that you can use the 80MHz, 20MHz and 100KHz Timebase in the 9174 as an input to one of its counters. 

I want to use the output of the counter to create a 5KHz trigger for the Digital In and another Analog in module so they will be synchronized. The signal frequency is very low(<100Hz) so a 5kHz trigger rate will give me plenty of data.

My question is how do I do this in Labview. Is that a DAQ Assistant function? 

 

I used the DAQ Assitant to create a counter object, with an output range of 100uS on, 100us off, so 5kHZ. 

tmcneil_0-1666386751893.png

What should the triggering be generated by? I would think one of the Timebases, but they are not selectable 

tmcneil_1-1666386811359.png

 

DO I do anything with the Advanced timing Tab? Not even certain what this tab is used for. 

 

tmcneil_2-1666386876183.png

These selections give me an error, so I just select Implicit under Timing Type and the error goes away

However, once it is placed in the Labview Block Diagram, there are no Outputs to feed to the DAQmx trigger source input to send this over. I don't understand how all these signals get routed from the cDAQ to the Modules. If this is a counter , shouldn't it have some sort of output?

 

 

tmcneil_3-1666387198828.png

 

 

0 Kudos
Message 1 of 1
(704 Views)