Panel Name

fwDeviceCreate.pnl

Introduction
This panel is used to create a new device in the system as child of a specified parent device. The user can also choose to have the default settings for addressing and alarms at the same time that the device is created. It is possible to create a single device or a group of devices with the same characteristics.
Instructions The first step is to choose whether one device or many devices should be created. This can be done by choosing the 'Single device' or 'Multiple devices' tab.

To create a single device one has to (Figure 1):
  1. Select the device type you want to create.
  2. If there are models defined for that device type they will appear in the 'Model' combo box. Select the device model (if there are any).
  3. Enter the device comment. This is not a mandatory field, although it is very useful to have a description associated with each device.
  4. Select the default settings that will be applied immediately after creation. The check boxes will only be available if  the device type/device model support the option. If you select default addressing make sure that the default driver for the device type is running.
  5. Enter the device name.
  6. In the case that  it is possible to create the children at the same time, the check box  'Also create children' will be enabled. If you tick it you can choose the type and model for the children. The number of children will be taken from the internal information for the device you are creating. The default settings selected in step 4 will also be applied to the children if it is possible.
  7. Press 'OK' or 'Apply' to create the device with the selected options. A progress bar will inform you of the progress during the operation.
The creation of multiple devices is similar to the single creation with a few extra steps (Figure 2):
  1. Select the device type you want to create.
  2. If there are models defined for that device type they will appear in the 'Model' combo box. Select the device model (if there are any).
  3. Enter the device comment. This is not a mandatory field, although it is very useful to have a description associated with each device.
  4. Select the default settings that will be applied immediately after creation. The check boxes will only be available if  the device type/device model support the option. If you select default addressing make sure that the default driver for the device type is running.
  5. For the names, it is possible to have a combination of a fixed part + changing part + fixed part + changing part. The combinations may be restricted depending on the device type/model you are creating (e.g. in Figure 2, for CAEN SY1527 boards  it is only possible to have one fixed part plus one changing part).
  6. In the case that it is possible to create children at the same time, the check box  'Also create children' is enabled. If you tick it you can choose the type and model for the children. The number of children will be taken from the internal information for the device you are creating. The default settings selected in step 4 will also be applied to the children if it is possible. The children will be created for each of the devices.
  7. Press 'OK' or 'Apply' to create the device with the selected options.
  8. A panel will display a list with the names of the devices that are to be generated (not including children). The list allows you to choose which of the devices you want to create.  Any conflicts will be reported (e.g. existing device, device slot out of range).
  9. Press 'OK' to proceed with the creation.
  10. A progress bar will inform of the progress during the operation.

Restrictions

 

Panel screenshot
Figure 1. Single device creation.

Panel screenshot
Figure 2. Multiple device creation.

 

 

Dollar Parameters
Name Description  
$sDpName Name of the parent device where the new device will be added. Required
$iPosition Position of new device in parent
Optional
$sDeviceTypes Possible device types that can be created
Optional
$sDeviceName Default name for the new device
Optional