Skip to content

Commit

Permalink
change name to ThorlabsPM100
Browse files Browse the repository at this point in the history
  • Loading branch information
dschick committed Jun 11, 2020
1 parent ec8b8ba commit 92ee496
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# pytango-thorlabs_pm
# pytango-ThorlabsPM100

# Installation
install Thorlabs pm100 package before use the Tango-ds: pip install ThorlabsPM100
install Thorlabs PM100 package from PyPi.org
`pip3 install ThorlabsPM100`
6 changes: 2 additions & 4 deletions PM100.py → ThorlabsPM100.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from tango import AttrQuality, AttrWriteType, DispLevel, DevState, DebugIt
from tango.server import Device, attribute, command, pipe, device_property

class PM100(Device):
class ThorlabsPM100(Device):

wavelength = attribute(label="Wavelength (nm)", dtype=float,
display_level=DispLevel.OPERATOR,
Expand Down Expand Up @@ -35,6 +35,4 @@ def read_power(self):


if __name__ == "__main__":
PM100.run_server()


ThorlabsPM100.run_server()

0 comments on commit 92ee496

Please sign in to comment.