10-24-2013 12:12 PM
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...
10-24-2013 03:12 PM
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
10-26-2013 03:19 AM
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
10-26-2013 12:32 PM - edited 10-26-2013 12:33 PM
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
10-28-2013 12:47 PM
here is the new