# How to write a OPC-UA Serial drive and test it

**URL:** <https://forum.inductiveautomation.com/t/how-to-write-a-opc-ua-serial-drive-and-test-it/3179>\
**Category:** Module Development\
**Created:** [August 15, 2011, 7:42am UTC](https://forum.inductiveautomation.com/t/how-to-write-a-opc-ua-serial-drive-and-test-it/3179 "2011-08-15T07:42:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![weng](https://avatars.discourse-cdn.com/v4/letter/w/bbce88/32.png) [@weng](https://forum.inductiveautomation.com/u/weng)\
**Post date:** [August 15, 2011, 7:42am UTC](https://forum.inductiveautomation.com/t/how-to-write-a-opc-ua-serial-drive-and-test-it/3179/1 "2011-08-15T07:42:44Z")

</div>

I just want to see how to write a OPC-UA drive,so if there is a program that can run,I will see the sourse code to see how it works , but when I test the SerialDisplay in example by Add the devise ,there is a text field let me fill :¿SerialDisplayDriver.Categories.SerialPortCategory.Name? how can I do?

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/bf50aa395caa795ef2924d1895078727cd6bcb01.jpg)

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [August 15, 2011, 3:47pm UTC](https://forum.inductiveautomation.com/t/how-to-write-a-opc-ua-serial-drive-and-test-it/3179/2 "2011-08-15T15:47:58Z")

</div>

The SerialDisplayDriver.properties file is supposed to have two entries in it that provide the text for that property’s display name and description, but it doesn’t for some reason.

The entries would look like something like this:

```auto
Properties.SerialPortProperty.DisplayName=Serial Port
Properties.SerialPortProperty.Description=The serial port the display is connected to.
```

This is because SerialPortProperty extends AbstractDriverProperty which has javadocs explaining the format it uses and which properties file it looks in.
