TSequencer.GetStatus
Previous  Top  Next

GetStatus()
Get the status of a Sequencer.

Comments
The status is a string and can have three states: 'Running', 'Stopped', 'Deleted'.

Example
Query the state from the Sequencer from the above example:

if oMySeq.GetStatus() == 'Running':
  print 'The sequencer is running'

elif oMySeq.GetStatus() == 'Stopped':
 print 'The sequencer is stopped'

else:
  print 'The sequencer is deleted'