ulfsri / pyOMRON

Python API for acquisition and control of OMRON G3PW Power Controller
https://ulfsri.github.io/pyOMRON/
MIT License
0 stars 0 forks source link

Add function for controller attribute read #80

Closed GraysonBellamy closed 6 months ago

GraysonBellamy commented 7 months ago

🚀 Feature Request

Add a function for calling controller attribute read (see manual). This gets device info so we should probably also call during new_device and pass and store in _dev_info variable like we do for the other devices.

🔈 Motivation

Additional functionality.

🛰 Alternatives

📎 Additional context

GraysonBellamy commented 6 months ago

Added function, still need to add to new_device and store in class

GraysonBellamy commented 6 months ago

It doesn't really seem to store anything relevant so I just made it assign it to the variable when the function is called. It could be used to positively identify the device but I'll just leave it be for now