unhelpfull error message for ct and timescan
In case you ever type by mistake ct(COUNTER_NAME)
instead of `ct(COUNT_TIME,COUTER_NAME) you will see an error message that is not self explaining:
TEST_SESSION [3]: ct(diode)
!!! === TypeError: unsupported operand type(s) for *: 'int' and 'SimulationDiodeSamplingCounter' === !!! ( for more details type cmd 'last_error' )
same is true for timescan.
should we add an assert checking the good number of arguments?
e.g. ascan fails in a better way:
TEST_SESSION [5]: ascan(m0)
!!! === TypeError: ascan() missing 4 required positional arguments: 'start', 'stop', 'npoints', and 'count_time' === !!! ( for more details type cmd 'last_error' )