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 single device or many device creation. This can be changed with the 'Create many/Create single' button.

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 'Device model' combo box. Select the device model (if there are any).
  3. Enter the device name.
  4. Enter the device comment. This is not a mandatory field, although it is very useful to have a description associated with each device.
  5. 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.
  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 click on it, then 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 5 will also be applied to the children if it is possible.
  7. Press Ok/Apply to create the device with the selected options. A progress bar will inform 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 'Device 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. In the fields included in the frame 'Device naming convention', you can enter the data necessary to generate the names of the devices that will be created. 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 a fixed part plus a changing part).
  5. 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.
  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 click on it, then 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 5 will also be applied to the children if it is possible. The children will be created for each of the devices.
  7. Press Ok/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