View Single Post
  #1   Spotlight this post!  
Unread 11-08-2009, 17:29
Manoel's Avatar
Manoel Manoel is offline
Registered User
FRC #0383 (Brazilian Machine)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Porto Alegre, RS, Brazil
Posts: 608
Manoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond reputeManoel has a reputation beyond repute
Send a message via ICQ to Manoel Send a message via MSN to Manoel
Help with basic algorithm on LabVIEW

I'm not too good with LabVIEW and I'm using it to implement some code to run on the cRIO.

The very basic algorithm I have to implement is:

a) Apply a user-defined setpoint to a control system, then measure its output and control effort for a user-defined number of samples, sampling at a user-defined sample time (ie, 40 samples at 20ms).

b) Apply a different setpoint that is dependent on the data acquired at step a), then perform the same measurements.

c) Using the data measured at a) and b), along with some other user-defined parameters, calculate stuff (I'm using MathScript for that), and iterate everything all over again, for a number of user-defined times.


Any ideas on what's the best way to do it? Please ask for clarifications, if needed.
__________________
Manoel Flores da Cunha
Mentor
Brazilian Machine
Team # 383
Reply With Quote