04-15-2016 08:24 AM
Solved! Go to Solution.
04-18-2016 10:34 AM
Hi Ilkka,
Have a look at the "MeasAngularPositionBufferedCont_ExtClk" Example which will be installed with DAQmx:
C:\Users\Public\Documents\National Instruments\NI-DAQ\Examples\DotNET4.5\Counter\Measure Position\MeasAngularPositionBufferedCont_ExtClk\CS
Regards
Christian
04-18-2016 12:37 PM
Hi Christian,
Hi, what I put to the Sample clock source?
I can run the angular position measurement task in NI MAX with “1 Sample (On Demand)” timing settings but not in the “Continuous Samples” mode.
BR,
Ilkka
04-19-2016 07:29 AM
Hi Ikka,
you can also use the internal sample clock by using Empty value for signal source parameter:
http://zone.ni.com/reference/en-XX/help/370473H-01/mstudiowebhelp/html/154a9ce4/
Regards
Christian
04-21-2016 03:44 AM
Hi Christian,
The internal sample clock is not accepted, when the data acquisition is run in the continuous buffered mode:
BR,
Ilkka
04-29-2016 01:52 PM
Hi,
I am playing with this test bench again.
The continuous buffered data acquisition is working if I defined the PFI0 as the sample clock source.
BUT; we need to control the sampling rate programmatically and work together with NI 9205 analog input module. I have created an own task for the analog inputs which internal clock and tried to give different External clock sources for the angular position measurement. But not succeeded.. Just the PFI0 worked which is actually the incremental encoders channel A.
What to do? Do we need to make an external cable for routing some external clock signal to angular position measurement or can we use the same sample clock as the AI task. I have tried “/XXX/AI/SampleClock” but it was not working either..
BR,
Ilkka
05-02-2016 12:32 PM
Hi,
This works now.. Thanks for NI customer support. The angular position measurement can use an internally generated signal by using a counter ("/cDAQ1/Ctr1InternalOutput").
BR,
Ilkka