LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

NI sound and vibration

I wonder if some one could tell me how to change the time increment for the data adquisition with the program sound and vibration

0 Kudos
Message 1 of 3
(2,624 Views)

Hey Tosita;

 

There are two ways to control the timing of an action; there can be software and hardware timing.

With hardware timmimng, the clock on the DAQ or the device controls the rate of rimed actions. With software it is Signal Express the one that determines this rate using the operating system. Just as a pointer, hardware timing is more precise than software timing, because the second one depends on the processor of the computer as well as in the amount of tasks loaded.

To use software timing, you should modify the rate and number of samples in the acquisition step. For example if you take 100 samples with a rate of 1KHz

Capture.JPG

 

Then T=1 ms; so every millisecond you would be acquiring one sample and your total acquisition time for the 100 samples would be of 100 ms. You should also remember that in order to get a decent looking signal  your sampling frequency should be 10 times larger. All of this is obviously going to depend on your hardware, because if you set a larger sampling freq than the specs of your card, it will either give you an error or the card will just sample as fast as it can.

 

Another thing you can play with is the "Configure Run" tool which allows to run the project for a certain amount of time or a determined number of iterations.

 

Hope this can help!

 

Marisol

 

 

0 Kudos
Message 2 of 3
(2,609 Views)

If what you are looking for is to just change the way the graph looks so that instead of showing the default 99 ms value you can see 5 or 10 seconds in a row; you can right click the graph>>properties and the in the scales tab you can remove the checkmark on "Autoscale" and set the scale you need

 

Greetings

0 Kudos
Message 3 of 3
(2,608 Views)