
droidmech2002
USA
Asked
— Edited
Can anyone tell me why I am losing controls from my project when I save it. I have created the same project 3 times now and each time I save it to both my hard drive as well as to the Cloud, some of the controls seem to vanish.
I created the project for the third time yesterday and it had mp3 Trigger and 6 of the servo contols and I saved it to both my hard drive using the save as and gave it a new name and saved it to the cloud as well.
When I opened it this morning, the only thing in the project was the mp3 trigger and one of the servo controls.
Can someone tell me whats happening to the rest of the controls.
Dan S.
DJ and Rich: I have saved the file 3 times now, Once to my Hard drive, One to the Cloud, and once to a Thumb Drive. Each time when I open the file for any one of those locations, It still only shows three of the controls and the rest have vanished. The file size is only listed at 7KB when it should be much larger.
Should I delete ARC and re-install it?
Dan S.
You're right, you have a problem...
DJ may need to look at it since it's beyond me. But;
The file only shows the controls you mentioned. When trying to merge it with a new file all controls are listed but selecting all only imports the ones previously mentioned that load on open. All controls are in the save and the XML looks ok to me but I haven't much clue what to look out for (all I know is that saves are XML based - because I'm nosey like that).
@droidmech2002, what happens if you open a project from the cloud, save it locally, close ARC and then try to open it from your hard drive? There are a few projects on the cloud from me (click user details below my name/pic on the left), the Dagu one has a lot of controls... make it easier, click here to download it
I'm probably going the long way about it, have you tried re-installing ARC? Something somewhere is screwing up the save files...
Rich: I opened up a second ARC program, downloaded your Dagu file by clicking on your link above. It loaded fine I think. It has a lot of controls for 4 wheel drive, plus flux capacitor, custom movement, Port summary. I then saved it to my Thumb Drive Then closed down the second ARC. I then open a new ARC and loaded your file and it looks like everything is there.
This really has be baffled as to why it is not saving my files.
I think I am going to uninstall ARC and re-install it and see if that takes care of the problem.
Dan S.
I'll tell you what... it's a glitch.
I just started a new project. Added the sabertooth hbridge, a few modified servos, a couple of horizontal servos and the mp3 trigger. Saved, closed and opened it and half the controls don't show...
OK, solved... kinda... Cause found more to the point.
Adding more than 1 modified servo control will cause the project not to load correctly after saving.
In the meantime, set up the project without the modified servo controls.
What do they do? Chances are there is a work around the problem.
To save your time, I removed the modified servo controls the hard way... mindmunchierev4fixed.ezb
Rich: glad to know it is not just me, as I un-installed ARC, then re-installed it. Loaded up one of the old versions of my program. added the missing controls and then saved it. Closed down ARC and the re-opened it, loaded the file I saved and the controls are missing again.
What do the modified servo controls going to do. I was going to use them to move the arms up and down, Open and close the Eyes , rotate the antenna and rotate the wrists, just to start. These are the features that the museum wants the robot to have along with driving it around using the Robo Claw 2x30 motor controller, which is basically that same as the Sabretooth controller. The Mp3 trigger will operate the sound files and they want the video camera installed along with voive recognistion.
So if I can use more than one modified servo control, I have no idea how I am going to get everything to work. The scripting is beyond what I can do, and meet the deadline to have this thing operational. Myabe if I had a year to play with the program and study all of the scripting, I might be able to write the script, if it is simular to the PICAXE basic.
Dan S.
Scripting is very easy, especially for modified servos. To move a modified servo you use the Move(servoport,forward/reverse/left/right/stop) command. And that's it. A couple of examples to show how simple it is;
If it gets a Move command it will continue that move until it receives another move command.
What you could do is add the Key Control and assign movement forward, movement reverse and stop to 3 keys on the keyboard, or assign them to a joystick button. Or even have the 3 scripts above on the project for each servo.
What is your deadline? I'm pretty much always around and will guide you on scripting or any of the controls as much as I can.