User Tools

Site Tools

한국어

logicpython:cubloc_api:stepstat

This is an old revision of the document!


StepStat

Return how many pulses have been generated by the most recent StepPulse or StepAccel command on the channel.

Syntax

from cubloc import StepStat
 
StepStat(channel: int)

Parameters

  • channel: StepPulse channel number (0 or 1).

Return Value

Return how many pulses have been generated by the most recent StepPulse or StepAccel command on the channel.

Exceptions

Example

from cubloc import StepStat
 
# Example usage
result = StepStat(0)
print(result)
logicpython/cubloc_api/stepstat.1775786799.txt.gz · Last modified: by 127.0.0.1