Asked — Edited

Vb Scripting

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: EZ_B.Servo.SetServoPosition(EZ_B.Servo.ServoPortEnum, System.Int32) If I write just this single line of code after the four "imports" I get this error message: "Declaration expected" Why? 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.


ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

#9  

Now you are way over my head. Good luck finding your answer. I'm sure there's 1 somewhere.

#10  

I use VB.net in ASP.Net all day. I run the IT department for a $40 million dollar distribution company.

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.