New Focus Picomotor 8742 example

Version 1.0.0.0 (1.33 KB) by astange
Send commands to picomotor 8742 controller
241 Downloads
Updated 3 Apr 2018

View License

Send and receive commands from the New Focus 8742 Picomotor driver by using the UsbDllWrap.DLL library. The code makes a USB object instance using the System.Activator class and passing it a Newport.USBComm.USB object. Then you can communicate with the 8742 by writing and querying normal serial commands.
The included function is pretty bare bones and doesn't return any instrument errors or close the connection afterwards. It's more of a starting point!

Cite As

astange (2024). New Focus Picomotor 8742 example (https://www.mathworks.com/matlabcentral/fileexchange/66733-new-focus-picomotor-8742-example), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Data Type Conversion in Help Center and MATLAB Answers
Acknowledgements

Inspired by: Newport serial device communcation

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0