Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Beginner question

Solved!
Go to solution

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

www.ni.com/support

0 Kudos
Message 11 of 19
(1,861 Views)

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

Download All
0 Kudos
Message 12 of 19
(1,854 Views)

My goal is to obtain a pressure Vs Crank Angle degrees for any default RPM. 

0 Kudos
Message 13 of 19
(1,853 Views)
Solution
Accepted by topic author Jango

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.  

 

hello8.png

 

Best Regards,

 

Izzy O.

Applications Engineer

National Instruments

www.ni.com/support

Message 14 of 19
(1,832 Views)

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.

 

0 Kudos
Message 15 of 19
(1,813 Views)

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.  

 

 hello9.png

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

www.ni.com/support

 

0 Kudos
Message 16 of 19
(1,805 Views)

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? 

0 Kudos
Message 17 of 19
(1,783 Views)
I got it.
Thanks, anyways.
0 Kudos
Message 18 of 19
(1,766 Views)

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

 

Download All
0 Kudos
Message 19 of 19
(1,665 Views)