This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
I am trying to do the MotorWare Labs. And I am still stuck at lab 05c.
First problem for some reason I didn't have the project file project05.c, when I solved that problem I had the main.h problem.
So I uninstalled CCS 5 with much pain, moved my GOOD user.h file back in the correct directory and I have the main.h
missing again. I suppose I do not have a path set to find it correctly, could someone help please.
David
Here are two screen shots attached.
David,
I'm going to forward this query to motorware expert Chris. For next time, I would recommend you to post queries related to Motorware to Instaspin forum for quick reply.
Best Regards
Milan
Update: I still have the problem with CCS on that laptop.
I loaded MotorWare, C2000, CCS on another laptop. Loaded good user.h file in place of default.
Started lab 5c. Page 112.
Motor spinning slowly, Changed value of gMotorVars.SpinTAC.VelldGoalSpeed_krpm from value 3354424 to 7 for correct speed of motor. Motor speed the same.
Set “gMotorVars.SpinTAC.VelIdRun” to 1. Motor speed never changed.
Noted the error on gMotorVarsSpinTAC.VelldErrorID as 22 = failed.
Any suggestions on how to correct this? Or what does 22 mean?
David
David,
1. Pleae stop posting these questions to the Motor Drivers forum. Please post MotorWare / InstaSPIN questions here. It only slows down response.
2. You are not following the directions in the labs.
David Hackenbracht1 said:Changed value of gMotorVars.SpinTAC.VelldGoalSpeed_krpm from value 3354424 to 7 for correct speed of motor. Motor speed the same.
These aren't even valid values. Follow the directions for loading the matching proj_lab##.js using the Scripting Console. This puts the variables into the proper format so you caninstrument them correctly.