Script

How do I reset the script on mini maestro pls?
I have run the script. Need to clear and start again. I added a new sequence thinking it would over write but it deleted the script and I cannot see how to start again.

Hi.

If you are asking how to erase everything in the Maestro’s script box, all you need to do is highlight all the code and use backspace or delete. Then you can type in a new script or use either the “Copy Sequence to Script” or “Copy all Sequences to Script” buttons to transfer sequences to the script box. Please note that those buttons do different things as described in the “Sequencer” section of the Maestro user’s guide.

If you are working with a single sequence that you want to Maestro to play on startup, you should use the “Copy Sequence to Script” button. If you press this button when there is already a script in the Maestro’s scripting box, a pop-up will ask if you want to erase your current script. If you press the “Copy all Sequences to Script” button the current sequence will get added to the existing script as a new sub sequence or sub routine.

-Claire

Hello Claire,
Thank you for your reply.
I think I have managed to overcome the issue and have saved a new script. Although it may have happened by fluke not knowledge.

I have several mini maestro for each of my animatronic figures. They were created a couple of years ago but need updating. I have since changed my pc and when I connect the maestro to the control centre it cannot recognise the script. They run but will not show the script so I cannot amend it. Hence the problem with trying to reset the maestro. But then I loose all the script.

Is there something I can do to access the old script on a new computer?

Regards

Hello.

Unfortunately, there is no way to read the script from the Maestro.

If you can access the old computer the Maestro was originally programed on, that should have saved the last script used, so it would appear in the Maestro Control Center software when you connect a Maestro. From there, you could save a copy of the Maestro settings file, which would contain the script, from the “File” drop-down menu of the control center and move that to your new computer.

By the way, this is a public forum, so we generally do not recommend posting personal contact information (e.g. phone numbers) like you had in your signature. I edited your post to remove that this time.

- Patrick

Hi Patrick,
Thanks for the reply.

With regards to altering a script in the mini maestro, I just cannot get my head around looking at the script with a view to altering the speed or acceleration for a frame.
I am sure it’s straight forward but I cannot see the wood for the trees.

Is there a video clip, to demonstrate connecting the maestro to the pc, accessing the script, highlighting a frame or two and altering the parameters, saving and exiting the maestro?

If there is not a clip, could someone do one and WhatsApp it or can I speak to someone that could talk me through it?

Regards

Gary Rushton

We can continue helping you here, but unfortunately we do not have a video like that, and making one is beyond the scope of our technical support.

You can adjust servo speeds and accelerations in the Maestro scripts is with lines like these:

600 0 speed        # Sets channel 0 speed value to 600
127 0 acceleration # Sets channel 0 acceleration value to 127 
300 1 speed        # Sets channel 1 speed value to 300
200 1 acceleration # Sets channel 1 acceleration value to 200

So if you want to change the speed and acceleration settings before a particular frame, you can just add lines like those to your main loop just before the line calling the frame subroutine.

If you try that and continue having trouble, can you post a script that demonstrates the problem; one you think should work, but does not? Ideally, it should be as simple as possible, such as a script generated from just two or three frames that moves one or two servos plus your modifications to adjust the speeds and accelerations.

- Patrick

By the way, it sounds like you are using the Maestro Control Center’s sequencer, converting it to a script, then editing the script to add speed and acceleration limits. In case you were not aware, we recently released an updated version of the Maestro Control Center that allows the sequencer to save speed and acceleration settings for each frame directly, which makes it much easier to adjust them without manually editing the script. To update to the newer version (currently 1.6.1.0), you can re-download and install the Maestro Servo Controller Windows Drivers and Software following the instructions in the “Installing Windows Drivers and Software” section of the Maestro user’s guide.

Brandon