I'm trying to learn how to use the Visual Basic script control in EZ- Builder and I'm having trouble with the SDK commands. For example, consider the following command form:
If I write just this single line of code after the four "imports" I get this error message:
I'm also not sure what to enter in the ( ). If I want to position the D4 servo to 60 do I enter (D4, 60) or ( EZ_B.Servo.ServoPortEnum.D4, System.60) or what?
Any help will be appreciated.
Upgrade to ARC Pro
Unleash your creativity with the power of easy robot programming using Synthiam ARC Pro
To answer your question, you were very close with the code guess
The command would be
However, in EZ-Script, it is even easier because it's like this...
I understand the simplicity and power of ARC/Script and perhaps I'm trying to use VB to solve a problem that I don't yet see how to solve in ARC. I have used Builder enough already to see its value. However, I'm an old (age 75) user of Basic (especially QuickBasic which is really a powerful programming environment when you don't need much user display/interaction). As an engineer I used it extensively, including some pretty sophisticated applications (e.g., control of a gimballed missile seeker and a simulated target on a translator to effect a simulated missile flight to target, including aerodynamics and kinematics). So my love of and capability with Basic makes me want to learn VB since you have provided a neat interface in Builder.
Let me take this opportunity to join the ranks saluting you on the magnificent EZ-Robot system you have created. I can't even begin to imagine the hours of effort you have put in to this. It's obviously a labor of love.
The top of the VB Script window is disappearing (like it's shoved under the top bar) and the far right slide bar is gone. Otherwise I was going great. Is there a limit to the lines of code?
Edit: When I added another control (camera) the screen fixed itself! Any idea why?
I'm having this trouble on 2 different computers, Same project.
All employees use my software to run the company since the beginning. I have been the only programmer since the beginning of the company when started.
There is nothing you really can't do in VB today. I live in Visual Studio all day.
It would be nice to see examples of everything that the C examples have in the SDK kit in VB.
I would love to use this with data from SQL server.
I will share what I come up with anyone who needs use VB.
I really need quick examples of hardware controls.
If this project I am working on goes down it will be really big in the amount of hardware I will need from EZ.
I will be controlling multiple robots from a central location. When parts are required, robots will go to the location the parts are at and bring the parts to a packer for shipment.