04-14-2013 02:36 PM
Hello,
I have a problem with frequency counting. I use the ctr2 and ctr3 port of my NI6343 for measuring frequecies of speed of my combustion engine and the frequency of a fuel flow sensor. My problem is that i can't measure the two frequencies at the same time. I can measure the frequency of each sensor in a single program. When i put the code of both the engine speed and fuel flow sensor in one program i get nothing on the numerical indicators on the front panel of my program. I have put my program in attachment. What can i do to measure the two frequencies at the same time?
Kind regards
04-15-2013 12:09 PM - edited 04-15-2013 12:09 PM
Hello Niariss,
Can you elaborate a bit more on what you would want to achieve?
I don't really understand why you would use implicit timing in this case.
How often do you want to measure the frequencies of the speed and the fuel flow sensor?
Do you want to have a measured Value each second or each 100 ms or faster?
I also saw that you dont seem to have any error handling in the loop
So if you have an error you wouldn't even notice it, nor would your loop stop.
Do both measurements have to be synchronized with eachother?
If not, then you can also just use 2 parallel loops (both at their own rate..)