Search found 8 matches

by hoainamnguyen
Fri Oct 14, 2011 9:10 am
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

Hi, I'm sorry, may be this question is stupid, but I'm a newbie in Scicos. I want to apply some control law for the ball and plate system. The control law involves a "if-else-then"statement. For example: if H1*x <= K1, then u = u1; else if H2*x <= K2 then u = u2; else u = u3; end if Could you please...
by hoainamnguyen
Wed Oct 12, 2011 10:43 am
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

Hi,

I have also one question. How can I save the position of the ball in the ".txt" file for the other purposes.

Ciao,
Nam Nguyen
by hoainamnguyen
Tue Oct 11, 2011 4:58 pm
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

I have just bought the ICD3 programmer and tried with the "pid_ctrl_codegen_udp_tuning_square_circle.cos" example. It worked perfectly and thank you very much for a very nice work on the "ball and plate" experiment. Now I try to apply some other controller. And I have a few questions: 1) What is the...
by hoainamnguyen
Thu Sep 29, 2011 4:43 pm
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

Thank you for your answer.

After changing the directory from "C:\Program Files\Microchip\mplabc30" to "C:\Program Files\Microchip\mplabc30\v3.30", it works.

I hope, I'm not so annoying.

Ciao,
Nam Nguyen
by hoainamnguyen
Fri Sep 23, 2011 1:55 pm
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

Hi,

I have another problem. I ran the led_sin.cos example and tried to compile the Scicos diagram. But I cannot find the pic30.elf or event pic30.cof inside the Debug directory.

Here is a picture of a console, while the Scicos tried to generate a code.

Best,
Nam Nguyen
by hoainamnguyen
Fri Sep 23, 2011 1:42 pm
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

Thank you for your prompt response.
by hoainamnguyen
Thu Sep 22, 2011 3:49 pm
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Re: Amazing ball model

Hi, I would like to generate a C-code from Scicos and I follow the tutorial: "Installing scicoslab and generating code from a Scicos diagram" on the wiki website. But I can not find a folder "\dspic" in the directory "C:\Program Files\scicoslab-4.4.1\contrib". Can anyone please tell me what I have t...
by hoainamnguyen
Fri Jul 15, 2011 9:50 am
Forum: FLEX (closed)
Topic: Amazing ball model
Replies: 17
Views: 31889

Amazing ball model

Hello,

Recently,I bought the ball and plate system for studying advanced control methods. For this, I need the system parameters? Could anyone please tell me, where can I find the system parameters?

Thanks in advance,
Nam Nguyen