New Focus Picomotor 8742 example

Send commands to picomotor 8742 controller

You are now following this Submission

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 (2026). New Focus Picomotor 8742 example (https://www.mathworks.com/matlabcentral/fileexchange/66733-new-focus-picomotor-8742-example), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: Newport serial device communcation

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0