Thorlabs / Motion_Control_Examples

Software examples for Thorlabs motion control products (e.g. T-Cube, K-Cube, and benchtop brushless, DC, stepper, and Piezo motor controllers)
MIT License
71 stars 28 forks source link

Interfacing BBD302 controller #44

Closed MassiliaHamdani closed 6 months ago

MassiliaHamdani commented 7 months ago

When I use the python code "bbd_pythonnet.py" to interface the BBD302 controller, I get the following error message:

C:\Users\massi_1xn8v1g\PycharmProjects\pythonProject\venv9\Scripts\python.exe C:\Users\massi_1xn8v1g\PycharmProjects\pythonProject\main_xy_stage_thorlabsLib.py BBD30X Motor Channel Device settings not initialized à Thorlabs.MotionControl.GenericMotorCLI.AdvancedMotor.GenericAdvancedMotorCLI.VerifyMotorSettings(Int32 functionDepth) à Thorlabs.MotionControl.GenericMotorCLI.AdvancedMotor.GenericAdvancedMotorCLI.GetHomingParams()

Process finished with exit code 0

What could this be due to?

Thank you very much for the help

Doneill-Thorlabs commented 6 months ago

There are a few potential causes of this both hardware and software. The first thing I would try is opening it in Kinesis to confirm it will connect and initialise in that and possibly lengthening the time in the channel.WaitForSettingsInitialized command. If this does not work please do not hesitate to reach out to your local tech support team.