ringtirf
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ringtirf [2024/01/25 19:03] – add startup section (devices discovery, plogic settings) brandon | ringtirf [2025/06/24 13:41] (current) – [Operation] add more context brandon | ||
|---|---|---|---|
| Line 5: | Line 5: | ||
| This plugin comes with the latest nightly build of [[https:// | This plugin comes with the latest nightly build of [[https:// | ||
| - | ==== Requirements: ==== | + | ==== Requirements ==== |
| *'' | *'' | ||
| *'' | *'' | ||
| - | *'' | + | *'' |
| *'' | *'' | ||
| If your '' | If your '' | ||
| - | ==== Startup ==== | + | ==== Plugin |
| - | When the plugin is first opened, it calls a method that sets up the PLogic card with the correct settings to trigger the camera on BNC1. | + | When the plugin is first opened a dialog box will ask you to send settings to the PLogic card, click ''" |
| + | |||
| + | There is a button on the scanner tab to send the PLogic program settings in case you click ''" | ||
| This method sets the PLogic device ''" | This method sets the PLogic device ''" | ||
| - | All of the devices are discovered when the plugin is first opened: | + | Devices |
| - | + | ||
| - | The devices | + | |
| - ''" | - ''" | ||
| - ''" | - ''" | ||
| + | |||
| + | The camera trigger output BNC is determined by the ''" | ||
| + | |||
| + | ^PLogicMode Property^Output BNC^ | ||
| + | | ''" | ||
| + | | ''" | ||
| + | | ''" | ||
| + | | ''" | ||
| + | |||
| + | ==== Operation ==== | ||
| + | |||
| + | The scanner sweeps the laser beam in a circle around the sample at a fixed rate in hertz. | ||
| + | |||
| + | The PLogic device listens to the scanner and outputs a TTL pulse at the completion of each circle. | ||
| + | |||
| + | The ''" | ||
| + | |||
| + | The scanner laser beam should sweep through a single circle for each camera exposure period in milliseconds. | ||
| + | |||
| + | Convert from milliseconds to hertz, the expression '' | ||
| + | |||
| + | For example, if we use an exposure of 20 milliseconds, | ||
| + | |||
| + | There is one missing variable: " | ||
| + | |||
| + | This changes the computation to: '' | ||
| + | |||
| + | Note: increasing " | ||
| ==== Acquisition Scripts ==== | ==== Acquisition Scripts ==== | ||
| - | You can write Beanshell scripts that fire before and after an acquisition. You can write a script that turns the laser on, and one that turns the laser off. You can send serial commands through Beanshell, which can help you get around a lack of device adapter support. If there is a device adapter you can use '' | + | You can write Beanshell scripts that run before and after an acquisition. You can write a script that turns the laser on, and one that turns the laser off. You can send serial commands through Beanshell, which can help you get around a lack of device adapter support. If there is a device adapter you can use '' |
| Because Beanshell scripts run independently of the acquisition thread, after the startup script is run, the acquisition thread sleeps for the user specified delay in milliseconds to ensure that it can make it to the end of the script before starting the acquisition. You can see an example of measuring the script execution time in the serial command example. | Because Beanshell scripts run independently of the acquisition thread, after the startup script is run, the acquisition thread sleeps for the user specified delay in milliseconds to ensure that it can make it to the end of the script before starting the acquisition. You can see an example of measuring the script execution time in the serial command example. | ||
| Line 121: | Line 149: | ||
| You can run an acquisition to test various fast circles radius parameters. Calibration start is the starting fast circles radius, calibration increment is how much the radius increases per image, and calibration images is the number of images to take. Once you decide on the settings, press the '' | You can run an acquisition to test various fast circles radius parameters. Calibration start is the starting fast circles radius, calibration increment is how much the radius increases per image, and calibration images is the number of images to take. Once you decide on the settings, press the '' | ||
| + | - Setup | ||
| + | - Set the camera trigger mode to '' | ||
| + | - Set the scanner ''" | ||
| + | - Set the scanner ''" | ||
| + | - Set the scanner ''" | ||
| + | - Calibration Loop | ||
| + | - Increase scanner ''" | ||
| + | - Set the scanner ''" | ||
| + | - Snap image with imaging camera | ||
| + | - Set the scanner ''" | ||
| + | - Finish | ||
| + | - Set the scanner ''" | ||
| + | - Set the scanner ''" | ||
| + | - Set the camera trigger mode to '' | ||
| + | - Restore the original ''" | ||
| + | |||
| + | ===== Plugin Interface ===== | ||
| - | ===== Scanner Tab ===== | + | ==== Scanner Tab ==== |
| {{: | {{: | ||
| Line 128: | Line 173: | ||
| Scanner Control | Scanner Control | ||
| - | **Fast Circles Asymmetry: | + | **Fast Circles Asymmetry: |
| + | Reduces the circularity of the scanner beam. The default value is 1. | ||
| - | **Fast Circles Radius:** set the scanner ''" | + | **Fast Circles Radius:** set the scanner ''" |
| + | This value is set in degrees. | ||
| - | **Number of Circles:** set the number of circles and then set ''" | + | **Number of Circles:** set the number of circles |
| + | Only used if you want to sweep multiple circles of the scanner beam around the sample per camera exposure period. \\ | ||
| + | The default value is 1. | ||
| **Beam On:** toggle the scanner ''" | **Beam On:** toggle the scanner ''" | ||
| Line 139: | Line 188: | ||
| **Fast Circles On:** toggle the scanner ''" | **Fast Circles On:** toggle the scanner ''" | ||
| - | Enable or disable | + | Enable or disable fast circles mode. Toggles between circular and standard scanner beam. |
| **Set Fast Circles Hz:** set the scanner ''" | **Set Fast Circles Hz:** set the scanner ''" | ||
| - | '' | + | '' |
| Computes the fast circles rate in hertz based on the camera exposure. \\ | Computes the fast circles rate in hertz based on the camera exposure. \\ | ||
| - | **Scanner H:** the scanner beam H axis position. | + | **Scanner H:** the scanner beam H axis position, changing this value performs an absolute move. |
| - | **Scanner I:** the scanner beam I axis position. | + | **Scanner I:** the scanner beam I axis position, changing this value performs an absolute move. |
| Fast Circles Radius Calibration | Fast Circles Radius Calibration | ||
| Line 161: | Line 210: | ||
| Other | Other | ||
| - | **Save to Flash:** save the scanner settings, this is equivalent to setting the ''" | + | **Save |
| - | ===== Datastore Tab ===== | + | ==== Datastore Tab ==== |
| {{: | {{: | ||
| Line 185: | Line 234: | ||
| **Script Delay [ms}:** the time in milliseconds to delay after running the startup script | **Script Delay [ms}:** the time in milliseconds to delay after running the startup script | ||
| - | ===== Main Window | + | ==== Main Window ==== |
| **Start Acquisition: | **Start Acquisition: | ||
| Line 192: | Line 241: | ||
| - Set the camera trigger mode to '' | - Set the camera trigger mode to '' | ||
| - Set the scanner ''" | - Set the scanner ''" | ||
| - | - Set the scanner ''" | + | - Set the scanner ''" |
| - Set the scanner ''" | - Set the scanner ''" | ||
| - Run Acquisition | - Run Acquisition | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
ringtirf.1706227425.txt.gz · Last modified: by brandon
