Skip to content

BPC303 Closedloop switching in Python #74

@TM0809

Description

@TM0809

Hi,
I have been trying to control the BPC303 piezo controller via a python script in closed loop and am having some challenges. Here are the issues:

  1. Manual recommends setting the position sensor value to Zero by pressing the 'Zero' button in the GUI. Is the method for this operation channel.SetZero()? I noticed that the LED flashes on the display indicating that the sensor is zeroing when I run this script. Is there a command/method that can help me with figuring out whether the zeroing process is complete or not? This way I can write a wait function till this is complete
  2. I notice that on the display after zeroing, the position mode LED switches to 'close loop'. However, when I output the mode from the script (channel.GetPositionControlMode()), it indicates open loop. Is there a reason for this?
  3. Following the zeroing, when I try to change the position control mode to close loop and output the mode after a few seconds, it still shows open loop. Can you please let me know the reason for this?

At this point, I am unable to determine from the code whether the stage is in closed loop or open loop, which is not ideal. Can you please help me with these issues? I am attaching an image of my notebook output. Than you

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions