LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Phase of aquisition

Dear all,

I am measuring my experiment with DAQ assistent 9174 and two modules: NI9220 for laser transducer (displacement) and NI9237 for force.

Looking for my data generated I can see they star at the same time but they have differente aquisition rate. The mesured signal supposed to be in phase between each other and they are a little bit out of phase.

There anybody could help me with this ?

Thanks a lot, 

Arthur.

0 Kudos
Message 1 of 13
(2,447 Views)

You need to attach (all of) the relevant VIs.  If you have several VIs in your Project, compress the folder containing them and attach the resulting .zip file.

 

Usually the reason two devices have a different acquisition rate is that either you set them to have a different rate or you put "slow-down" code in one or both of the loops.  But without seeing the code, we can only make a "guess" ...

 

Bob Schor

Message 2 of 13
(2,427 Views)

Hello!

 

If you could, attach the VI of your code responsible for the acquisition. Then, we can provide a better feedback. 

 

Best Regards, 

Isabelle Orlandi
Engenharia de Aplicações
National Instruments Brasil
0 Kudos
Message 3 of 13
(2,398 Views)

Hi Arthur,

 

the NI9237 only supports a very limited range of sample rates, see the details in its manual/datasheet!

 

I guess you don't use any of the supported sample rates in your VI...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 13
(2,395 Views)

This is my VI.

My experiment deal with 20 to 30 Hz of frequency. Thats not too much i guess.

I am using continuous aquisition with 100x100 samples to read and rate.

 

Thanks again,

Arthur.

0 Kudos
Message 5 of 13
(2,386 Views)

Hi Arthur,

 

attach your VI instead of that huge image…

 

My experiment deal with 20 to 30 Hz of frequency. Thats not too much i guess.

The NI9237 starts with ~1.6kS/s sample rate. Do you use that?

Did you read the datasheet for this module?

This module does NOT support a sample rate of 10S/s!

 

I am using continuous aquisition with 100x100 samples to read and rate.

So you're reading 100×100=10k samples?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 13
(2,379 Views)

Hi people, thanks for help. VI attached now.

 

Knight i dont understand what you mean with "This module does NOT support a sample rate of 10S/s".

I have seen many mechanics experiments for quasi-static tests measuring the force by a load cell. They operate nearly 0,1 Hz.

 

I dont realy understand also this samples to read and rate once i am useing continous samples for aquisition. When i increase the value of samples to read and rate i just cant measure the whole time of experiment because i get overflow on buffer.

 

Thanks again and sorry for my empty knolodge.

Arthur.

0 Kudos
Message 7 of 13
(2,356 Views)

@Arthuruuuuuu wrote:

Hi people, thanks for help. VI attached now.

 

Knight I don't understand what you mean with "This module does NOT support a sample rate of 10S/s".

 

 

Read the datasheet for your DAQ module.    Page 8 of http://www.ni.com/pdf/manuals/374186a_02.pdf

0 Kudos
Message 8 of 13
(2,354 Views)

Thanks for your answer,

but i am not familiarized with this kind of expressions:

"a master timebase"  dont know what means n...could be 1 2 3 ...or 31 but what means ?

 

Neither where should i introduce this equation to make then share a single time.

 

Thanks and sorry again

0 Kudos
Message 9 of 13
(2,337 Views)

n is any of those integer numbers.

 

Just acquire at a higher rate!

0 Kudos
Message 10 of 13
(2,327 Views)