04-12-2011 10:22 AM
hi
i m working on DAQ usb 6341 and facing a problem. when i use two frequency counter in the same program it stops calculating frequency (frequency counter task hangs). but when i use only one frequency counter it works properly.how can i solve my problem..................?
Solved! Go to Solution.
04-13-2011 12:12 PM
Hey nadeem,
I need to know a bit more about your setup to better help you with this issue. What version of LabVIEW are you running? Also, if you could either include your code or a screenshot of your code, that would be great. Thanks!
~kgarrett
04-14-2011 11:18 PM
hi i m using labview 2009. i have two fuel flow sensers with frequency output. i want to measure the fuel flow.
The problem which i am facing is that when i use single sensor it works fine.But when i use two frwquency inputs from ni usb 6341 it hangs or not works properly.
04-15-2011 03:08 PM
Hi nadeemalikpda,
Without seeing your code, I am still not sure what could be going on, though it is unlikely that the counter itself is hanging (unless you are trying to read faster than the specified read rate for the card). If you open LabVIEW and click Help » Find Examples » Hardware Input and Output » DAQmx » Digital Frequency » Meas Dig Frequency-Buffered Cont-High Freq 2 Ctr.vi, two instances of this code should work for your desired function. If you still have issues, please post back. Thanks!
~kgarrett
04-16-2011 05:25 AM
ok thanks 4 ur reply i will upload my code..................
04-24-2011 08:41 AM
hi this is my code
plz reply me early
regards
nadeem
04-25-2011 05:35 PM
Hey,
I have a couple of questions for you. I have down loaded he VI and and trying to reproduce your error. Is there a particular error message associated with the "hanging" of LabVIEW? What type of sensor are you using?
Regards,
Perry S.
04-25-2011 11:50 PM
no there is no error messege.
i am using two MPU sensors.
There are two high speed inputs as you can see in the program VI.
when one MPU stops the other reading of other Mpu sensor also stops even it is working.
means these two MPU sensors have to work toghter. if any one of the input stops other,s reading in the
program VI also hangs .
04-26-2011 04:23 PM
Hi nadeemalikpda,
I'm getting a little confused here. What do you mean when you say that one of the MPU's stops? Are you trying to stop one from reading and let the other tasks continue? If you will need to place each DAQ Assistant in a different loop.
Have a great day,
Chris
04-27-2011 03:44 AM
i mean to say that i have two motors with two Encoders on them. when one motor stops . the reading of other encoder also stops (HANGS).