Common elements and attributes : Device element

Device element
The Device element describes the device to VWorks software and has the attributes defined in this section.
Description attribute
The Description attribute contains the description of the device.
The name is displayed in the Device File area, as shown in the following figure.
Required: Yes
DynamicLocations attribute
Currently, VWorks software does not use the DynamicLocations attribute.
Indicates whether the device requires dynamic locations.
Possible values:
0 = The device does not require dynamic locations
1 = The device requires dynamic locations
Required: No
Default value: 0
HardwareManufacturer attribute
The HardwareManufacturer attribute contains the name of the device’s manufacturer.
Required: No
Default value: None
HasBarcodeReader attribute
The HasBarcodeReader attribute indicates whether the device has a barcode reader.
Possible values:
0 = The device does not have a barcode reader
1 = The device has a barcode reader
Required: No
Default value: 1
MiscAttributes attribute
The MiscAttributes attribute contains a bit field that is reserved for future functionality.
Possible values:
0 = No miscellaneous attributes exist for this device
1 = Allow only combined pick-and-place robot moves; do not allow pick-up-only or place-only moves
2 = Generate a compile-time warning if the location of an upstack or downstack process has not been scanned
4 = The device needs a secondary teachpoint
8 = Allow VWorks software to check if the stack is empty after a pick (used for devices that do not downstack until the move following the Downstack task)
16 = Used for devices that can release stacks
Required: No
Default value: 0
Name attribute
The Name attribute contains the name of the device.
The name is displayed in the Device File area, as shown in the following figure.
IMPORTANT The device name must be unique, or VWorks software will not load the plugin.
Required: Yes
PreferredTab attribute
The PreferredTab attribute contains an option in the Navigation Pane associated with the type of task that the device performs. If the device has more than one task, the PreferredTab attribute can be used to specify a different option for each task.
Note: If the device has more than one task, the Command element’s PreferredTab attribute can be used to specify a different option for each task. If the PreferredTab attribute is specified for the Command element, its value overrides the value of the Device element's PreferredTab attribute. For a description of the Command element’s PreferredTab attribute, see “PreferredTab attribute” .
Possible values:
To change the quick access buttons from large to small, drag the splitter bar up or down.
In the following figure, the Navigation Pane on the left has small quick access buttons that are displayed horizontally. The Navigation Pane on the right has large quick access buttons that are displayed vertically.
 
 
Required: No
Default value: None
RegistryName attribute
The Windows registry key name. All profile names and attributes are saved in the registry subkeys under this name.
Required: No
Default value: None