Setting Property Values in VPL

Microsoft Robotics

Glossary Item Box

Microsoft Robotics Developer StudioSend feedback on this topic

Setting Property Values in VPL

Knowing what to type for the value of a property can sometimes be tricky. Take for instance, the StopState property of the AllStop command, available on the NxtDrive.

If you hover over the Target property, however, you can find out what type is expected... in this case, it is MotorStopState.

Hover over the property name

Move to the Value field, and start to type, MotorStopState.  A drop-down will appear, and you will see MotorStopState in the list. Go ahead and select it.Enum

Type a period (.) after MotorStopState.  You will see another drop-down menu with the MotorStopState values. Select one of the values.

Type "MotorStopState."



© 2012 Microsoft Corporation. All Rights Reserved.