Monday, May 22, 2006

more rtdx fun

I need to figure out how to get this all going without freezing. ver4 is still just giving a high pitched whine.

m file version 2 (note that you need to also copy the fig file of the same name)
mdl version 6

I have removed the referenece to the input rtdx blocks and have only got the output block in the m file. I have also removed the input blocks from the simulink model and only have a constant going into it.

that does not work from the m file

it also does not work with the motor

I have tried attaching the rtdx block to the model on the assupmtion that it could not deal with multiple threads but the motor did not work then either.

I have now tried removing the rtdx block all together to see if the motor works

motor does not work which is a relief.

there is a warning that some block in the PWM out are not connected. Matlab has frozen so hopefully those blocks that were not connected were causing the problems.

those that were not connected were the "from memory" blocks that are meant to be disconnected - bugger

motor still does not work

start 7.mdl using 6-wire-simple

motor works - now add rtdx block for the HE from library browser

compiles

even loads into dsp

but motor does not run

tried slowing down the sampling rate on the rtdx to 0.1 sec

motor runs finally.

now I should be able to set up a channel and read in the data.

must be lunchtime

0 Comments:

Post a Comment

<< Home