Award
Congratulations thetechguru, for answering the question and has received an EZ-Credit award! Share what you have learned and create a tutorial to help others by clicking here.

Assistance Requested

Help count74 with their question and receive $10 of EZ-Credit to get more robots and parts from our store. The following information was provided about their previous efforts searching tutorials for a resolution.

Product: (click to view product details)

EZ-Builder Control: (click to view manual page)

count74 claims to have checked these sources:
 
#1

Hi,

I wrote a script for my robot to control its arm / manipulator. I saved the script in the editor and the project too and loaded it again today and the script control is not there anymore and I can not seem to find the script. Where are EZ-Scripts saved when the save button in the editor is clicked and how do I load a script? It would be really annoying if I had to write it all again...

Thanks for your help!

I have found a few conversations, tutorials and activities that may help with your question. Take a look at these links. I've sorted them by what I believe to be most relevant but that is not always the case as I'm still learning.


Also, consider reviewing the Learn section for informative lessons and activities. Check it out!


#2

Unfortunately, it is really easy to accidentally delete objects in projects. There is no confirmation if you hit the X button. Only solution currently is to save often, and save a copy to EZ-Cloud so that you have a backup. I am sorry to say it is unlikely you will be able to recover your script.

Another tip (I don't think this is what happened to you, but for other readers), if you start with one of the EZ-Robot Example Projects, be sure to save your own copy with its own name. Every time EZ-Builder is updated, the Example Projects are over-written with the latest version, so if you have modified one without saving your own copy, all your work will be lost.

Alan

#3

That´s bad news and if I may say so, bad software design. I will now use an external editor to write scripts and copy/paste them to EZ-Builder.
Thanks for your reply!

#4

We (me and other customers) have asked DJ to fix this several times. He has a very long todo list and I think he considers this one minor. I agree that it is a fairly significant design issue, but he doesn't always agree with me Winky

Alan

#5

If it is minor there should at least be a big warning sign. If I click save somewhere, I tend to take that for granted and it should be "save". Not save for the moment and forgotten without notice. There are so many subfolders in \Documents\EZ-Builder one for scripts would be nice.

#6

Just to clarify, it isn't an issue with saving, it is an issue with it being too easy to accidentally delete objects from your project before saving (making an assumption that this is what happened because it is the most common cause of this complaint... Could be a new bug or some other problem, but I have never seen it, and we aren't seeing other complaints of it).

All EZ-Builder objects, including scripts are save in the project name.ezb file, which is a form of XML file, so there would not be a separate file or folder just for scripts.

Another option other than saving to the cloud as well as locally, would be to set up a windows task or other script activity to periodically archive copies of your .ezb files to a backup directory with archived names. A lot of work to get around a product bug that DJ really should take care of, but since there are workarounds that may be why it hasn't moved to the top of the todo list.

Alan

#7

Thank you techguru. I set this to resolved and start typing the script again.

#8

@count74 I did the same thing when I first installed EZ-Builder wrote a script hit save and shut down. then went back in and file was not saved. Checked hard disk for file name (The name I thought I was saving it as in top left corner of script panel) but no script found. I needed to save the project. Like you I probably invested 3 hours into the script. I think the lessons learned (That I still can't learn) is if you want to do something search for a tutorial first. I agree close versus save would be more appropriate name for the button, especially when you think you are assigning a script name before you save.

#9

The original buttons were "close" but users were confused because they didn't know if the script was saved in the control... so the configuration dialogues of controls were changed to save.

Now, there's people having a different opinion. So, which one is correct? Since out of tens of thousands of users, two people have brought it up... we're going to keep the button as save Smile

@count74 Ezrobot does recommend that you begin learning the product using The Robot Program in the learn section. We've worked really really really really hard at making the best videos that educate users with robotics - but they are only effective if they're used Smile so check out The Robot Program and things will be clear and fun!

#10

I watched a lot (not all yet) of your videos and read the documentation about the plugins I am using. I closed and opened EZ-Builder multiple times yesterday and my script and the script plugin were always there. But today it was gone and I do not see what I did wrong. I answered yes to saving on exit and even if I did not the last time, the script plugin should still have been there from the last saves.
I suspect the project got corrupted somehow, because as I tried to rewrite the script I got all kinds of error messages, but I can not get the message window to stay. I try to click on "always show", but it does not react.
I will start the project from scratch tomorrow.