A helper class to control a generic FilterWheel using Serial communication.
- Place the script
FilterWheel.min the ScanImage directory under+dabs/+generic/. - Edit the script and replace all strings
COM7with the appropriate COM port number of the filter wheel. - In the Hardware Configuration of ScanImage, add a UserButtons Widget.
- Add a button in the UserButtons Widget for every filter wheel position desired and enter the function
dabs.generic.FilterWheel.Go1(replaceGo1withGo2...Go6to match the desired position). - Done. Save the configuration.
If there are any error messages when pressing the button, then most likely you need to try another COM port (step 2).