LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help!!! Increasing Sampling Frequency

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...

0 Kudos
Message 1 of 5
(2,946 Views)

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
0 Kudos
Message 2 of 5
(2,922 Views)

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

0 Kudos
Message 3 of 5
(2,892 Views)

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
0 Kudos
Message 4 of 5
(2,878 Views)

here is the new

0 Kudos
Message 5 of 5
(2,852 Views)