loading
 
EZ-Robot V4 EZ-Builder additional features
Anonymous
3 years
These are new features added to EZ-Builder and thus the EZ-SDK that should allow the link between RoboRealm and EZ-Builder to be able to communicate more than one variable at a time.

new ez-script commands:
- appendarray()
- clearvariables()
- dumpvariables()
- getcontrolvalue()
Steven Gentner from United States  [1370 posts] 3 years
David (and Darathian),

I see all the new functions (just download the latest EZ release) but don't see the

GetArraySize( variable )

or

GetControlValue()

I checked the site to see if there are release docs but nothing comes up. Can you check the spelling of those?

DumpVariables now allows for a list of EZ variables to be populated but still no luck with getting arrays from EZ without knowing the size ... its possible to use DumpVariables to do that but as more variables are added that becomes quite a load so I'd prefer to avoid using DumpVariables to get all the values for arrays.

Thanks,
STeven.
Darathian from United States  [21 posts] 3 years

Hope this helps.

I created an array called $X with a size of 3 and added three values inside EZ-Script

If you add a script control inside EZ-Builder and click on the gear you can see all the commands.

I did the following via a TCP (Telnet connection):

EZ-Builder v2014.09.16.00 on TTY0
>$P =GetArraySize("$X")
OK
>print ($P)
3
Darathian from United States  [21 posts] 3 years
STeven

This should take you to the release notes area.

Go to the community tab on the website
Select the release notes tag

or go to

http://www.ez-robot.com/Community/Forum/Search?tags=3
Steven Gentner from United States  [1370 posts] 3 years
Ok, that seems to work ... what I was looking for was

print(GetArraySize("$X"))

forgot that print requires parenthesis.

Moving ahead ...

Just out of curiosity, what array from EZBuilder are you interested in?

Thanks!
Darathian from United States  [21 posts] 3 years
What started all of this for me was getting the array variables from avm into ez - builder as an array and to be able to update array variables inside roborealm from ez-builder.

I wasn't thinking of a specific array per se.
Darathian from United States  [21 posts] 3 years
Essentially I want to be able to get any variable from roborealm into ez-builder so I can write code based on the values using ez-script and vice versa.

My first item is to use the avm variables to control my robot mixed with features from ez-builder/script.  To do that I need to be able to send variable values back and forth including arrays.

Thanks
Steven Gentner from United States  [1370 posts] 3 years
Ok, arrays should now be able to be received from within RR from EZ-builder.

Latest version has the updated EZ-Robot module.

STeven.
Darathian from United States  [21 posts] 3 years
STeven

Thanks you very much. I am still testing but so far it all seems to work.

I appreciate all the help.

Thanks

This forum thread has been closed due to inactivity (more than 4 months) or number of replies (more than 50 messages). Please start a New Post and enter a new forum thread with the appropriate title.

 New Post   Forum Index