Skip to content

Python code and examples to control the Optec IFW, IFW2 and HSFW Filter Wheels

License

Notifications You must be signed in to change notification settings

OptecInc/fw-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optec FW Python classes

These are Python classes to control the Optec HSFW (hsfw.py) and the IFW/IFW2 (ifw.py). A sample use of the classes is found in fw_test.py. The common functions are identical for all models of FilterWheel.

The fw_test demo works with both the HSFW and IFW. Be sure to comment out the model that you do not want to test. There are comments in the example and docstrings in the classes.

The IFW / IFW2 uses serial communication and requires pyserial. Make sure that the user has permission to use Serial Ports if running on linux.

The HSFW uses USB HID and requires the hidapi library. Make sure that the user has permission to access the USB device. A sample Udev rules file can be found here (https://github.com/OptecInc/fw-development).

About

Python code and examples to control the Optec IFW, IFW2 and HSFW Filter Wheels

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages