05-13-2014 09:52 AM
Hello
I have a NI9401 on a C-DAQ9171. 2 optical encoders are connected to the 9401.
My problem is that I want to make an internal timer, in order to be able to record the data with a sampling rate that I can easily change.
Thus, I should configure 2 counters for the input corresponding to the 2 encoders, and another counter to make the "internal" clock, which will allow me to have a valid sampling requency (1000 hz) for example.
I have watched many topics about that, but I still don't manage to do that. (I am new to labview..)
If anybody could help I would be very gratefull.
Sincerely.
Jeff
05-16-2014 12:33 PM
To configure the counter output task you would refer to the counter as:
<chassis_name>/_ctrN
e.g.
cDAQ1/_ctr0
To reference the internal output for the sample clock you would refer to the terminal as:
/<chassis_name>/CtrNInternalOutput
e.g.
/cDAQ1/Ctr0InternalOutput
Neither of these options will appear in the drop down list for DAQmx channels/terminals due to default filtering options.
Best Regards,