05-20-2013 12:10 PM
Hello rachit1234,
Which VI were you using that you encountered this error? Could you post a screenshot of the error you are getting along with the VI? That error typically comes up when you are specifying an external sample clock for an analog input task that is faster than the highest sample rate of the ADC.
Best Regards,
Izzy O.
Applications Engineer
National Instruments
05-20-2013 01:09 PM
Hello,
I used your method, as it made more sense and was simpler than mine. Please find the attached VI with the snapshot of the error.
Thank you for your help, appreciate it.
Rachit
05-20-2013 01:12 PM
My goal is to obtain a pressure Vs Crank Angle degrees for any default RPM.
05-20-2013 04:27 PM
Hello Rachit,
Thanks for providing the attached VI and screen shot. The error you are getting is because the clock signal coming from the cDAQ1Mod5/PFI 0 exceeds the conversion rate of the 9215’s ADC. In order to accomplish the task of getting a graph of the Pressure vs. Crank Angle, I would setup two tasks an analog input for the pressure and a counter task for the encoder measuring the crank angle. Then ensure that they are acquiring data of the same sample rate so that the Crank Angle vs. Pressure task has the same number of data points. The snippet below displays how to setup this feature.
Best Regards,
Izzy O.
Applications Engineer
National Instruments
05-21-2013 10:08 AM
Thanks for a detailed explanation. I tried the setup like you said.. and it shows me a different error now.
(200284-Some or all of the samples requested have not yet been acquired.)
It seems I am doing something wrong somewhere.
Please find attached.
05-21-2013 12:48 PM - edited 05-21-2013 12:49 PM
Hello Rachit,
Why is the Sample Clock source of these tasks pointed at the cDAQMod5PFI lines? In the last snippet I attached above the Pressure task was using it's onboard clock, and the Crank Angle task was pointed at the AI sample clock (the same clock the Pressure task was using) to ensure that the data points read would match up.
As for the error you are getting please take a look at the following Knowledge Base Articles which discuss the errors.
http://digital.ni.com/public.nsf/allkb/FEF778AD990D5BD886256DD700770103?OpenDocument
http://ae.natinst.com/public.nsf/web/searchinternal/34E8B2544E9CF48286257ABC003D187B?OpenDocument
Best Regards,
Izzy O.
Applications Engineer
National Instruments
05-22-2013 01:18 PM
Now that It works well.. I added a property node in DAQmx channel for resetting the Z index.. But it doesn't work that way it seems.
I tried using filter. It still shows up in the property that my CDAQ supports. Am I doing the right way? Or is there some other way to do it?
05-22-2013 02:52 PM
04-14-2014 11:22 AM
Hello labview community
I'm trying to calculate the Area enclosed by Constant threshold and Wave from Wave file
as you can see in the Figure by Calculating the area of a triangle (Considering all Areas as area of a triangle)
And calculating the average area , also I need to Modify this (Detect All Triggers.vi) VI to To give me data array for Locations for all Triggers not just First 50 , the VI in Attachments .
Please help me implement this in labview
Thank you all