06-27-2013 08:29 AM
Hello, i'm facing a problem with my ni device. I have a 3 ni6229 and some 6602 card. We have to mesure simultaneous frequency of 2 optical coder, then display them in time domain.
Signal to measure in range 0 to 10khz and change with frequency betwwen 20 and 100Hz. (like a sin waveform of 5Khz timebase, moving +- 512hz at 100hz).
It's very important to have common time measurement because we need to compare behaviour of one signal from the change in the first one.
I've tested some code (labview or nidaq C) (Measure Pulse Frequency - Buffered - External Clock - Arm Start) but i've error -200300 in labview (Invalid timing type for this channe, Property: SampTimingType Requested Value: Sample Clock
You Can Select: Implicit, On Demand).
How can i achieve this measurement
Regards
06-28-2013 04:01 AM
Hi Yipilipi,
You should look at this KnowledgeBase and let us know if it solves your issue here :
Common NI-DAQmx Error Codes and Solutions: Codes -200300 to -200999
Have a nice day,
M-Junior
06-28-2013 04:15 AM
No solution solution in this faq.
Somewhere in the documentation i found some advice that only new E serie device with STC3 chip can be used with external sample clock for frequency counter acquisition.
With simulated device of E serie device, my code is working.
So i'm looking how to achieve my measurement with my actual ni card.
Regards
06-28-2013 09:44 AM
Sorry I've misread the error code on the link I've sent you. It looks like you are using an unsupported spec on your 6602. Just one question, why don't you use the Counters on your 6229?
Anyway I've found another exemple on the Community that seems more suitable to use with a 6602 :
Use Counter to Create a Clock for a Buffered Edge Counting Task
I hope this helps,
Have a nice day
M-Jr