cancel
Showing results for 
Search instead for 
Did you mean: 

help!!! Increasing Sampling Frequency

mok410
Member

help!!! Increasing Sampling Frequency

Message contains an attachment

Hello everyone, is very little that I approached labwiev and I have this problem I can not solve.
Let me explain ..... I made this program using myDAQ and USB-6525 to acquire data from a test bench suspensions and as you can see from the attached file I have several graphs that show me speed / strength and position / force of the suspension, the problem is that when I exceed 20 Hz (about 330 mm / sec) of the motor which drives the suspension, the graphs become unusable because of the small amount of data that can be processed. can anyone help me? thanks...

4 REPLIES 4
Yamaeda
Proven Zealot

Re: help!!! Increasing Sampling Frequency

You're using a Timed loop, a Wait and a Time delay in the same loop, which do you think will determine loop speed?

 

Convert the express vi's to daq-mx code and you can probably handle stuff in the same task, what you usually do is e.g. set up 1kHz sampling and then pull 50 samples at a time, causing a 50ms loop time (20 fps).

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
mok410
Member

Re: help!!! Increasing Sampling Frequency

ok, I deleted the time loop but being a newbie I do not know how to connect the DAQ-mx code to the rest of the program. Could you do it and post it? thanks

Yamaeda
Proven Zealot

Re: help!!! Increasing Sampling Frequency

I didn't way delete the loop, but with 3 different waits, it'll be the slowest that's the deciding factor. I prefer a normal while loop and 1 simple Wait.

 

Post what you've got.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Highlighted
mok410
Member

Re: help!!! Increasing Sampling Frequency

Message contains an attachment

here is the new