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 20:04] – add operation section 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 ==== |
| *'' | *'' | ||
| *'' | *'' | ||
| - | *'' | + | *'' |
| *'' | *'' | ||
| Line 15: | Line 15: | ||
| ==== Plugin Startup ==== | ==== Plugin Startup ==== | ||
| - | 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 ==== | ==== Operation ==== | ||
| Line 33: | Line 41: | ||
| The ''" | The ''" | ||
| - | The scanner should sweep through a single circle for each camera exposure period. | + | The scanner |
| - | The expression '' | + | Convert from milliseconds to hertz, the expression '' |
| - | For example, if we want an exposure | + | For example, if we use an exposure of 20 milliseconds, we need to determine how many circles per second: '' |
| There is one missing variable: " | There is one missing variable: " | ||
| This changes the computation to: '' | 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 139: | 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 185: | Line 212: | ||
| **Save Settings to Flash:** save the scanner settings, this is equivalent to setting the ''" | **Save Settings to Flash:** save the scanner settings, this is equivalent to setting the ''" | ||
| - | ===== Datastore Tab ===== | + | ==== Datastore Tab ==== |
| {{: | {{: | ||
| Line 207: | 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: | ||
Address: 29391 W Enid Rd. Eugene, OR 97402, USA | Phone: +1 (541) 461-8181
ringtirf.1706231055.txt.gz · Last modified: by brandon
