Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bliss bliss
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 546
    • Issues 546
    • List
    • Boards
    • Service Desk
    • Milestones
  • Jira
    • Jira
  • Merge requests 146
    • Merge requests 146
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • BlissBliss
  • blissbliss
  • Issues
  • #1599
Closed
Open
Issue created Apr 22, 2020 by Lucio Martinelli@lmartine

is_moving property of motor Group

I observed a strange behavior with the .is_moving property of a motor group. If I move one of the motors of the group with the command move, then the property "is_moving" remains False, while the group status is MOVING. When using the .move method of the motor group everything is fine.

Is this behavior the one intended for .is_moving?



                      |__) |   | /__` /__`                                                               
                      |__) |__ | .__/ .__/                                                               
                                                                                                         
                                                                                                         
Welcome to BLISS version 1.3.0 running on pclucio (in bliss Conda environment)                           
Copyright (c) 2015-2020 Beamline Control Unit, ESRF                                            
-  
                                                        
INS2 [36]: from bliss.common.motor_group import Group                                                     
INS2 [37]: def test():                                                                                   
      ...:     group = Group(omega,alpha)                                                                
      ...:     move(omega,10,wait=False,relative=True)                                                   
      ...:     print(f'group.state = {group.state}')                                                     
      ...:     print(f'group.is_moving = {group.is_moving}')                                             
      ...:     print(f'omega.is_moving = {omega.is_moving}\n\n')                                         
      ...:     while omega.is_moving : sleep(0.1)                                                        
      ...:     group.move(omega, 10, wait=False, relative=True)                                          
      ...:     print(f'group.state = {group.state}')                                                     
      ...:     print(f'group.is_moving = {group.is_moving}')                                             
      ...:     print(f'omega.is_moving = {omega.is_moving}')
                                      
INS2 [38]: test()                                                                                        
Moving omega from 20 to 30                                                                               
group.state = MOVING (Axis is MOVING)                                                                    
group.is_moving = False                                                                                  
omega.is_moving = True                                                                                   
                                                                                                         
                                                                                                         
Moving omega from 30 to 40                                                                               
group.state = MOVING (Axis is MOVING)                                                                    
group.is_moving = True                                                                                   
omega.is_moving = True
Edited Apr 22, 2020 by Linus Pithan
Assignee
Assign to
Time tracking