How can I create New Device Driver in AVReporter?

Discussion in 'Realtime Communication' started by avreporter, Jun 10, 2015.

  1. avreporter

    avreporter Administrator Staff Member

    First step, open Realtime Device Manager:

    upload_2015-6-10_5-52-22.png
  2. avreporter

    avreporter Administrator Staff Member

  3. avreporter

    avreporter Administrator Staff Member

    Next step, add new Template Device:

    upload_2015-6-10_5-55-18.png
  4. avreporter

    avreporter Administrator Staff Member

    upload_2015-6-10_5-57-9.png

    We can open this list by double clicking on "Template Devices" on the left side. Devices contain the following properties:

    · Template Device Name: the name of the device
    · Device Type: the type or communication standard of the device (for example MODBus Device)
    · Template Screen File Name: The path of the Template Screen file, which is displayed within AVRWebpublisher. It is possible to set up different looking Template Screen for each of the device. Template files are generally stored within the User-folders of inetpub\wwwroot\AVRWebpublisher.
    · Icon: Icons are small pictures, appearing next to the devices name in the list.
    · Image: We can select the image file, which we want to utilize in our Webpublisher template screen.
    · Block Read: Maximum number of registers read from a device per request.
    · Description: Description for the device.
    · Modified Time: Last date-time when the device has been modified.
    · Modified User Name: The person's username who modified the device.
  5. avreporter

    avreporter Administrator Staff Member

    Next step, add registers to device driver (It is possible to download register list from Deive's Manufacturer website):

    upload_2015-6-10_6-1-2.png
    Last edited: Jun 10, 2015
  6. avreporter

    avreporter Administrator Staff Member

    upload_2015-6-10_6-6-7.png

    This list contains all the quantities utilized in our devices, regardless of quantity or device type. Quantities have the following properties:
    · Template Device: The name of the device which contains the quantity.
    · Quantity: The name of the quantity.
    · Register Type: The type of the register where we read the data from. Most of the time "Holding Registers" should be selected here.
    · DataType: Data Types define how the digital data is read from the device registers. This list contains all the industry standard data-reading methods, and support reading data from one or multiple registers.
    · Register: The start-address of the register where the data is read from.
    · Bit: Register Bit.
    · Multiplier: Multiplies the read-value with a decimal number.
    · Mask: Allows digital-masking on the register value.
    · Offset: Offset on the digital values of the register.
    · Scale Type: Scaling can be applied on the register values here.
    · Scale Register: Scale Multiplier after the scaling has been applied.
    · R/W: The registers are readable and writeable.
    · Logged: Allows the read-value to be logged.
    · LogType: Select the appropriate LogType to set the proper data logging density, time shift, etc...
    · LifeCycle: Select the appropriate LifeCycle to set the lifecycle of the read data.
    · Min/Max Reset: Realtime Minimum-Maximum Reset Type.
    · Simulated: Enables to simulate values for the quantity. Depending on the Simulation Type, it is possible to log random values when there is no communication with the quantity. This can be a very useful tool to create demo systems.
    · Simulated Value Min: the minimum limit for the simulated value calculation.
    · Simulated Value Max: maximum limit for the simulated value calculation.
    · Simulation Type: The simulated values can be generated in ascending, descending style, or can be a random value between the limits
    · Measure Error: Enables measurement errors.
    · Error Value: The value of the measurement error.
    · Measurechange: Enables error in case of measurement device changing.
    · Error Change Value: Errorvalue of measurement device changing.
    · Threshold: Enables threshold for the value from the device after it has been read (and applied all previous calculations on value) . If the threshold is exceeded, the system will generate an alarm.
    · Threshold Min: Minimum limit of the threshold.
    · Threshold Max: Maximum limit of the threshold.
    · Description: Description for the Quantity.
  7. avreporter

    avreporter Administrator Staff Member

    After the device driver creation, It is possible to start communication with field device:

    upload_2015-6-10_6-14-57.png
  8. avreporter

    avreporter Administrator Staff Member

Share This Page